From owner-freebsd-current@FreeBSD.ORG Fri Oct 31 17:45:04 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B1FF1065693 for ; Fri, 31 Oct 2008 17:45:04 +0000 (UTC) (envelope-from jmrueda@diatel.upm.es) Received: from edison.ccupm.upm.es (edison.ccupm.upm.es [138.100.4.49]) by mx1.freebsd.org (Postfix) with ESMTP id 8570F8FC1F for ; Fri, 31 Oct 2008 17:45:03 +0000 (UTC) (envelope-from jmrueda@diatel.upm.es) Received: from smtp.euitt.upm.es (acherontia2.euitt.upm.es [138.100.52.79]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id m9VHQDPX022292; Fri, 31 Oct 2008 18:26:13 +0100 Received: from localhost (localhost [127.0.0.1]) by smtp.euitt.upm.es (Postfix) with ESMTP id 0A4F2565A5; Fri, 31 Oct 2008 18:26:13 +0100 (CET) Received: from smtp.euitt.upm.es ([127.0.0.1]) by localhost (smtp.euitt.upm.es [127.0.0.1]) (amavisd-new, port 11124) with ESMTP id Epiz3yfjrKzQ; Fri, 31 Oct 2008 18:26:10 +0100 (CET) Received: from aurora.diatel.upm.es (aurora.diatel.upm.es [138.100.49.70]) (Authenticated sender: jmrueda) by smtp.euitt.upm.es (Postfix) with ESMTPSA id BAE60565A8; Fri, 31 Oct 2008 18:26:10 +0100 (CET) Received: from [172.29.9.14] ([172.29.9.14]) by aurora.diatel.upm.es (8.14.2/8.14.2) with ESMTP id m9VHQ9ZR050556; Fri, 31 Oct 2008 18:26:10 +0100 (CET) (envelope-from jmrueda@diatel.upm.es) Message-ID: <490B3FB2.2040106@diatel.upm.es> Date: Fri, 31 Oct 2008 18:26:10 +0100 From: =?ISO-8859-1?Q?Javier_Mart=EDn_Rueda?= User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Daniel Jameson References: <0A8710FF880BBB4687AEC66F9DCF7D0C26B462@SERVER1.emerytelcom.com> In-Reply-To: <0A8710FF880BBB4687AEC66F9DCF7D0C26B462@SERVER1.emerytelcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org Subject: Re: ZFS attaching direct access drives as Scsibus#target#drive# X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2008 17:45:05 -0000 Daniel Jameson escribió: > Hello, > > > > I'm in the process of building several zfs pools for a backup-server, > the machine has 2 24 port sata 3 controllers and 48 1TB drives for > storage. I've done a little testing and found that building a pool by > using the da# device names can be inconsistent. For example if a device > is lost from the first controller and the box is re-booted all the da#s > shuffle up, which creates problems with adjacent pools, and the > potential for catastrophic failure. In the Sun documentation zpool > allows a pool to be built by using S#T#D# (Scsibus Target Drive) syntax, > when I attempt it in FBSD It returns:" cannot use '/dev/c0t0d0': must be > a GEOM provider" does anyone know a way to statically map a > scsibus/target/drive to a specific da# or a fix to allow specific drives > by target numbers to be added to a zpool? > You can edit /boot/device.hints to associate specific SCSI ids to specific da entries. Try something like this: hint.da.0.at="scbus0" hint.da.0.target="0" hint.da.0.unit="0" And so on...