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

Re: [linux-lvm] xfs and snapshots



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
kernel.

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

cheers.

-- 
Nathan


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