Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2007 05:38:21 -0500
From:      "James R. Van Artsdalen" <james-freebsd-fs2@jrv.org>
To:        freebsd-fs@freebsd.org
Subject:   ZFS - how to recover pool after power loss?
Message-ID:  <46823E1D.8060403@jrv.org>

next in thread | raw e-mail | index | archive | help
What is the right way to recover a pool after a power loss?

Neither "zpool import pool" nor "zpool import -f pool" seem to work for
me: I get a "no such pool available" error.
What *does* seem to work is to destroy the pool, then import the
destroyed pool.

The setup is a pool with a single vdev, a raidz of five USB disks. 
FreeBSD i386, the 7.0-CURRENT-200706-i386-disc1.iso image using that kernel.

# zpool import
no pools available to import
# zpool import pool
cannot import 'pool': no such pool available
# zpool import -f
no pools available to import
# zpool import -f pool
cannot import 'pool': no such pool available
# zpool destroy pool
# zpool import -D -f pool
#



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46823E1D.8060403>