]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Assemble.c
imsm: add --update=uuid support
authorDan Williams <dan.j.williams@intel.com>
Wed, 14 Oct 2009 00:41:53 +0000 (17:41 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 14 Oct 2009 00:41:53 +0000 (17:41 -0700)
commit6e46bf344bf34a688696e240596f8259e328eea9
tree38563c669312f698e0e39ef048828e20e469f2ad
parent955e9ea1394662f097a88bb3d62c56ab50448597
imsm: add --update=uuid support

When disks have conflicting container memberships (same container ids
but incompatible member arrays) --update=uuid can be used to move
offenders to a new container id by changing 'orig_family_num'.

Note that this only supports random updates of the uuid as the actual
uuid is synthesized.  We also need to communicate the new
'orig_family_num' value to all disks involved in the update.  A new
field 'update_private' is added to struct mdinfo to allow this
information to be transmitted.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Assemble.c
mdadm.h
super-intel.c