[dm-devel] how to load dm-multisnapshot [with LVM patch]

Busby chaimvy at gmail.com
Mon May 24 09:04:41 UTC 2010


Hi All,

I get the patches from:
Linux kernel 2.6.34 patch:
http://people.redhat.com/mpatocka/patches/kernel/new-snapshots/r19/

LVM2-2.02.64 patch:
http://people.redhat.com/msnitzer/patches/multisnap/lvm2/LVM2-2.02.64/



but when I used it, the segment type can not find, can anyone help me?



[root at new-host-34 ~]# pvcreate /dev/sd[bcdef]

[root at new-host-34 ~]# vgcreate vg00 /dev/sd[bcdef]

[root at new-host-34 ~]# lvcreate -L 100G -n lv_test /dev/vg00

[root at new-host-34 ~]# lvcreate -L 200G -c 256 --sharedstore  mikulas -s
/dev/vg00/lv_test

  *WARNING: Unrecognised segment type multisnapshot*

*  Cannot update volume group vg00 with unknown segments in it!*

[root at new-host-34 ~]# lvscan

ACTIVE         '/dev/vg00/lv_test' [100.00 GiB] inherit

  inactive          '/dev/vg00/lv_test-shared' [200.00 GiB] inherit

[root at new-host-34 ~]# lvcreate -s -n lv_test_ss1 /dev/vg00/lv_test

  *Unable to create new logical volume with no extents*





The dm modules in the system:



[root at new-host-34 LVM2.2.02.64]# lsmod |grep dm
dm_snapshot            25583  0
dm_store_daniel        11304  0
dm_store_mikulas       43265  0
dm_multisnapshot       20276  2 dm_store_daniel,dm_store_mikulas
dm_mirror              11564  0
dm_multipath           14594  0
scsi_dh                 5480  1 dm_multipath
dm_region_hash          8233  1 dm_mirror
dm_log                  8158  2 dm_mirror,dm_region_hash
dm_mod                 58855  9 dm_snapshot,*
dm_store_daniel,dm_store_mikulas,dm_multisnapshot*
,dm_mirror,dm_multipath,dm_log





        I just want to use the multisnap by LVM2 command. But I don't know
is there any document about HOW-TO?

        Thank you very much.







Best regards,

Busby
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20100524/f7c2d082/attachment.htm>


More information about the dm-devel mailing list