[linux-lvm] Getting rid of a dying hard drive
Ron Johnson
ron.l.johnson at cox.net
Mon Jul 13 13:35:56 UTC 2009
Hi,
Does this thread do an adequate job of documenting the process of
removing a PV from an L?
http://ubuntuforums.org/showthread.php?t=449711
The problem is that sdb2 is the largest PV in my LV.
Is there a simpler way?
# pvscan
WARNING: Ignoring duplicate config node: filter (seeking filter)
PV /dev/sda1 VG main_huge_vg lvm2 [232.75 GB / 0 free]
PV /dev/sda2 VG main_huge_vg lvm2 [232.75 GB / 0 free]
PV /dev/sda3 VG main_huge_vg lvm2 [232.75 GB / 0 free]
PV /dev/sda4 VG main_huge_vg lvm2 [233.00 GB / 0 free]
PV /dev/sdc1 VG main_huge_vg lvm2 [232.75 GB / 0 free]
PV /dev/sdc2 VG main_huge_vg lvm2 [232.75 GB / 0 free]
PV /dev/sdc3 VG main_huge_vg lvm2 [232.88 GB / 0 free]
>>PV /dev/sdb2 VG main_huge_vg lvm2 [594.25 GB / 0 free]
PV /dev/sdd4 VG main_huge_vg lvm2 [529.00 GB / 0 free]
Total: 9 [2.69 TB] / in use: 9 [2.69 TB] / in no VG: 0 [0 ]
# df -m /data/big
Filesystem 1M-blocks Used Available Use% Mounted on
/dev/dm-0 2774711 680803 1952962 26% /data/big
As you can see, there's a whole lot of extra space on the LV.
Thanks.
--
Scooty Puff, Sr
The Doom-Bringer
More information about the linux-lvm
mailing list