All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <mbroz@redhat.com>
To: lvm-devel@redhat.com
Subject: Re: [PATCH] Fix handling of snapshots with virtual origin.
Date: Wed, 27 May 2009 13:30:00 +0200	[thread overview]
Message-ID: <4A1D2438.6070500@redhat.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0905270711490.29054@hs20-bc2-1.build.redhat.com>

Mikulas Patocka wrote:
> It fixes the problem, but here is another one:
> 
> [gerlinda:~]# rmmod dm_zero
> [gerlinda:~]# lvcreate -n vo -s --virtualoriginsize 64M -L 24M vg1
>   Can't expand LV vo_vorigin: zero target support missing from kernel?
>   Couldn't create virtual origin for LV vo

That's common problem for all target modules when missing, the automatic
module loading doesn't work and dm_zero is not loaded by default in RHEL btw.
(mirror and snapshpot is loaded in initrd).

> [gerlinda:~]# lvcreate -n vo -s --virtualoriginsize 64M -L 24M vg1
>   Internal error: Duplicate LV name vo_vorigin detected in vg1.
>   Couldn't create virtual origin for LV vo
>   Internal error: Duplicate LV name vo_vorigin detected in vg1.
>   Manual intervention may be required to remove abandoned LV(s) before 
> retrying.

hm, I'll check, probably another bug which was there since introduction of vorigin.

It is should fail more intelligently without residual LVs in metadata...

Milan



  reply	other threads:[~2009-05-27 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 18:07 [PATCH] Fix handling of snapshots with virtual origin Milan Broz
2009-05-27 11:22 ` Mikulas Patocka
2009-05-27 11:30   ` Milan Broz [this message]
2009-05-27 12:01     ` Mikulas Patocka
2009-05-27 12:38       ` [PATCH] More fixes for " Milan Broz

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=4A1D2438.6070500@redhat.com \
    --to=mbroz@redhat.com \
    --cc=lvm-devel@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.