ZPOOL-DESTROY(8)

πŸ’… ZPOOL-DESTROY β€” ok bestie, we're deleting a whole pool

section 8 of the System Manager's Manual, ZFS girlies only, iykyk 🫢

✨ NAME ✨

zpool-destroy β€” destroy a ZFS storage pool πŸ’€


🌸 SYNOPSIS 🌸

zpool destroy [-f] pool

πŸŽ€ DESCRIPTION πŸŽ€

okay so. this command destroys the given pool, which frees up any devices for other use. the whole thing. gone. not me being dramatic, that's literally what it does 😭

it also tries to unmount any active datasets before destroying the pool β€” like, it's being polite about it, giving them a heads up first.

  • -f β€” forcefully unmount all active datasets. no negotiating, no asking twice, we're going in πŸ’…

πŸ¦‹ EXAMPLES πŸ¦‹

Example 1: Destroying a ZFS Storage Pool

the following command destroys the pool tank and any datasets contained within:

# zpool destroy -f tank

the way that one line takes out the entire tank pool and everything inside it… main character energy fr fr πŸ‘‘


and that's the whole page, bestie! this absolute icon of a manual page is brought to you by OpenZFS, dated July 11, 2022 β€” shoutout to the ZPOOL-DESTROY(8) girlies, stay slay, and please double-check which pool you typed before you hit enter πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from