Curious about LVM PV failure and mitigation

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

 



I've been wondering for a while what happens if a drive fails that is
part of a VGroup (spanned across PV's, not Raid0), specifically in a
active VG. Does LVM continue working as though there was a large sector
failure? What happens if the first physical drive that the VG was
created on fails? Is the entire Volume lost?

I've hypothosized a mitigation method for the first physical drive
failing. I would create the VG on an SD card so that all of the metadata
would be stored there, and if a moving drive fails, it wouldn't take the
LVM with it. This would also an easy way to have a remote dd image of
any other important volume metadata (e.g. Luks). But before I do this,
I'd like some ideas on paramaters. Would turning on the write protect
lock cause any issues, after all PV's are added, to writing to the HDD
with EXT4? What would be an optimal SD size? I'm guessing 256MB would be
sufficient, but I don't want to worry about messing up EXT4's superblocks.

Thanks for the help.

_______________________________________________
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