i386/181002: zpool import fails after export

Christopher Harrison harrison at biostat.wisc.edu
Sat Aug 3 04:50:00 UTC 2013


>Number:         181002
>Category:       i386
>Synopsis:       zpool import fails after export
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 03 04:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:


More information about the freebsd-i386 mailing list