ZFS failed after hard power off

Piotr Paczynski ppaczyn at gmail.com
Fri Apr 1 10:34:45 UTC 2011


>> 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 at openindiana:~# zpool import 2082617533358360017
cannot import '2082617533358360017': no such pool available
root at openindiana:~# zpool import 1617266672942229358
cannot import '1617266672942229358': no such pool available


More information about the freebsd-fs mailing list