]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: spare devices are represented as single disk containers
authorDan Williams <dan.j.williams@intel.com>
Wed, 6 Aug 2008 16:09:25 +0000 (09:09 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 9 Aug 2008 20:37:54 +0000 (13:37 -0700)
This poses a small problem for the case of handling multiple raid1 arrays
across separate disk pairs i.e. 2 mirrors on 4 disks.  The option-ROM will
configure this as two containers.  We may need the capability for one
container to ask for an unused spare in another container.  For now spares
will just maintain the affinity established at assemble time.

To support this configuration spare devices must be allowed to be assembled
into the container even though the metadata indicates the disk belongs to a
different family.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>

No differences found