From owner-freebsd-stable@FreeBSD.ORG Thu Jan 15 20:29:53 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 0067C1065672 for ; Thu, 15 Jan 2009 20:29:52 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id AB1FF8FC18 for ; Thu, 15 Jan 2009 20:29:52 +0000 (UTC) (envelope-from ehrmann@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so522570ywe.13 for ; Thu, 15 Jan 2009 12:29:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=cC4J+lqExD69QHn5O3LTulmMwA2nBhoi2eGACbUSyK0=; b=c0lZdvBv2ZOfj9w5Kp08IYg8/q6OudOTq0WIH7DW/aghbLknk8hqaQqQhCboIMM9jo RCgLWxnm0A1A4F/PtYaGMKeFESI981TeU9/7K0NQFPUh1jkeEGhVvbbjHGbTSJ4hNwGH 32KPwAr6SHXU3xAWxtNE6Wp4AocXwyeiLb+Ds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=AWMy7sC4I6GKFHlxPT3wKcSMq/xYzKGv22KUUGAMV9FaVKs7t6a9D33ly6Kws7cRtv GDxi20WukUtCMqlDby1Q3l5lXWTXdJnaa2v9CNNY+HF2pNKWCKhlCmuZdhXz+mlmqkCb yriVREMOjtt0WULS1ExQkaAEi3TqPckCGwbWw= Received: by 10.100.112.9 with SMTP id k9mr1417203anc.65.1232049484967; Thu, 15 Jan 2009 11:58:04 -0800 (PST) Received: by 10.100.45.1 with HTTP; Thu, 15 Jan 2009 11:58:04 -0800 (PST) Message-ID: <6e0e5340901151158n5108ba8ct6af8fb270b10b75b@mail.gmail.com> Date: Thu, 15 Jan 2009 11:58:04 -0800 From: "David Ehrmann" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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 20:29:53 -0000 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?