From owner-freebsd-geom@FreeBSD.ORG Mon Feb 19 23:37:11 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 BBCCB16F7F3 for ; Mon, 19 Feb 2007 23:37:11 +0000 (UTC) (envelope-from dwiest@vailsys.com) Received: from cprobd02.vailsys.com (cprobd02.vailsys.com [63.210.102.130]) by mx1.freebsd.org (Postfix) with ESMTP id 9368D13C481 for ; Mon, 19 Feb 2007 23:37:11 +0000 (UTC) (envelope-from dwiest@vailsys.com) Received: from dfsfbd06.vail (dfsfbd06.vail [192.168.129.190]) by cprobd02.vailsys.com (Postfix) with ESMTP id 35181CE52D for ; Mon, 19 Feb 2007 17:10:58 -0600 (CST) Received: from dfwdamian.vail (dfwdamian.vail [192.168.129.233]) by dfsfbd06.vail (Postfix) with ESMTP id D8C5A323E8E for ; Mon, 19 Feb 2007 17:10:57 -0600 (CST) Received: from dfwdamian.vail (dwiest@localhost.vail [127.0.0.1]) by dfwdamian.vail (8.13.4/8.13.4) with ESMTP id l1JNAvKQ007236 for ; Mon, 19 Feb 2007 17:10:57 -0600 (CST) Received: (from dwiest@localhost) by dfwdamian.vail (8.13.4/8.13.4/Submit) id l1JNAvvW002783 for freebsd-geom@freebsd.org; Mon, 19 Feb 2007 17:10:57 -0600 (CST) X-Authentication-Warning: dfwdamian.vail: dwiest set sender to dwiest@vailsys.com using -f Date: Mon, 19 Feb 2007 17:10:57 -0600 From: Damian Wiest Cc: freebsd-geom@freebsd.org Message-ID: <20070219231057.GA23645@dfwdamian.vail> References: <20070214111259.GB60265@twoflower.idi.ntnu.no> <1612.1171453602@critter.freebsd.dk> <20070214132318.GA15548@iib.unsam.edu.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070214132318.GA15548@iib.unsam.edu.ar> User-Agent: Mutt/1.4.2i 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: Mon, 19 Feb 2007 23:37:11 -0000 On Wed, Feb 14, 2007 at 10:23:18AM -0300, Fernan Aguero wrote: > +----[ Miroslav Lachman <000.fbsd@quip.cz> (14.Feb.2007 08:10): > | > | 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. > > [snipped] > > | So what is wrong with manual removing drive? > | > +----] > > To what Poul-Henning replied: > > +----[ Poul-Henning Kamp (14.Feb.2007 08:47): > | > | Not all ata controller chips actually support hot-plug. > | > +----] > > And not all OSs support hot-plug even when the > underlying controller chips might: as per the Sun Fire X2100 > release notes: > > "SATA hot plug is supported only for the Windows XP Operating > System (OS). If you wish to change hard disks with Linux or > Solaris OS, you must reboot the system." > http://docs.sun.com/source/819-3722-16/index.html#21924 > > So it's not only FreeBSD that's missing the 'feature'. I'm > not an expert in low level hardware/driver issues at all ... > but I wonder if this is because of the chipset drivers in > each OS or because of the way the disk management framework > works in each OS ... > > Fernan I can assure you that the X2100 does indeed support the hot plugging of disks. Attempting to setup RAID on these systems would be pointless otherwise. Okay, not pointless, but you'd have to take it out of service to replace a failed disk. I suspect that the Sun document you referred to is talking about hot plug of disks when using the on-board fake-raid chip. ISTR there only being Windows drivers available, but perhaps Solaris drivers were released? In any case, you don't want to use that chip if you're running Solaris; use SVM. I _just_ tested detaching sub-mirrors, pulling the disk from the chassis and then replacing it. Everything behaved as expected, including the automatic resync of metadevices associated with the drive. -Damian ps. What are you doing reading the docs that came along with the server? :)