Bug#684712: lvm2: automatically filter imsm and ddf formatted disks

Alasdair G Kergon agk at redhat.com
Tue Aug 14 21:38:59 UTC 2012


On Mon, Aug 13, 2012 at 12:25:04PM +0200, Miquel van Smoorenburg wrote:
> This patch makes sure that disks with signatures of one of these
> metadata formats are also filtered out. To minimize the chance of
> regressions, it only does this if md is actually running (i.e.
> /proc/mdstat is present).
 
Why is /proc/mdstat relevant?

Do the signatures not appear without it?
Otherwise that check shouldn't be added.

And I'm not sure that it's exclusively 'md' (dmraid?) so the code might 
need to go in a function with a different name.

Alasdair



More information about the pkg-lvm-maintainers mailing list