Removing a Bad disk from LVM w/o a new disk

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

 



Current situation is that I have a bad disk /dev/sdb1 in an existing lvm
partition. (sda1/sda4/sdb1)

I would like to remove it from the VG. (There are no free PE anywhere.
I've maxed it out.)

I've already reduced the existing VG to the size of sda1+sda4
partition. 

I would like to remove entirely the Physical Extents from the volume
group. It doesn't seem like there's a way to do this w/o putting another
disk inside? 

I'm sure that's not true. Doing a 

$vgreduce storage /dev/sdb1
Physical volume "/dev/sdb1" still in use

I have no idea what/who is using it. fuser/lsof etc doesn't show up
anything.

I actually don't much care about the data, I've already copied it
somewhere else. So, instead of just blowing up everything, I rather take
this as a learning experience.


-- 
Ow Mun Heng <Ow.Mun.Heng@wdc.com>

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux