LVM2 lvcreate multi snapshots and dm-devel patches
Hello all,
Which below dm-devel patch or patches should help to create multiple snapshots of LVM2 logical volume and which 2.6 kernel version should i use ?
ftp://sources.redhat.com/pub/dm/patches/2.6-unstable/editing-quilt/patches/
Thanks for all help
Regards
Hubert
----------------------------------------------------------------------
Moto TV w Internecie! >>> http://link.interia.pl/f18b7
Quoted 1 line · Hubert
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
Signature · 1 line
[email protected]