From: Jan Ceuleers <jan.ceuleers@gmail.com>
To: Jake Thomas <thomasj10@georgefox.edu>
Cc: linux-raid@vger.kernel.org
Subject: Re: Device Unusable At Startup
Date: Fri, 28 Sep 2012 13:11:02 +0200 [thread overview]
Message-ID: <506585C6.10403@gmail.com> (raw)
In-Reply-To: <CACO8vipp6mWQCY-cWhSbty=XNKFoxc_q_ntv-0C+dKsRD8DEWA@mail.gmail.com>
On 09/28/2012 01:47 AM, Jake Thomas wrote:
> Note that all md devices must be stopped using a wildcard: "/dev/md*"
> because we technically don't know
> for sure what the name of the md device is that holds /usr. It could
> be /dev/md127, /dev/md126, /dev/md125
> or whatever. We simply don't know. If it's the only md device present,
> it will, with almost 100% certainty, be /dev/md127,
> but what if someone plugs in USB drives that have mdraid before you
> turn the computer on? Now we really don't know.
> Or, more likely, if you have more than one md raid array amongst your
> internal hard drives, we wouldn't know the name of the one we must
> stop to reassemble.
>
> Unfortunately, /dev/disk/by-uuid is not populated for this md device,
> because it is currently broke. So we can't specify it by uuid
> or anything. A system-wide stopping of all md devices (/dev/md*) must
> be done to stop it.
Would it be a fair expectation for any non-borked arrays to be numbered
starting at /dev/md0 ? So that only the arrays numbered above 100 to be
likely borked?
If so you could try limiting the mdadm --stop to only /dev/md1[0-9][0-9]
or something like that.
HTH, Jan
next prev parent reply other threads:[~2012-09-28 11:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-27 23:47 Device Unusable At Startup Jake Thomas
2012-09-28 11:11 ` Jan Ceuleers [this message]
2012-09-28 12:12 ` Jake Thomas
2012-09-28 16:24 ` Jan Ceuleers
-- strict thread matches above, loose matches on Subject: below --
2012-08-12 23:59 Jake Thomas
2012-08-13 0:20 ` NeilBrown
2012-08-13 6:45 ` Jake Thomas
2012-08-13 6:51 ` Jake Thomas
2012-08-12 22:17 Jake Thomas
2012-08-12 22:39 ` NeilBrown
2012-08-05 7:13 Jake Thomas
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=506585C6.10403@gmail.com \
--to=jan.ceuleers@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=thomasj10@georgefox.edu \
/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).