Re: "No such device" on --remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux