The right way to remove disk drive

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Feb 14 11:46:45 UTC 2007


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.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-geom mailing list