From nobody@FreeBSD.org  Sat Aug  3 04:45:52 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTP id E3042D0F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Aug 2013 04:45:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id CFA9127AC
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  3 Aug 2013 04:45:52 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r734jqAO083790
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 3 Aug 2013 04:45:52 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r734jqYB083789;
	Sat, 3 Aug 2013 04:45:52 GMT
	(envelope-from nobody)
Message-Id: <201308030445.r734jqYB083789@oldred.freebsd.org>
Date: Sat, 3 Aug 2013 04:45:52 GMT
From: Christopher Harrison <harrison@biostat.wisc.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: zpool import fails after export
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         181002
>Category:       kern
>Synopsis:       zpool import fails after export
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-fs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 03 04:50:00 UTC 2013
>Closed-Date:    Sat Aug 03 15:43:53 UTC 2013
>Last-Modified:  Sat Aug 03 15:43:53 UTC 2013
>Originator:     Christopher Harrison
>Release:        9.2-Beta
>Organization:
>Environment:
FreeBSD grus.biostat.wisc.edu 9.2-BETA2 FreeBSD 9.2-BETA2 #0 r253698: Sat Jul 27 18:22:20 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
After creating a zpool in 9.2-beta2 after export, I am unable to import the zpool do to the following error:

cannot import 'ztemp': pool is formatted using a newer ZFS version 

I am using raidz2 vdev's but I would expect this error would occur on all vdevs
>How-To-Repeat:
steps:
glabel drives
    glabel label disk00 da0
    glabel label disk01 da1
    glabel label disk02 da2
    glabel label disk03 da3
gnop create -S 4096  (4k align drives)
    gnop create -S 4096 /dev/label/disk0[0-3]
create a new zpool with nop device
    zpool create ztemp raidz2 label/disk00.nop label/disk01.nop label/disk02.nop label/disk03.nop log gpt/zil.nop
export newly created zpool
    zpool export zpool
destroy the 4k nop devices
    gnop destroy /dev/label/disk0[0-3].nop
try to import the zpool
    zpool import -d /dev/label -d /dev/gpt ztemp
cannot import 'ztemp': pool is formatted using a newer ZFS version 
>Fix:
update the zpool import code to allow the newer zpool version to be "imported" properly

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-fs 
Responsible-Changed-By: remko 
Responsible-Changed-When: Sat Aug 3 10:53:58 UTC 2013 
Responsible-Changed-Why:  
Reassign to the fs team 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181002 
State-Changed-From-To: open->closed 
State-Changed-By: smh 
State-Changed-When: Sat Aug 3 15:43:52 UTC 2013 
State-Changed-Why:  
System only had 9.2 kernel not world 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181002 
>Unformatted:
