ZFS - how to recover pool after power loss?
James R. Van Artsdalen
james-freebsd-fs2 at jrv.org
Wed Jun 27 11:15:37 UTC 2007
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
#
More information about the freebsd-fs
mailing list