Default Mount Point for Storage Pools Not Empty
When a pool is created, the default mount point for the top-level file system is /pool-name. If this directory exists and contains data, an error occurs.
To create a pool with a different default mount point, use the zpool create -m
mountpoint command. For example:
$ zpool create system1 c1t0d0 default mountpoint '/system1' exists and is not empty use '-m' option to provide a different default $ zpool create -m /export/zfs system1 c1t0d0
This command creates the new pool system1
and the system1
file system with a mount point of /export/zfs
.
For more information about mount points, see Managing ZFS Mount Points.