- Destroy all of the ZFS pools in a shared-storage high-availability cluster

# Destroy all of the ZFS pools in a shared-storage high-availability cluster

Contents

Perform the following steps.

1. | Log into each server in the cluster framework that is connected to the same shared storage and export all of the ZFS pools:

zpool export –a

2. | On one host, import all of the zpools:

zpool import –a

3. | List the zpools:

zpool list

4. | For each pool, run the zpool destroy command:

zpool destroy [-f] <pool name>

The ‘-f’ flag will force the destruction of the pool, unmounting any active datasets that may be present.