[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] Total free space using added VGs and LVs



On Thu, 22 Oct 2009, Lou Arnold wrote:

> If the physical volume is still used you will have to migrate the data to
> another physical volume using pvmove. (But I have nothing to move and no
> pladce to move anything to.)

Apparently you *do* have stuff to move, hence why it is busy.  If you
have nowhere to move it to, then you can't remove the
physical volume.  (For that, you'll have to wait for quantum storage,
where storage space can be "borrowed" from the vacuum as long as it
is returned later.)

> Then use 'vgreduce' to remove the physical volume:
> # vgreduce my_volume_group /dev/hda1
> -- Result: The message says that the PV is busy.
> 
> No where does it say how to make it not busy.

It said you have to move all LE off the PV.  It is clear to me anyway.

> So now I have to figure out what to do to make the logical volume not busy
> and yet still let the computer operate. That last trial wasn't successful,
> and I really don't know where to start.

You can't make the logical volume not busy while it is mounted.  You can,
however, add another PV and use pvmove to move its extents to it.  That will
allow you to remove the original PV.

-- 
	      Stuart D. Gathman <stuart bmsi com>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]