All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Cc: daire.byrne@gmail.com, mpatocka <mpatocka@redhat.com>
Subject: Re: how to load dm-multisnapshot [with LVM patch]
Date: Wed, 26 May 2010 01:12:30 -0400	[thread overview]
Message-ID: <20100526051230.GC24702@redhat.com> (raw)
In-Reply-To: <AANLkTinNk5D7ojJyoBnHhMDfECB7eoYrnjQS4ptW3oVI@mail.gmail.com>

I'll retest and will share my findings later today (the 2.02.64 patches
on my website were refreshed from 2.02.63+ that was very close to the
final 2.02.64); but I didn't retest them at that time).

But I handed these 2.02.64 patches off to Mikulas and I have to believe
he'd have seen this issue when testing his further development.  To my
knowledge he hasn't.

Anyway, we'll see, but I've seen similar errors when I've created a
shared cow LV using a sandbox lvm2 build (not installed to the system).
And then the system's lvm2 didn't have multisnapshot support.  In that
situation you'll see the same type of unknown segment errors when
running the system's lvm2 commands.

Mike

On Tue, May 25 2010 at 11:52pm -0400,
Busby <chaimvy@gmail.com> 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
> 
> 在 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
> >

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

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

  reply	other threads:[~2010-05-26  5:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-24  9:04 how to load dm-multisnapshot [with LVM patch] Busby
2010-05-26  3:52 ` Busby
2010-05-26  5:12   ` Mike Snitzer [this message]
2010-05-26 11:50   ` Mikulas Patocka
2010-05-27  1:38     ` Busby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100526051230.GC24702@redhat.com \
    --to=snitzer@redhat.com \
    --cc=daire.byrne@gmail.com \
    --cc=dm-devel@redhat.com \
    --cc=mpatocka@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.