Re: AHCI hot replace sdX incrementing

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

 



Gaston, Jason D wrote:
When I hot-remove a SATA HD in AHCI mode and then hot-plug the drive
back in again, the /dev/sdX number changes to the next available number.
Is this going to be a problem when using a RAID array that includes that
drive?

Well, it's certainly something you have to deal with. You have to tell the RAID driver you added a component to the system. Ideally mdadm or udev should take care of that, but I'm not sure it's all there yet.

In any case, it's a new device so, while inconvenient for some scenarios, I think it is best to represent a new device with a new device node. Various entities are still probably holding references to the old device, and you don't want the system to think that you plugged in the _same_ device again.

	Jeff


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

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux