LCTL-POOL_DESTROY(8)

NAME
lctl-pool_destroy - delete an OST pool

SYNOPSIS
lctl pool_destroy [-n|--nowait] FSNAME.POOLNAME

DESCRIPTION
Delete an OST pool with the name POOLNAME in the filesystem named FSNAME. The lctl pool_destroy command must be run on the MGS node and can only be used by the root user.

NOTES
After updating the MGS configuration, this command tries to wait and check if pools are updated on a client. If the MGS is on a separate node from the MDS, a Lustre client must be mounted on the MGS node while the lctl commands are being run for this. Otherwise, the client check is skipped.

OPTIONS

-n, --nowait
    Do not wait and check if pool is updated on a client. This is useful when calling a lot of 'lctl pool_*' commands in a row, to avoid waiting for each command to complete.

EXAMPLES
Delete a pool named flash in the testfs filesystem:
        # lctl pool_destroy testfs.flash

AVAILABILITY
lctl pool_destroy is part of the lustre(7) filesystem package since release 1.7.0

SEE ALSO
lfs-df(1), lfs-find(1), lfs-setstripe(1), lustre(7), lctl-pool_add(8), lctl-pool_list(8), lctl-pool_new(8), lctl-pool_remove(8)