Mounting external ZFS volume
If you need to perform a data recovery from an external ZFS [zfs] volume you may find those hinds helpful:
- Attach encrypted partition where ZFS pool resides with:
geli attach /dev/your_device_partition
- Import ZFS pool at given mountpoint (
/mnt/zfs
):zpool import -af -R /mnt/zfs
Modify mount point location for a given dataset that may have mountpoint set to - Mount and mount all pool datasets:
zfs mount -a zfs umount -a
- Mount/umount given dataset:
zfs mount zroot/ROOT/default
- You can verify if your ZFS pool is active with:
zpool status
- You can see what ZFS datasets are available with mount points with:
zfs list
none
what marks it as no mount (note this mountpoint will append to parent mount point location):
zfs set mountpoint=ROOT zroot/ROOT/default