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

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



Hi ,
                  I have done as Mikulas said, and it is OK now..
                  My autoconf version seems to be low and I install the higher one, and it is OK.
                  Thank you. 
                 
Best regards,
Busby

 
2010/5/26 Mikulas Patocka <mpatocka redhat com>
On Wed, 26 May 2010, Busby wrote:

> 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

Hi

I think that you didn't run aclocal and autoconf before ./configure and
make. So the multisnapshot module wasn't compiled in.

Do make distclean, then aclocal, autoconf, ./configure, make

Mikulas

> 在 2010年5月24日 下午5:04,Busby <chaimvy gmail com>写道:
>
> > 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
> >
>


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