Location of .raw file in zfs storage

Arty

New Member
Mar 10, 2018
2
0
1
45
Hi,

The documentation says that the file is in:
Code:
# pvesm path local:100/vm-100-disk10.raw
/var/lib/vz/images/100/vm-100-disk10.raw
but i see
Code:
root@hv1:/dev/zvol/zfspool/zfsdata# zfs list
NAME                            USED  AVAIL  REFER  MOUNTPOINT
zfspool                         250K   899G    24K  /zfspool
zfspool/zfsdata                  36K   899G    24K  /zfspool/zfsdata
zfspool/zfsdata/vm-112-disk-1    12K   899G    12K  -
Code:
root@hv1:/zfspool# pvesm path local-zfsvm:vm-112-disk-1.raw
/dev/zvol/zfspool/zfsdata/vm-112-disk-1.raw
Code:
root@hv1:/dev/zvol/zfspool/zfsdata# ls -lha /dev/zvol/zfspool/zfsdata/
total 0
drwxr-xr-x 2 root root 60 Mar 10 22:23 .
drwxr-xr-x 3 root root 60 Mar 10 22:23 ..
lrwxrwxrwx 1 root root 12 Mar 10 22:23 vm-112-disk-1 -> ../../../zd0
it's just a symlink.
Where can i find the .raw file in zfs storage?
How i can mount this disk?

Thanks!
 
You use storage 'local' (not ZFS). Anyways, the file is at
/var/lib/vz/images/100/vm-100-disk10.raw

(it is just a .raw file, not a zfs subvolume).
 
  • Like
Reactions: Stryder