To export a pool, use the zpool export command. For example:
# zpool export tank
The command attempts to unmount any mounted file systems within the pool before continuing. If any of the file systems fail to unmount, you can forcefully unmount them by using the –f option. For example:
# zpool export tank cannot unmount '/export/home/eric': Device busy # zpool export -f tank
After this command is executed, the pool tank is no longer visible on the system.
If devices are unavailable at the time of export, the devices cannot be identified as cleanly exported. If one of these devices is later attached to a system without any of the working devices, it appears as potentially active.
For more information about ZFS volumes, see ZFS Volumes.