linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Completely discontinuing an array
@ 2006-12-21 19:06 Bill Davidsen
  0 siblings, 0 replies; only message in thread
From: Bill Davidsen @ 2006-12-21 19:06 UTC (permalink / raw)
  To: Linux Raid List

Since I have been doing a lot of array creation related to the RAID-5 
performance thread, I want to make the array "go away" so nothing tries 
to start, stop, or otherwise use the array. I tried setting the 
superblock to zero, but that results in boot warnings for every 
partition. I can change the partition type to something other than RAID, 
but that rapidly gets ugly since I really want some partitions around 
for ad-hoc testing.

Is there something which will stop an array and dismember it? Like:
  mdadm -S --nuke /dev/md5
or similar, to stop the array and mark it as not in use so boot won't 
try doing anything with it.

If there isn't such a feature, or an easy way to get the desired end 
result, could you consider that a minor feature request? Preferably an 
option to stopping the array, perhaps a magic superblock other than 
zero, to tell the boot "I know it's dead, deal with it."

-- 
bill davidsen <davidsen@tmr.com>
  CTO TMR Associates, Inc
  Doing interesting things with small computers since 1979


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-21 19:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-21 19:06 Completely discontinuing an array Bill Davidsen

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