From owner-freebsd-fs@FreeBSD.ORG Fri Apr 1 01:36:05 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62991106564A for ; Fri, 1 Apr 2011 01:36:05 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 497998FC16 for ; Fri, 1 Apr 2011 01:36:04 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta11.emeryville.ca.mail.comcast.net with comcast id S1LV1g0041vN32cAB1c43q; Fri, 01 Apr 2011 01:36:04 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta22.emeryville.ca.mail.comcast.net with comcast id S1c31g00e1t3BNj8i1c4VF; Fri, 01 Apr 2011 01:36:04 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 946D09B422; Thu, 31 Mar 2011 18:36:03 -0700 (PDT) Date: Thu, 31 Mar 2011 18:36:03 -0700 From: Jeremy Chadwick To: Piotr Paczynski Message-ID: <20110401013603.GA31034@icarus.home.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@freebsd.org Subject: Re: ZFS failed after hard power off X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 01:36:05 -0000 On Fri, Apr 01, 2011 at 12:36:47AM +0000, Piotr Paczynski wrote: > > v28 was committed to -current on Feb 27th, so your snapshot is too > > old. You should be able to fix the pool with OpenIndiana liveDVD or > > liveUSB > > http://openindiana.org/download/ > > OK, after fiddling for like 4 hours I managed to run OpenIndiana > LiveDVD (wouldnt boot up which eventually turned out to by my KVM > fault) and then get it to see my 3ware 9650 arrays (needed to install > drivers from 3ware). The problem is my corrupted pool is not visible > by zpool command. Now, I have two pools on the server: zroot and > backup. The backup is visible (and not faulted) but zroot is not > visible under Solaris - this is the one I have problems with, and also > use as boot disk in FreeBSD: > > root@openindiana:~# zpool import > pool: backup > id: 8416389847782759507 > state: ONLINE > status: The pool is formatted using an older on-disk version. > action: The pool can be imported using its name or numeric identifier, though > some features will not be available without an explicit 'zpool upgrade'. > config: > > backup ONLINE > mirror-0 ONLINE > c4t1d0p0 ONLINE > c4t2d0s2 ONLINE > root@openindiana:~# zpool import zroot > cannot import 'zroot': no such pool available > root@openindiana:~# zpool import -fFn zroot > cannot import 'zroot': no such pool available I believe the command here is wrong, and that you should be using "zpool import 8416389847782759507" or "zpool import 8416389847782759507 zroot". I've seen many cases where using the pool name doesn't work. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |