[PATCH] Do not assemble a duplicate of a running array

martin f krafft madduck at debian.org
Mon Jul 11 04:57:11 UTC 2011


also sprach Yury Polyanskiy <yp at mit.edu> [2011.07.11.0304 +0200]:
> * startup proceeds to execute /etc/init.d/mdadm-raid which runs "mdadm
> --assemble --scan".
> * mdadm --assemble --scan discovers the description of /dev/md/data in
> mdadm.conf and finds a lonely /dev/sda with a matching UUID; /dev/md126 is
> created out of a single /dev/sda

Why would it create a second MD with the same UUID as an existing
one? I have never seen this behaviour in 7 years of mdadm
development. Which version are you running?

I appreciate your work on the patch. It seems a bit large. Do you
need to factor our __load_superblock? Or would it be possible to
create a minimal version?

Thanks,

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
"i believe that the moment is near when by a procedure
 of active paranoiac thought, it will be possible
 to systematise confusion and contribute to
 the total discrediting of the world of reality."
                                                      -- salvador dali
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1124 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20110711/ce2a4531/attachment-0001.pgp>


More information about the pkg-mdadm-devel mailing list