From owner-freebsd-fs@FreeBSD.ORG Sat Dec 5 16:01:18 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 5C868106566C for ; Sat, 5 Dec 2009 16:01:18 +0000 (UTC) (envelope-from james-freebsd-fs2@jrv.org) Received: from mail.jrv.org (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mx1.freebsd.org (Postfix) with ESMTP id D91368FC12 for ; Sat, 5 Dec 2009 16:01:17 +0000 (UTC) Received: from kremvax.housenet.jrv (kremvax.housenet.jrv [192.168.3.124]) by bigtex.housenet.jrv (8.14.3/8.14.3) with ESMTP id nB5Fw5Sl098798; Sat, 5 Dec 2009 09:58:05 -0600 (CST) (envelope-from james-freebsd-fs2@jrv.org) Authentication-Results: bigtex.housenet.jrv; domainkeys=pass (testing) header.from=james-freebsd-fs2@jrv.org DomainKey-Signature: a=rsa-sha1; s=enigma; d=jrv.org; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:cc:subject: references:in-reply-to:content-type:content-transfer-encoding; b=Ccv43ct6A8zm11ZeK3Mb+tMd0yzZFZY8ABM/8C17RKwbJ9OIcol+oSSSyZESTPazh fYOkveSXqUSaOkj45PSjbuJBSI5kiuWVQ/SkKRElukftOUuMAMSwRZ2K3ZLrLyjSK3X 5fDzipEDdVFYiKsYPlYRXBLSNFfy1zivi7AH8MM= Message-ID: <4B1A830D.3090900@jrv.org> Date: Sat, 05 Dec 2009 09:58:05 -0600 From: "James R. Van Artsdalen" User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 References: <20091205152757.GK73250@gremlin.foo.is> In-Reply-To: <20091205152757.GK73250@gremlin.foo.is> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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:01:18 -0000 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). 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.