[linux-lvm] Removing a physical volume.

lembark at wrkhors.com lembark at wrkhors.com
Fri Dec 28 15:55:02 UTC 2001

-- Anders Widman <andewid at tnonline.net> on 12/28/01 22:27:43 +0100

> Hello everyone!
> I tried to look in various help-files and FAQ's but did not find a suitable
> guide. I have a LVM system with a few disks, and everything works fine. Now I
> need to remove a physical disk (to put somewhere else, in another  machine).
> This is my current setup:
> 14 physical disks in one logical volume (share) formated with reiserfs, in
> one volumegroup (server). There are no free physical extents, though there
> are about 150GB free space in the filesystem.
> I want to remove one physical disk and have all data moved over to the
> remaining disks.

To shuffle space of of a PV create new LV's that don't use
the storage on it and copy the data from LV's that do use
the PV onto the new LV's. If you don't have sufficient 
storage then use an external device (e.g., tape) or a 
raw LV as a temp storage device.

Steven Lembark                              2930 W. Palmer
Workhorse Computing                      Chicago, IL 60647
                                           +1 800 762 1582

More information about the linux-lvm mailing list