[Linux-cluster] cleaning up LVM cluster after disk loss

Digimer linux at alteeve.com
Fri Feb 24 02:05:53 UTC 2012


On 02/23/2012 08:53 PM, Terry wrote:
> We had a disk loss where we lost 4 clustered volumes.  Any commands I
> run give me errors similar to:
> /dev/vg_data01h/lv_data01h: read failed after 0 of 4096 at
> 6597069701120: Input/output erro
> 
> How do I just clean all of the broken pv's, lv's, and vg's out and start
> fresh?  I have tried removing and it reports reports not found.
> 
> Thanks!

I make no claim to expertise, but I *think* you want:

dmsetup remove /dev/vg_data01h/lv_data01h

I use this for cleaning up VG/LVs when I kick out a USB based PV by
accident.

-- 
Digimer
E-Mail:              digimer at alteeve.com
Papers and Projects: https://alteeve.com




More information about the Linux-cluster mailing list