Forrest logo
back to the zpool tool

zpool:tldr:d0b37

zpool: Export a zpool (unmount all filesystems).
$ zpool export ${pool_name}
try on your machine

The command "zpool export ${pool_name}" is used to export or remove a ZFS storage pool from the system.

Here's a breakdown of the command:

  • "zpool export": This is the ZFS command used to export a storage pool.
  • "${pool_name}": This is a placeholder for the name of the storage pool you want to export. You need to replace "${pool_name}" with the actual name of the pool you want to export.

When you run this command, ZFS will detach the specified storage pool from the system. This means that any configured file systems or datasets within the pool will no longer be accessible, and the pool will no longer be mounted or active.

Warning: It's important to use this command with caution as exporting a pool can result in data loss if not done correctly. Make sure to have proper backups and understand the implications before running this command.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the zpool tool