HomeFreeBSD

Add a new ZFS test case for importing destroyed pools

Description

Add a new ZFS test case for importing destroyed pools

tests/sys/cddl/zfs/tests/cli_root/zpool_import/Makefile
tests/sys/cddl/zfs/tests/cli_root/zpool_import/zpool_import_destroyed_001_neg.ksh
tests/sys/cddl/zfs/tests/cli_root/zpool_import/zpool_import_test.sh
Test that importing a destroyed pool with an out-of-date
non-destroyed label will fail. This can happen if a disk gets
removed from the system, the pool has a configuratoin change, the
pool gets destroyed, the disk gets reinserted, and the admin tries
to import the pool.

Sponsored by: Spectra Logic Corp

Details

Provenance
asomersAuthored on
Parents
rS323937: Fix intermittency in ZFS tests that disable SAS phys
Branches
Unknown
Tags
Unknown