[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] snapshots and filesystem freezing



Some filesystems, like xfs, have a "freeze" feature. There was a discussion on lkml about implementing it in ext3, too.

What is the relationship between a filesystem freeze and LVM snapshots?

As far as I understand, snapshotting a filesystem in any random timepoint can mean that the snapshotted fs will be inconsistent (i.e., may need fsck). "Freezing" the filesystem will flush all writes to the media, and a snapshotted fs should be consistent then (in theory; without an interface between filesystem freeze and LVM snapshot it does not guarantee that the operation is "atomic").

Am I correct?


--
Tomasz Chmielewski
http://blog.wpkg.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]