[linux-lvm] LVM2 lvcreate multi snapshots and dm-devel patches
Alasdair G Kergon
agk at redhat.com
Mon Oct 3 14:51:09 UTC 2005
On Mon, Oct 03, 2005 at 04:33:28PM +0200, Hubert wrote:
> ftp://sources.redhat.com/pub/dm/patches/2.6-unstable/editing-quilt/patches/
dm-snapshot-metadata-reading-separation.patch
followed by:
dm-snapshot-load-metadata-on-creation.patch
[with any recent kernel]
These patches are meant to solve one of the problems: they mean that
the metadata for snapshots is set up when the snapshot is created
instead of the first time it is accessed.
However, if you apply them, you'll find that some LVM2 snapshot operations
are incomplete or hang and need prodding or finishing with dmsetup (eg with
a dmsetup resume or remove). This is because the order LVM2 does some
operations needs to be changed.
You should also apply dm-snapshot-chunksize-fix.patch - it stops
you choosing a chunk size that is too big and causes a crash.
(Validation has also been added to LVM2 in CVS to validate the
chunk size better.)
Alasdair
--
agk at redhat.com
More information about the linux-lvm
mailing list