From owner-freebsd-stable@FreeBSD.ORG Fri Nov 12 19:16:37 2010 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 A4AA3106564A for ; Fri, 12 Nov 2010 19:16:37 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 30A9F8FC1A for ; Fri, 12 Nov 2010 19:16:36 +0000 (UTC) Received: by wwj40 with SMTP id 40so283964wwj.31 for ; Fri, 12 Nov 2010 11:16:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :organization:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=B2/vPHXREB5KkI7erH8VhorRWF9EeUK6Jbehz+evtOo=; b=W/ZJ/Uo349e1M7HvCCWGeYG0kP4zBQrSiyQymIIRqY95E/ksBGc9y+EdM7slYv9cWZ bOsDI+71itZ7esLwjmN4zYPqnQHvIcKmz4+NoX471VYdms5cbAqXQnKBK9/nnukw8DcR DZb2UPgU5xhrwUr9uL/m4DcBOUp2sQ/lPPbUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=n/i97kq1eoUP+BsiD2reMGduKqh5BVM1eLxZ8IjaJnDiWlghV/4aAwB+YPxc6AVRTw HVbSQSeKgtHzbMc7BkcsDTpw05lztUYr8blWlVWhRlCdKBdXSZYmo9qRt6kRBMOUJfD3 AuuK9FyD21ZQXVA1aMaHbZyiN/1i0HnqtNmno= Received: by 10.216.13.207 with SMTP id b57mr2446058web.32.1289589394739; Fri, 12 Nov 2010 11:16:34 -0800 (PST) Received: from centel.dataix.local (adsl-99-181-128-23.dsl.klmzmi.sbcglobal.net [99.181.128.23]) by mx.google.com with ESMTPS id f31sm2347151wej.39.2010.11.12.11.16.26 (version=SSLv3 cipher=RC4-MD5); Fri, 12 Nov 2010 11:16:28 -0800 (PST) Sender: "J. Hellenthal" Message-ID: <4CDD9289.80600@DataIX.net> Date: Fri, 12 Nov 2010 14:16:25 -0500 From: jhell Organization: http://www.DataIX.net User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20101028 Lightning/1.0b1 Thunderbird MIME-Version: 1.0 To: Maciej Friedel References: <1289588625.1584.11.camel@toshiba> In-Reply-To: <1289588625.1584.11.camel@toshiba> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: 8.1-STABLE - zpool import problem 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: Fri, 12 Nov 2010 19:16:37 -0000 On 11/12/2010 14:03, Maciej Friedel wrote: > I have a problem with importing the newly created pool > > # uname -a > FreeBSD backup.wwv.pl 8.1-STABLE FreeBSD 8.1-STABLE #1: Thu Nov 11 > 15:13:25 CET 2010 root@backup.wwv.pl:/usr/obj/usr/src/sys/BACKUP > i386 > > # dmesg | grep WDC > ad4: 610480MB at ata2-master UDMA100 > SATA 1.5Gb/s > ad6: 610480MB at ata3-master UDMA100 > SATA 1.5Gb/s > ad12: 152627MB at ata6-master UDMA100 > SATA 1.5Gb/s > > # zpool create backupfs ad4 ad6 > # zpool status > pool: backupfs > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > backupfs ONLINE 0 0 0 > ad4 ONLINE 0 0 0 > ad6 ONLINE 0 0 0 > > errors: No known data errors > > pool: basefs > state: ONLINE > scrub: none requested > config: > > NAME STATE READ WRITE CKSUM > basefs ONLINE 0 0 0 > ad12s2 ONLINE 0 0 0 > > errors: No known data errors > > # zfs create backupfs/backup > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/label/rootfs 496M 354M 102M 78% / > devfs 1.0K 1.0K 0B 100% /dev > basefs/home 141G 117G 24G 83% /home > basefs/usr 27G 2.8G 24G 11% /usr > basefs/var 24G 255M 24G 1% /var > /dev/md0 496M 46K 496M 0% /tmp > backupfs 1.1T 21K 1.1T 0% /backupfs > backupfs/backup 1.1T 21K 1.1T 0% /backupfs/backup > # mkdir /home/backup > # zfs umount /backupfs/backup > # zfs umount /backupfs > # zfs set mountpoint=/home/backup backupfs/backup > # zfs set mountpoint=none backupfs > # zpool export backupfs > # zpool import backupfs > cannot import 'backupfs': pool is formatted using a newer ZFS version > > # zpool import > pool: backupfs > id: 1262536404400505900 > state: ONLINE > action: The pool can be imported using its name or numeric identifier. > config: > > backupfs ONLINE > ad4 ONLINE > ad6 ONLINE > # zfs upgrade > This system is currently running ZFS filesystem version 3. > > All filesystems are formatted with the current version. > # zpool upgrade > This system is currently running ZFS pool version 14. > > All pools are formatted using this version. > > Regards, > Maciej Friedel > One thing to note here is that your running 8.1-STABLE November code which is a zpl version 4 and spa 15 or otherwise known as ZFS v15. Did you build this from source ? or install via snapshot. If you installed via upgrading from source... Is your user-level zfs utilities & libs up-to-date or in sync with your kernel ? -- jhell,v