From owner-freebsd-fs@FreeBSD.ORG Sat Dec 5 16:31:24 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46909106566C for ; Sat, 5 Dec 2009 16:31:24 +0000 (UTC) (envelope-from gcorcoran@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 07E4B8FC15 for ; Sat, 5 Dec 2009 16:31:23 +0000 (UTC) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 05 Dec 2009 11:31:23 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id QIX89029; Sat, 5 Dec 2009 11:31:15 -0500 (EST) X-Auth-ID: gcorcoran Received: from 216-164-180-100.c3-0.tlg-ubr8.atw-tlg.pa.cable.rcn.com (HELO [10.56.78.161]) ([216.164.180.100]) by smtp01.lnh.mail.rcn.net with ESMTP; 05 Dec 2009 11:31:15 -0500 Message-ID: <4B1A8B5D.6050808@rcn.com> Date: Sat, 05 Dec 2009 11:33:33 -0500 From: Gary Corcoran User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: "James R. Van Artsdalen" References: <20091205152757.GK73250@gremlin.foo.is> <4B1A830D.3090900@jrv.org> In-Reply-To: <4B1A830D.3090900@jrv.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS and reordering drives X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Dec 2009 16:31:24 -0000 James R. Van Artsdalen wrote: > Baldur Gislason wrote: >> When I plugged them back in they didn't go in the right order >> and now both of my pools are broken. > zpool.cache is broken. Rename /boot/zfs/zpool.cache so that ZFS won't > load it, then import the pools manually. (a reboot might be needed > before the import; not sure). If one were booting from ZFS, would you be out of luck (since you wouldn't be able to access the zpool.cache before booting), or is there a way around this problem? Just wondering, I've avoided booting from ZFS so far. > The problem is that ZFS is recording the boot-time assigned name > (/dev/ad0) in the cache. I'm hoping to get GEOM to put the disk serial > number in /dev, i.e., /dev/serialnum/5LZ958QL. If you created the pool > using serial numbers then the cache would always work right. Is there any way today, to avoid using the boot assigned drive name (e.g. /dev/ad2) when creating the zpool? Again just wondering, I don't need a solution this year... Thanks, Gary