From owner-freebsd-questions@FreeBSD.ORG Fri Jun 27 01:28:25 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9EA26A1 for ; Fri, 27 Jun 2014 01:28:25 +0000 (UTC) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 940052E33 for ; Fri, 27 Jun 2014 01:28:25 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id y10so3695898pdj.8 for ; Thu, 26 Jun 2014 18:28:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Yk19RFvv/pEcLbrdbgUAu5wGeVX2N2YU6TGI0tIqS1Q=; b=v4RBfuMbNBmE4F1AUz9/9kO+Qx+G9ABfptHvTAvGZSeY2p3QN6gbTeiQdOBnDDmHAA FSlp7cSGy5RPUULP4dC3SlDPUiHZVcv4EN9wO1nP32/9oej8omFEp+TL6rSG3eWRn4xv 3qPm0HTwNs14HknHbzg6GmDFJ4D+uiBU4GJuJrPYRs4Fj2bXnqpuRZQZkLvvMJvhq6ro IDfqAQWxhCocnAyHUhBjVKWrrX+9EcXCNaA+cWJ3TmXdS10NLSZpOsBPRmuW2Wvcmr8O bRNjNNvsGJ1F2T/vQg8D4EzQBPlNp1agigGc7nvOI8qbzUBFuWTlHyEfbKvJbaN81j5f yPvQ== MIME-Version: 1.0 X-Received: by 10.69.25.69 with SMTP id io5mr27103366pbd.22.1403832504981; Thu, 26 Jun 2014 18:28:24 -0700 (PDT) Received: by 10.70.92.130 with HTTP; Thu, 26 Jun 2014 18:28:24 -0700 (PDT) Date: Thu, 26 Jun 2014 21:28:24 -0400 Message-ID: Subject: FreeBSD 9.2-p9/FreeBSD 9.3-PRERELEASE zpool import/export problem From: FF To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 01:28:25 -0000 So I'm having a weird problem that just came up when I went from freebsd-updated binaries to svn'ing the releng and/or stable source trees. When I compile and build a kernel (only), I can create a zpool something like: zpool create tank ada1 I can use it, list it, create files on it, etc. I can zpool export it. It will still show as online an importable. But when I try to reimport it (no reboot or anything): root@1:/root # zpool create -f storage2 ada40 root@1:/root # df -kh Filesystem Size Used Avail Capacity Mounted on /dev/ada45s1a 7.9G 6.3G 990M 87% / devfs 1.0k 1.0k 0B 100% /dev storage2 913G 31k 913G 0% /storage2 root@1:/root # zpool export storage2 root@1:/root # zpool import pool: storage2 id: 10010508457819787577 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: storage2 ONLINE ada40 ONLINE root@1:/root # zpool import storage2 cannot import 'storage2': pool is formatted using a newer ZFS version This happens repeatably whether its multi drive or single drive. root@1:/root # zfs upgrade This system is currently running ZFS filesystem version 5. All filesystems are formatted with the current version. root@1:/root # ls -al /sbin/z* -r-xr-xr-x 1 root wheel 96968 Feb 12 2013 /sbin/zfs -r-xr-xr-x 1 root wheel 92472 Feb 12 2013 /sbin/zpool root@1:/root # md5 /sbin/zfs MD5 (/sbin/zfs) = 76ddf1a93f9a045466ead1ef465859d0 root@1:/root # md5 /sbin/zpool MD5 (/sbin/zpool) = 29ec8f28ad5c6023ece4bb4eccb49f1e There's obviously no data on the system, so reformatting it with 9.2-RELEASE should fix it, but I'm trying to run a custom kernel and I'm trying to figure out what I've screwed up along the way. Also, zpool import -f does not solve it, same error. Any suggestions/advice on where this may have gone sideways? thanks in advance! -- FF