18.07.2019 – Linux/ZFS/Mount_zvol.md

Mount zvol

Trivial if /dev/zdXpY exists

1
$ sudo mount /dev/zdxpY /mnt/tmp

If only /dev/zdX exists use

1
$ fdisk -l /dev/zdX

to find out the start sector of the respective partition and use the offset option to mount the partition

1
$ sudo mount -o offset=1048576 /dev/zdX /mnt/tmp