Date: Wed, 14 Feb 2007 11:45:47 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> To: freebsd-geom@freebsd.org Subject: The right way to remove disk drive Message-ID: <45D2E85B.9020507@quip.cz>
next in thread | raw e-mail | index | archive | help
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? System is 6.2 RELEASE with GENERIC kernel, gmirror loaded from loader.conf, but previous disk replacement was in time of 6.1 RELEASE. Is there any known 'new' problems in 6.2? Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45D2E85B.9020507>