Port-i386 archive

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

Re: Hot plugging of SATA disks doesn't seem to work under NetBSD-4.x?

> In general SCSI disks aren't hot pluggable unless they're hanging off
> a hot pluggable bus such as Cardbus or PCMCIA (or inside a RAID
> enclosure where the RAID controllers deals with drives coming and
> going).

That does not match my experience.  Provided the bus is quiet at the
time of connect/disconnect, I have never had any problem hot-plugging
SCSI drives.  (Arranging for the bus to be quiet can be anywhere from
trivial to almost impossible, depending.)

Of course, there may be softwre issues, such as (under NetBSD) a need
to scsictl detach before hot-unplugging and scsictl scan after
hot-plugging, but that's a separate issue.

> Note that in general, hot plugging SCSI devices can do bad things.

Such as?  And, if it's not obvious from the answer, any guesses why
I've never been bitten even though I've done it probably more than
hundred times over the years I've been working with SCSI?

/~\ The ASCII                           der Mouse
\ / Ribbon Campaign
 X  Against HTML               mouse%rodents.montreal.qc.ca@localhost
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Home | Main Index | Thread Index | Old Index