[linux-lvm] XFS and snapshots [WAS: Re: Why the dramatic increase in filesystem performance when usingxfs????]
kclair at gmail.com
Tue Jan 25 17:36:45 UTC 2005
> xfs_freeze -f "$SCRATCH_MNT"
> [ $? != 0 ] && echo xfs_freeze -f "$SCRATCH_MNT" failed
> lvcreate --snapshot --size 1G --name scratch_snap "$VG/scratch"\
> > /dev/null 2>&1
I'm confused. I've gotten the impression from other posts to this
list that one should not use xfs_freeze before creating snapshots.
The reason being that xfs_freeze suspends the filesystem, and then
lvcreate will also attempt to suspend the filesystem...
More information about the linux-lvm