how to remove HD from LVM on /

Markku Kolkka markkuk at tuubi.net
Tue Aug 14 16:52:31 UTC 2007


michael kirjoitti viestissään (lähetysaika tiistai, 14. elokuuta 
2007):
> Hi, I've just received a PC with 2 HDs with LVM. I wish to
> remove one of the HDs (/dev/sdb or /dev/sda???) from the LVM

You must shrink the / filesystem enough to fit it on one physical 
volume, see: 
http://forums.fedoraforum.org/showthread.php?t=154874
Next, use pvmove to clear all used extents off the physical 
volume you want to remove from LVM and then you can use 
vgreduce.

-- 
 Markku Kolkka
 markku.kolkka at iki.fi




More information about the users mailing list