Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2011 09:53:52 +0200
From:      =?iso-8859-2?Q?=A9imun_Mikecin?= <numisemis@gmail.com>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS failed after hard power off
Message-ID:  <84DF4838-CE43-430E-8C3A-4CC7881E44BD@gmail.com>
In-Reply-To: <20110401013603.GA31034@icarus.home.lan>
References:  <AANLkTi=CJu2FByAQUzZVr6C76aU1QXaE6Yx-rScsrgxq@mail.gmail.com> <BANLkTinx5=HACL3cRB%2BsRmGHsUwo6AvzXw@mail.gmail.com> <AANLkTi=kkAwwoiaSeW95nHFFT89YBLC_-sUxeRzp8hTA@mail.gmail.com> <BANLkTinYX9_Lm-1xAp-HtZm2yDogjxMwVA@mail.gmail.com> <AANLkTi=Ohyq5XVyhUkxfoiJL8%2B37HxC%2Bw3SpN-S-Ad3k@mail.gmail.com> <20110401013603.GA31034@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help


On 1. tra. 2011., at 03:36, Jeremy Chadwick wrote:

> 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.

He has two pools: backup and zroot. Only backup is visible.
So he shouldn't do as you suggested, because it will rename his backup pool to zroot, which will bring the confusion, because it is not the original zroot pool.
To be able to import his original zroot pool, it needs to be visible to "zpool import" as a first step.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84DF4838-CE43-430E-8C3A-4CC7881E44BD>