Re: how to load dm-multisnapshot [with LVM patch]

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

 



Hi,
     I have debug the lvm2.02.64 (with the shared-snapshot patches).
     In the last email I mentioned the 'Cannot update volume group vg00 with unknown segments in it!'
     The debug mesg: " vg_has_unknown_segments  function: snapshot0 has unknown seg."
      I don't know when the snapshot0 has been created?why its segtype unkown?
     Hope for your help.
     Thank you.

 

Best regards,
Busby

在 2010年5月24日 下午5:04,Busby <chaimvy@xxxxxxxxx>写道:
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@new-host-34 ~]# pvcreate /dev/sd[bcdef]

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

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

[root@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@new-host-34 ~]# lvscan

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

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

[root@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@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


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux