Re: Hot remove issue

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

 



Lucian Daniel Kafka wrote:
Hi.

I am having the noted problem of hot removing a drive from a md1 array (see log below).

You need to set the drive as faulty first, before you can remove it. You can use mdadm --fail to do that.

Also, the /etc/raidtab seems to be ignored. I have tried to set drives as failed-disk, hoping to remove them after the next reboot, but that didn't work.

No, that's only for building an array.


Also, I have tried to change the order in which the md devices are initialized (by swapping entries in /etc/raidtab), but that had no effect either.

You can disable the raid autostart and use mdadm to start your arrays in the order you want.


--
Mads Peter Bach
Systemadministrator,  Det Humanistiske Fakultet, Aalborg Universitet
Kroghstræde 3 - 5.111, DK-9220 Aalborg Øst
# whois MPB1-DK@whois.dk-hostmaster.dk

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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