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

Re: [linux-lvm] How to make lvm error handling robust?



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.


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