* [linux-lvm] vgsplit needs lvs on source vg to be inactive
@ 2007-06-18 18:04 Richard van den Berg
0 siblings, 0 replies; only message in thread
From: Richard van den Berg @ 2007-06-18 18:04 UTC (permalink / raw)
To: linux-lvm
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-06-18 18:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-18 18:04 [linux-lvm] vgsplit needs lvs on source vg to be inactive Richard van den Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).