From owner-freebsd-geom@FreeBSD.ORG Wed Feb 14 22:54:15 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4868916A409 for ; Wed, 14 Feb 2007 22:54:15 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from home.quip.cz (grimm.quip.cz [213.220.192.218]) by mx1.freebsd.org (Postfix) with ESMTP id 06A8C13C4A6 for ; Wed, 14 Feb 2007 22:54:14 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from [192.168.1.2] (qwork.quip.test [192.168.1.2]) by home.quip.cz (Postfix) with ESMTP id 665CE62E7; Wed, 14 Feb 2007 23:54:13 +0100 (CET) Message-ID: <45D39315.80801@quip.cz> Date: Wed, 14 Feb 2007 23:54:13 +0100 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Poul-Henning Kamp References: <1612.1171453602@critter.freebsd.dk> In-Reply-To: <1612.1171453602@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: The right way to remove disk drive X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 22:54:15 -0000 Poul-Henning Kamp wrote: > In message <20070214111259.GB60265@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