The right way to remove disk drive
Ulf Lilleengen
lulf at stud.ntnu.no
Wed Feb 14 11:42:15 UTC 2007
On ons, feb 14, 2007 at 11:45:47am +0100, Miroslav Lachman wrote:
> Hi all,
>
> what is the right way to remove disk drive from running system without
> reboot?
>
> I have Sun Fire X2100 with 2 identical drives in gmirror. One drive is
> failing, so I want to replace this drive by another. Drive is no more
> 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.
>
> I had some worse problem with disk drive few month ago and if drive
> disappeared completely from system (not visible by gmirror nor
> atacontrol), I pulled out failed drive and system was running fine. Then
> I replace the drive, system detected the new drive successfuly, then I
> start gmirror synchronization... all in few minutes without reboot.
>
> So what is wrong with manual removing drive?
>
http://lists.freebsd.org/pipermail/freebsd-geom/2006-November/001701.html
--
Ulf Lilleengen
More information about the freebsd-geom
mailing list