[linux-lvm] xfs and snapshots

Nathan Scott nathans at sgi.com
Sun Mar 6 21:15:38 UTC 2005

On Fri, Mar 04, 2005 at 08:15:39PM -0500, Greg Freemyer wrote:
> Thanks to Nathan Scott, the new 2.6.11 kernel has a fix that should
> allow xfs_freeze to be called prior to the creating a snapshot.
> It is still not required, but it should no longer cause problems.

Actually, for 2.6 kernels you shouldn't do a xfs_freeze before doing
a snapshot - this will result in a deadlocked snapshot, since the
freeze holds locks the snapshot code needs.  In 2.6, the DM snapshot
code knows how to do an xfs_freeze-equivalent call from within the

We didn't find a clean way to resolve that issue yet, Christoph is
looking into it though.



More information about the linux-lvm mailing list