Re: Re: LVM2 on top of RAID1? (x86_64)

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

 



Kevin P. Fleming wrote:

Luca Berra wrote:

i still believe it would be better if lvm ignored md component devices completely.


In kernel 2.6 land this is easy to do as well (for everything, not just MD). When vgscan tries to open the device to read metadata, open it with O_EXCL. If any other kernel subsystem is currently using the device, then the open() will fail and vgscan can ignore the device.

this won't help if the device is not yet opened by md i posted a patch to this list that checks for an md superblock. i am pushing for consideration of this approach.

L.

_______________________________________________
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