[linux-lvm] Newbie VFS-lock question
Adrian Head
ahead at bigpond.net.au
Mon Aug 19 21:19:02 UTC 2002
Gday Greg,
On Tue, 20 Aug 2002 07:44, Greg Freemyer wrote:
> Hello all,
>
> I'm new to LVM, but I want to be able to use the snapshot feature with a
> XFS filesystem.
>
> I tried
>
> xfs_freeze -f
> lvcreate --snapshot
> xfs_freeze -u
>
> but it was not a reliable solution, and lvcreate would often lock up until
> I executed a xfs_freeze -u on another ssh session.
>
> Adrian Head recommended I use the VFS-lock patch instead of xfs_freeze to
> accomplish my goal of reliable snapshots.
>
> Since I'm new to LVM, I'm not sure what I need to do.
>
> I'm running SuSE 8.0 with there 2.4.18-231 kernel. This is based on the
> 2.4.19pre1aa1 kernel with some extra patches. They also have a test kernel
> based on 2.4.19aa1.
First is to issue a "lvm version" and please let me know of the results.
> Both have some level of LVM in them, but I don't know which specific
> version.
>
> Would either of these have the VFS-lock patch already included, or do I
> need to get the SRPM for one of the above, get the VFS-lock patch from
> somewhere and apply the patch?
Not sure - we'll have to work it out. The easiest way is to comment out the
xfs_freeze above and still run the script - if you are able to mount the
resulting snapshot then you most likely have the VFS-lock patch.
> If so, where do I get the patch?
More information about the linux-lvm
mailing list