Re: How to make lvm error handling robust?

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

 



rae l wrote:
> How to make lvm error handling robust?
> 
> Steps:
> 1. create pv,vg,lv on multiple disks, one group (sda,sdb,sdc), other
> groups (sdd, sde, ...);
> 2. unplug one disk (sda, one pv);
> 
> then all LVM broken, even other unrelated groups of lvm cannot work
> from then on,

Not been the case when I've encountered this situation. The affected VG
can only be activated in partial mode but all other VGs should continue
to operate just fine.

> all lvm commands report error and stops executing.
> 
> How to solve this?

Plan your storage better. If you're placing VGs on single disk devices
then you should use LVM2's redundancy features - by creating mirrored
LVs you would avoid a single disk becoming a single point of failure.

Alternately, address redundancy further down the stack by using hardware
or software RAID to add redundancy and fault tolerance to the storage
being managed by LVM2.

Regards,
Bryn.

_______________________________________________
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