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

[linux-lvm] Re: LVM writeable snapshot patch for use with XFS



I should add that all the code I posted as a patch last week for freezing
XFS for snapshotting is now incorporated into the XFS development tree.

One reason for Dale doing this is that an XFS filesystem contains a uuid
(in several places) which is checked by mount and compared against the
uuid of all mounted xfs filesystems on a machine. Duplicate uuids are
not allowed - this is for preventing two mounts of the same filesystem
via alternate hardware paths. The only way to fix this on linux is to
use an admin command to change the uuid of the snapshot.

Steve

> Here is a replacement for the writeable snapshot patch I posted earlier to
> these lists.  Its intended use is for changing the UUID on an XFS snapshot
> so the snapshot can be mounted at the same time as the original.  This patch
> is for beta 7 (the one I posted last week was beta 3) and doesn't have a bug
> the earlier patch did.
> 
> A patch for lvchange follows the lvm.c patch, as snapshots are still created
> read-only and must be changed to writable through lvchange.  This patch is
> against an older version, but still cleanly applies to beta7 for me.
> 
> Dale J. Stephenson
> Software Engineer
> Connex, A Western Digital Company
> steph connex com



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