linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AHCI hot replace sdX incrementing
@ 2007-04-09 17:43 Gaston, Jason D
  2007-04-10  9:50 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Gaston, Jason D @ 2007-04-09 17:43 UTC (permalink / raw)
  To: Jeff Garzik, linux-ide

Hello,

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?

Thanks,

Jason

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AHCI hot replace sdX incrementing
  2007-04-09 17:43 AHCI hot replace sdX incrementing Gaston, Jason D
@ 2007-04-10  9:50 ` Jeff Garzik
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2007-04-10  9:50 UTC (permalink / raw)
  To: Gaston, Jason D; +Cc: linux-ide

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-10  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-09 17:43 AHCI hot replace sdX incrementing Gaston, Jason D
2007-04-10  9:50 ` Jeff Garzik

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).