linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Multiple arrays out of devices belonging to single array
@ 2014-12-05  9:27 Michael Tokarev
  2014-12-05 11:17 ` NeilBrown
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2014-12-05  9:27 UTC (permalink / raw)
  To: linux-raid

Hello.

We in Debian have 2 rather similar bugreports which are somewhat old:
 http://bugs.debian.org/599352
 http://bugs.debian.org/694513
Last bugreport is against mdadm-3.2.5, so not THAT old.

Basically, it smells like there's a possibility for mdadm to assemble
more than one (degraded) array out of components of the same array.

So I wonder if mdadm or kernel have some protection of this situation
from happening.  Something like looking at already active/assembled
devices to see if the same UUID is already used before trying to
assemble another array.

It might be better done in kernel because this way the process might
be freee from races when two mdadm instances tries to do the work in
parallel.

Are these bugs for real?

Thanks,

/mjt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-12-05 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-05  9:27 Multiple arrays out of devices belonging to single array Michael Tokarev
2014-12-05 11:17 ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).