linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "failed" vs "removed" or "locked-out" state and --incremental auto-re-adding
@ 2010-04-23 12:20 Christian Gatzemeier
  2010-04-23 14:46 ` Phillip Susi
  2010-04-26 22:28 ` "failed" vs "removed" or "locked-out" " Christian Gatzemeier
  0 siblings, 2 replies; 7+ messages in thread
From: Christian Gatzemeier @ 2010-04-23 12:20 UTC (permalink / raw)
  To: linux-raid


Hi all,

I hope you can help in sorting out the different states unused
devices can be in, and the commands used to change states.

It seems we don't have an obvious way to manually
remove a member from an array so that it does not get auto-assembled
later on (i.e. by udev/--incremental) without completely zeroing the
superblock or moving it into an own array. Maybe a --lock-out
option would make sense here? (Recognizable maybe by a superblock marking itself
as "removed"?)
Locking-out members would be handy to keep snapshots without the need to unplug
the drives to make sure they don't get re-added. And we would need such a
lock-out possibility if someone would like to implement automatically locking
out segments with conflicting changes/alternative versions (after incidences
when they are both connected).


Another thing is that trying to --remove without prior --failing gives a rather
unintuitive "device busy":
Is there a reason that --remove (and --lock-out)
shouldn't just automatically "fail" a device?
Or the other way around when would one want to
manually --fail a member without subsequently --removing it?

Kind Regards,
Christian


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

end of thread, other threads:[~2010-04-27 19:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 12:20 "failed" vs "removed" or "locked-out" state and --incremental auto-re-adding Christian Gatzemeier
2010-04-23 14:46 ` Phillip Susi
2010-04-26 22:28 ` "failed" vs "removed" or "locked-out" " Christian Gatzemeier
2010-04-26 23:15   ` Doug Ledford
2010-04-27 10:13     ` "failed" vs "released" and "locked-out" " Christian Gatzemeier
2010-04-27 15:45       ` Doug Ledford
2010-04-27 19:39         ` Christian Gatzemeier

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