linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Linux Raid List <linux-raid@vger.kernel.org>
Subject: Completely discontinuing an array
Date: Thu, 21 Dec 2006 14:06:29 -0500	[thread overview]
Message-ID: <458ADB35.3030308@tmr.com> (raw)

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


                 reply	other threads:[~2006-12-21 19:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=458ADB35.3030308@tmr.com \
    --to=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).