Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2007 12:12:59 +0100
From:      Ulf Lilleengen <lulf@stud.ntnu.no>
To:        freebsd-geom@freebsd.org
Subject:   Re: The right way to remove disk drive
Message-ID:  <20070214111259.GB60265@twoflower.idi.ntnu.no>
In-Reply-To: <45D2E85B.9020507@quip.cz>
References:  <45D2E85B.9020507@quip.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070214111259.GB60265>