I have created a ZVOL that I want to use as an iSCSI extend for my ESX server.
I would also like to mount this ZVOL (read-only) so I can browse the ZVOL.
Untill now I have only created the ZVOL and tried to mount it.
ZVOL "iSCSI" shows up in /dev/zvol/SAN/
Created dir /tmp/test
Trying to mount this read-only:
I have tried a new install in a VM. (9.1.2.7)
Created a ZVOL, created manual snapshot and cloned the snapshot.
Still i can't mount it.
What am I doing wrong?
In my final setup I would like to snapshot and replicate the ZVOL to a seperate pool (single 4TB disk).
I want to mount the replicated ZVOL on the backup pool, and be able to access this over NFS so i can easily restore VM's.
I would also like to mount this ZVOL (read-only) so I can browse the ZVOL.
Untill now I have only created the ZVOL and tried to mount it.
ZVOL "iSCSI" shows up in /dev/zvol/SAN/
Code:
[root@claustofobia] ~# cd /dev/zvol/SAN/ [root@claustofobia] /dev/zvol/SAN# ls ./ ../ iSCSI
Created dir /tmp/test
Code:
[root@claustofobia] /tmp# ls -lah drwxr-xr-x 2 root wheel 512B Sep 1 11:08 test/
Trying to mount this read-only:
Code:
[root@claustofobia] /tmp/test# mount -r /dev/zvol/SAN/iSCSI /tmp/test/ mount: /dev/zvol/SAN/iSCSI: No such file or directory
I have tried a new install in a VM. (9.1.2.7)
Created a ZVOL, created manual snapshot and cloned the snapshot.
Still i can't mount it.
Code:
[root@freenas] /dev/zvol/SAN# mount -r /dev/zvol/SAN/iSCSI-clone-manual-20140901 /mnt/SAN/iSCSI/ mount: /dev/zvol/SAN/iSCSI-clone-manual-20140901: No such file or directory [root@freenas] /dev/zvol/SAN# [root@freenas] /dev/zvol/SAN# ls ./ iSCSI-clone-manual-20140901 ../ iSCSI@manual-20140901 iSCSI [root@freenas] /dev/zvol/SAN#
What am I doing wrong?
In my final setup I would like to snapshot and replicate the ZVOL to a seperate pool (single 4TB disk).
I want to mount the replicated ZVOL on the backup pool, and be able to access this over NFS so i can easily restore VM's.
Last edited: