zfsa-pool-destroy(1)

Destroy a pool and everything on it

ZFS Assistant 0.7.0

NAME

zfsa-pool-destroy - Destroy a pool and everything on it

SYNOPSIS

zfsa pool destroy [GLOBAL OPTIONS] [-h|--help] <POOL>

DESCRIPTION

Destroy a pool and everything on it.

Every dataset, snapshot and file on the pool is lost. You must type the pool's name, or give --yes --confirm NAME without a terminal. The pool that holds the running system is refused. This can't be undone.

OPTIONS

-h, --help

Print help (see a summary with '-h')

<POOL>

The pool

EXAMPLES

Destroy a pool after typing its name:

zfsa pool destroy scratch

Destroy it from a script:

zfsa --yes --confirm scratch pool destroy scratch

SEE ALSO

zfsa(1) for the global options, authorization, confirmations and exit status, zfsa-pool(1).