Skip to contentSkip to conversation

xfs and snapshots

linux-lvm Greg Freemyer 2 participants 2 messages Mar 5, 2005 – Mar 6, 2005

lore
Share & tools
lore
#0 lore raw

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.

Greg

Signature · 1 line
Greg Freemyer
#1 lore raw
Quoted 4 lines · Greg Freemyer

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.

Signature · 1 line
Nathan