I’ve installed the ZFS addon driver for OpenNebula per the readme on the project GitHub page but I cant get it to work. When i create a new VM it still goes to the system default datastore and I dont have the option when creating the VM to select the ZFS datastore that I created. I’m also not sure why the available storage isnt populated.
datastore info:
DATASTORE 100 INFORMATION
ID : 100
NAME : zfs
USER : oneadmin
GROUP : oneadmin
CLUSTERS : 0
TYPE : IMAGE
DS_MAD : zfs
TM_MAD : zfs
BASE PATH : /var/lib/one//datastores/100
DISK_TYPE : BLOCK
STATE : READY
DATASTORE CAPACITY
TOTAL: : 0M
FREE: : 0M
USED: : 0M
LIMIT: : -
PERMISSIONS
OWNER : um-
GROUP : u–
OTHER : —
DATASTORE TEMPLATE
ALLOW_ORPHANS=“NO”
CLONE_TARGET=“SELF”
DATASET_NAME=“raid/images”
DISK_TYPE=“BLOCK”
DS_MAD=“zfs”
LN_TARGET=“NONE”
RESTRICTED_DIRS="/"
SAFE_DIRS="/var/tmp"
TM_MAD=“zfs”
ZFS list output:
NAME USED AVAIL REFER MOUNTPOINT
raid 324K 7.02T 50.2K /raid
raid/images 47.8K 7.02T 47.8K /raid/images