[lvm-devel] [PATCH] Never scan internal LVM devices.

Jonathan Brassow jbrassow at redhat.com
Thu Aug 5 19:05:36 UTC 2010


ACK. - many bugs are caused by this issue.

On Aug 4, 2010, at 10:51 AM, Petr Rockai wrote:

> Even if a PV was stacked in an LV, and this LV was composite (so it is
> using some internal LVs as its components), it is desirable that this
> *and only* this composite LV is seen by LVM as a PV. If the PV label  
> or
> MDA is propagated into the component LVs (such as mimages) and these  
> are
> found during a scan, this would lead to the PV being found multiple
> times which is certainly undesirable. Cf. the situation with MD
> component devices, which is analogous.

... and we have seen these cases when trying to stack VGs (e.g. a  
mirrored LV that forms the base of another VG).

  brassow




More information about the lvm-devel mailing list