Gentoo Archives: gentoo-user

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk
Date: Mon, 22 May 2006 18:39:27
Message-Id: 1148322458.31173.0.camel@neuromancer.home.net
In Reply to: Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk by Alexander Skwar
1 On Mon, 2006-05-22 at 16:28 +0200, Alexander Skwar wrote:
2 > Ow Mun Heng wrote:
3 >
4 > > Did try that.. it keeps complaining
5 > >
6 > > vgreduce storage /dev/sdb1
7 > > Physical volume "/dev/sdb1" still in use
8 > >
9 > > I have no idea what/who is using it. fuser/lsof etc doesn't show up
10 > > anything
11 >
12 > This means, that there are still used Physical Extents (PEs) on
13 > this PV. A PE is used, if it is "referenced" by a Logical Volume (LV).
14 >
15 > So - you'll need to move all the LVs off of that PV. To do so, use
16 > pvmove.
17
18 I've just created a test scenerio using a test box (under vmware) and
19 for some reason, this one can't get dm-mirror.
20
21 Where can I get dm-mirror?
22
23 For the original box, as I mentioned, I don't have any free PE to move
24 the existing data to. As such, it won't let me pvmove anything.
25
26 (after some trouble, I managed to reduce/remove the physical disk - Thanks)
27
28 BTW, how do I remove _all_ physical volumes? eg: start out clean?
29
30 --
31 Ow Mun Heng <Ow.Mun.Heng@×××.com>
32
33 --
34 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk Neil Bothwick <neil@××××××××××.uk>
Re: [gentoo-user] LVM - Removing a Bad Disk w/o a new disk Alexander Skwar <listen@×××××××××××××××.name>