From: Michael Tokarev <mjt@tls.msk.ru>
To: Bernd Schubert <bschubert@q-leap.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: "No such device" on --remove
Date: Thu, 10 May 2007 01:23:27 +0400 [thread overview]
Message-ID: <46423BCF.3080702@msgid.tls.msk.ru> (raw)
In-Reply-To: <f1sc2p$33q$1@sea.gmane.org>
Bernd Schubert wrote:
> Benjamin Schieder wrote:
>
>
>> root@crazyhorse:~# mdadm /dev/md/2 -r /dev/hdh5
>> mdadm: hot remove failed for /dev/hdh5: No such device
>>
>> md1 and md2 are supposed to be raid5 arrays.
>
> You are probably using udev, don't you? Somehow there's presently
> no /dev/hdh5, but to remove /dev/hdh5 out of the raid, mdadm needs this
> device. There's a workaround, you need to create the device in /dev using
> mknod and then you can remove it with mdadm.
In case the /dev/hdh5 device node is missing, mdadm will complain
"No such file or directory" (ENOENT), instead of "No such device"
(ENODEV).
In this case, as I explained in my previous email, the arrays aren't
running, and the error refers to manipulations (md ioctls) with existing
/dev/md/2.
It has nothing to do with udev.
/mjt
next prev parent reply other threads:[~2007-05-09 21:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-08 17:04 "No such device" on --remove Benjamin Schieder
2007-05-08 18:22 ` Michael Tokarev
2007-05-09 11:42 ` Bernd Schubert
2007-05-09 21:23 ` Michael Tokarev [this message]
2007-05-10 5:28 ` Benjamin Schieder
2007-05-10 21:09 ` Questions about the speed when MD-RAID array is being initialized Liang Yang
2007-05-10 21:33 ` Justin Piszcz
2007-05-10 21:38 ` Liang Yang
2007-05-10 21:44 ` Justin Piszcz
2007-05-10 23:03 ` Robin Hill
2007-05-12 2:24 ` Benjamin Davenport
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=46423BCF.3080702@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=bschubert@q-leap.de \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.