From nobody@FreeBSD.org  Fri Mar 22 17:45:48 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115])
	by hub.freebsd.org (Postfix) with ESMTP id 377E2B52
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Mar 2013 17:45:48 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 29318236
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Mar 2013 17:45:48 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2MHjlFa093004
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 22 Mar 2013 17:45:47 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.5/8.14.5/Submit) id r2MHjlDI093003;
	Fri, 22 Mar 2013 17:45:47 GMT
	(envelope-from nobody)
Message-Id: <201303221745.r2MHjlDI093003@red.freebsd.org>
Date: Fri, 22 Mar 2013 17:45:47 GMT
From: Elliot  <cccfanta@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: zpool import failed with state UNAVAIL but all disks are ONLINE
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         177240
>Category:       kern
>Synopsis:       [zfs] zpool import failed with state UNAVAIL but all disks are ONLINE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-fs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 22 17:50:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Fri Mar 22 21:50:20 UTC 2013
>Originator:     Elliot
>Release:        
>Organization:
>Environment:
FreeBSD 9.1 amd64 (custom build)

>Description:
Ive been googling but cant find a solution for my problem with zpool import .  My system was just upgraded to FreeBSD 9.1 for 1-2 weeks. It suddenly hanged, so I boot the system with a Live CD (FreeBSD 9.1 with ZPOOL version 28) and tried to do zpool import but failed.

All the disks are showing ONLINE but the zpool is showing UNAVAIL with newer version error. But the zdb -l show on disk format version 14. ZPOOL version 28 is the latest version FreeBSD is using. Do you know what went wrong with the zpool? Is it possible a software bug that corrupted the pool data? Ive also tried zpool import -fFX tank but still couldnt help.

# zpool import
pool: tank
id: [removed]
state: UNAVAIL
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
see: http://illumos.org/msg/ZFS-8000-EY
config:

tank UNAVAIL newer version
mirror-0 ONLINE
label/disk0 ONLINE
label/disk1 ONLINE

# zpool import -fFX tank
cannot import tank: one or more devices is currently unavailable
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->freebsd-fs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Mar 22 21:50:08 UTC 2013 
Responsible-Changed-Why:  
reclassify and assign. 

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