From: Richard van den Berg <richard@vdberg.org>
To: linux-lvm@redhat.com
Subject: [linux-lvm] vgsplit needs lvs on source vg to be inactive
Date: Mon, 18 Jun 2007 20:04:56 +0200 [thread overview]
Message-ID: <4676C948.5020602@vdberg.org> (raw)
Today I decided to unmirror part of my lvm2 disks. I started off with
vg00 on top of md1 (raid1). I wanted end up with vg00 on top of md2
(raid1) and vg01 on top of sda3 and sdb3 (concatenation). I've come all
the way to have vg00 on top off md2 and sdb3. The last step would be to
split off sda3 into vg01 and add sda3 to it.
The error I am getting is:
# vgsplit -v vg00 vg01 /dev/sdb3
Checking for volume group "vg00"
Checking for volume group "vg01"
Wiping cache of LVM-capable devices
Logical volumes in "vg00" must be inactive
I did deactivate (lvchange) the lv that is using /dev/sdb3. But that
doesn't seem enough. Does vgsplit actually need ALL lvs to be inactive?
This makes little sense to me since the other lvs are not affected at
all by vgsplit.
I've found
http://www.redhat.com/archives/fedora-list/2007-January/msg03485.html
which suggests that vgsplit can only be done with all lvs inactive. This
would be mean booting from a cdrom for me as my root filesystem is on
vg00. So far I have been doing all this online, and I'd like to keep it
that way.
Is this at all possible? Can someone confirm that vgsplit needs all lvs
on the source vg to be inactive?
Sincerely,
Richard van den Berg
reply other threads:[~2007-06-18 18:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4676C948.5020602@vdberg.org \
--to=richard@vdberg.org \
--cc=linux-lvm@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.