[dm-devel] how to load dm-multisnapshot [with LVM patch]
Busby
chaimvy at gmail.com
Thu May 27 01:38:45 UTC 2010
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 at 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 at 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 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/20100527/06236d58/attachment.htm>
More information about the dm-devel
mailing list