From: Jody McIntyre <scjody@sun.com>
To: John Robinson <john.robinson@anonymous.org.uk>
Cc: linux-raid@vger.kernel.org
Subject: Re: Strange RAID behaviour when faced with user error
Date: Fri, 12 Jun 2009 14:33:40 -0400 [thread overview]
Message-ID: <20090612183339.GB4936@clouds> (raw)
In-Reply-To: <4A303178.5060208@anonymous.org.uk>
On Wed, Jun 10, 2009 at 11:19:36PM +0100, John Robinson wrote:
> The device node /dev/sdb1 was turned into a md one - probably 9,127 -
> when you started the array, and stopping the array hasn't reverted it.
> mknod /dev/sdb1 8 17 would probably have fixed it. Assuming you're using
> udev, the /dev/sdb1 device is recreated the next time you reboot, so the
> problem goes away.
That's exactly right. Thanks for the insight!
brw-rw---- 1 root disk 9, 127 2009-06-10 17:54 /dev/sdb1
> I think mdadm 3.0 would have deleted the device node when the array was
> stopped, but mdadm 2.6.x doesn't.
Actually, mdadm 3.0 is even smarter than that:
# ls -l /dev/sdb1
brw-rw---- 1 root disk 8, 17 2009-06-12 13:40 /dev/sdb1
# ./mdadm --version
mdadm - v3.0 - 2nd June 2009
# ./mdadm --assemble --verbose /dev/sdb1 /dev/sdb2 /dev/sdb3 /dev/sdb4
mdadm: device /dev/sdb1 exists but is not an md array.
Cheers,
Jody
next prev parent reply other threads:[~2009-06-12 18:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-10 21:58 Strange RAID behaviour when faced with user error Jody McIntyre
2009-06-10 22:19 ` John Robinson
2009-06-10 22:23 ` John Robinson
2009-06-12 18:33 ` Jody McIntyre [this message]
2009-06-12 18:58 ` how to resize volume group lvm2? Michael Ole Olsen
2009-06-12 19:14 ` Michael Ole Olsen
2009-06-12 19:15 ` Tapani Tarvainen
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=20090612183339.GB4936@clouds \
--to=scjody@sun.com \
--cc=john.robinson@anonymous.org.uk \
--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).