From owner-freebsd-questions@FreeBSD.ORG Tue Nov 3 18:21:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABF82106566B for ; Tue, 3 Nov 2009 18:21:08 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from mx04.pub.collaborativefusion.com (mx04.pub.collaborativefusion.com [206.210.72.84]) by mx1.freebsd.org (Postfix) with ESMTP id 77A308FC0A for ; Tue, 3 Nov 2009 18:21:08 +0000 (UTC) Received: from [192.168.2.164] ([206.210.89.202]) by mx04.pub.collaborativefusion.com (StrongMail Enterprise 4.1.1.4(4.1.1.4-47689)); Tue, 03 Nov 2009 13:21:07 -0500 X-VirtualServerGroup: Default X-MailingID: 00000::00000::00000::00000::::7 X-SMHeaderMap: mid="X-MailingID" X-Destination-ID: freebsd-questions@freebsd.org X-SMFBL: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= Message-ID: <4AF07493.7050208@comcast.net> Date: Tue, 03 Nov 2009 13:21:07 -0500 From: Steve Polyack User-Agent: Thunderbird 2.0.0.23 (X11/20090902) MIME-Version: 1.0 To: Derrick Ryalls References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: ZFS disk replacement questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2009 18:21:08 -0000 Derrick Ryalls wrote: > 1) In the event of a disk failure, how do I trace back the name such > as adX to a physical drive in the enclosure? Is there a way to take > the drive offline then use atacontrol to spin it down or something so > it is easy to identify? > In my opinion you are best off using glabel(8) to give names to the disks. This way you can name them in a way that makes sense to you. Additionally, when you create the ZFS pool you will use the glabel'd names. This means that the pool will still come up properly if something causes your devices to be numbered differently (i.e. a drive dies and you happen to reboot the system). Depending on your controller it is also probably worth it to use one of the SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and siis(4). While the generic ata(4) driver will work for pretty much everything, the updated AHCI drivers can take advantage of some more features. Enable the modules at boot to use them. > Any tips would be greatly appreciated. > >