linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bernd Schubert <bschubert@q-leap.de>
To: linux-raid@vger.kernel.org
Subject: Re: "No such device" on --remove
Date: Wed, 09 May 2007 13:42:17 +0200	[thread overview]
Message-ID: <f1sc2p$33q$1@sea.gmane.org> (raw)
In-Reply-To: 20070508170441.GB4333@scavenger.homeip.net

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.

We are presently running into a similar problem, which I'm going to describe
on this and hotplug list right now.


Hope it helps,
Bernd


  parent reply	other threads:[~2007-05-09 11:42 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 [this message]
2007-05-09 21:23   ` Michael Tokarev
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='f1sc2p$33q$1@sea.gmane.org' \
    --to=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 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).