From owner-freebsd-stable@FreeBSD.ORG Thu Jan 15 23:29:54 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C03D6106566B for ; Thu, 15 Jan 2009 23:29:54 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from warped.bluecherry.net (unknown [IPv6:2001:440:eeee:fffb::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5E68D8FC0A for ; Thu, 15 Jan 2009 23:29:54 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (morganw-1-pt.tunnel.tserv8.dal1.ipv6.he.net [IPv6:2001:470:1f0e:47e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by warped.bluecherry.net (Postfix) with ESMTPSA id DEDD084CAC0A; Thu, 15 Jan 2009 17:29:51 -0600 (CST) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.3/8.14.3) with ESMTP id n0FNTVN6039919; Thu, 15 Jan 2009 17:29:36 -0600 (CST) (envelope-from morganw@chemikals.org) Date: Thu, 15 Jan 2009 17:29:31 -0600 (CST) From: Wes Morgan To: David Ehrmann In-Reply-To: <6e0e5340901151158n5108ba8ct6af8fb270b10b75b@mail.gmail.com> Message-ID: References: <6e0e5340901151158n5108ba8ct6af8fb270b10b75b@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@freebsd.org Subject: Re: zfs drive keeps failing between export and import X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 23:29:55 -0000 On Thu, 15 Jan 2009, David Ehrmann wrote: > I have a zpool that consists for a two-drive mirror. The two times I > took the zpool offline, I had to resilver one of the drives (the same > drive both times) when I imported it back. All drives in the pool > show no read, write, or checksum errors and are new, so I'm looking to > a software problem before hardware. Both drives are encrypted geli > devices. I tried to reproduce the error with 1GB disk images (vs > 1TB), mdconfig, geli, and zpool, but no luck; importing and exporting > work fine. > > Here's the history of the pool: > > History for 'tank': > 2009-01-07.19:06:53 zpool create tank mirror /dev/ad8.eli /dev/ad10.eli > 2009-01-12.12:34:20 zpool export -f tank > 2009-01-12.12:38:12 zpool import tank > 2009-01-12.12:41:43 zpool replace tank 5217673744218787970 /dev/ad10.eli > 2009-01-12.21:48:12 zpool export tank > 2009-01-13.20:20:27 zpool import tank > 2009-01-13.20:22:18 zpool replace tank 2270010454322471606 /dev/ad10.eli > 2009-01-14.08:04:52 zpool scrub tank > 2009-01-14.08:08:38 zpool scrub -s tank > > When I do zdb tank, I get "zdb: can't open tank: No such file or > directory." Somehow, I did the same command earlier and got pointed > to http://www.sun.com/msg/ZFS-8000-EY > > There's a chance this drive (ad10 or ad10.eli) was in a zpool before > this one that never got destroyed. > > Ideas? Any more information I should provide? What does "zdb /dev/ad10.eli" show?