You should probably try and read up on ZFS as the commands you are trying are nonsense and you're only going to get yourself into trouble at some point.
When you ran the
zpool create
command, you created a new zpool containing the one disk, as shown in your status output
Code:
pool: tank
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
ada1p3 ONLINE 0 0 0
When a pool is created, a single ZFS filesystem (called a dataset in ZFS terms) is created. This will be called
tank, and is mounted on
/tank. You should be able to see this clearly by running
zfs list
. (this is the command to list ZFS datasets).
You can easily change the mountpoint of a dataset to put it where you want. You'd do the following to mount the
tank dataset on
/usr/home:
Code:
zfs set mountpoint=/usr/home tank
Personally I would probably do the following:
1) Create a new dataset on the new pool for your home data
By default this will be mounted on
/tank/home. You can check
mount
output to confirm this.
2) Copy any existing data from
/usr/home to
/tank/home in order to move your data to the new disk
3) Change the mountpoint for the new dataset to
/usr/home*
Code:
zfs set mountpoint=/usr/home tank/home
*Note that if there's already a dataset on your root pool mounted on
/usr/home, you should ideally unmount that and stop it mounting before trying to mount the new dataset there. Seeing the
zfs list
output would confirm that.
Code:
zfs umount rootpool/usr/home
zfs set canmount=no rootpool/usr/home
Once you're sure you no longer need the old home dataset you can delete it
Code:
zfs destroy rootpool/usr/home