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

Miquel van Smoorenburg miquels at debian.org
Mon Aug 13 10:25:04 UTC 2012


Package: lvm2
Version: 2.02.95-4
Tags: patch wheezy sid
Severity: important

Currently, lvm automatically filters out mdraid devices. That is a
good thing, otherwise it could accidentally activate volume groups
on disks that are part of a mdraid array.

For quite some time now, the mdraid subsystem (mainly through mdadm)
supports more metadata formats than native mdraid only. These are
the 'imsm' (Intel Matrix Raid) and 'ddf' formats.

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).

Background: I have added support for installation on Intel Matrix raid (imsm)
arrays using mdadm to d-i, and I'll be sending patches to the debian-boot
list soon. Please consider this patch for inclusion in wheezy.

Changelog entry:

  * lvm already filters disks that have a mdraid signature, now also filter
    DDF and IMSM formatted disks as well - but only if MD is actually running.

Mike.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filter-md-ddf-imsi.patch
Type: text/x-diff
Size: 2294 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20120813/00f7576d/attachment.patch>


More information about the pkg-lvm-maintainers mailing list