Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2011 12:34:44 +0200
From:      Piotr Paczynski <ppaczyn@gmail.com>
To:        =?UTF-8?Q?=C5=A0imun_Mikecin?= <numisemis@gmail.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS failed after hard power off
Message-ID:  <AANLkTi=8jrD%2BY0A%2BwStQubtC9vjiBxtK_T-0LCicOwax@mail.gmail.com>
In-Reply-To: <84DF4838-CE43-430E-8C3A-4CC7881E44BD@gmail.com>
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> <84DF4838-CE43-430E-8C3A-4CC7881E44BD@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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.

I can import the "backup" pool just fine using either its name or the
guid. The zroot pool is the problem.

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

Any idea how to make it visible to "zpool import"?

I've tried importing the zroot pool using its various guids, as show
by "zdb -l /dev/dsk/c3t0d0s2":

    version: 14
    name: 'zroot'
    pool_guid: 2082617533358360017
    top_guid: 1617266672942229358

but still no luck:

root@openindiana:~# zpool import 2082617533358360017
cannot import '2082617533358360017': no such pool available
root@openindiana:~# zpool import 1617266672942229358
cannot import '1617266672942229358': no such pool available



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=8jrD%2BY0A%2BwStQubtC9vjiBxtK_T-0LCicOwax>