The right way to remove disk drive

Miroslav Lachman 000.fbsd at quip.cz
Wed Feb 14 22:54:15 UTC 2007


Poul-Henning Kamp wrote:
> In message <20070214111259.GB60265 at twoflower.idi.ntnu.no>, Ulf Lilleengen write
> s:
> 
>>On ons, feb 14, 2007 at 11:45:47am +0100, Miroslav Lachman wrote:
> 
> 
>>>used by gmirror (gmirror status shows DEGRADED and running on one drive 
>>>only), atacontrol lists the drive attached to channel ata3, so I run 
>>>command `atacontrol detach ata3`. As stated in manpage "Devices on the 
>>>channel are removed from the kernel". Everything goes fine, system is 
>>>running.... but if I pull out the drive tray, system hangs and must be 
>>>power cycled.
> 
> 
> Not all ata controller chips actually support hot-plug.

OK, I understand it may not be supported, but why it works with totaly 
failed drive (where I expect system freeze) and hangs with manual remove?
Insertion of a new drive works well in both cases.

Miroslav Lachman


More information about the freebsd-geom mailing list