Migrating ZFS Pools
Last updated
Last updated
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 -f tank
To discover available pools, run the zpool import
command with no options. For example:
zpool import
After a pool has been identified for import, you can import it by specifying the name of the pool or its numeric identifier as an argument to the zpool import command. For example:
zpool import tank