Is there a benefit or negative consequence to have your VM volumes under the iocage filesystem? I realize that iocage is for jails, but should the vm volumes be elsewhere?
There are no technically negative consequences as far as I know but from a management point of view wouldn't it be preferable to have different things in separate places?
Things to consider:
pool topology - do you have more than one pool? VMs definitely profit from SSDs and/or mirrored vdevs instead of RAIDZ
cache/sync policy - you might want so set sync=always for VMs, if your underlying device is fast enough
snapshot/replication policy - you might want to have different frequency and/or retention for VMs and jails
Datasets are "dirt cheap" in ZFS, you can easily have hundreds of them. I use e.g. mypool/vm/vmname-disk0 for my zvols.
You make a very good point. I do have a few SSDs that I could install and not add to the zraid, and put at least the boot volumes for those VMs on those devices instead.
Now to find the easy way to migrate...
Create a snapshot
zfs send
change pool contents
remove disks from vm
zfs receive
add disks back to vm
maybe?
Looks like its a success. Boot volumes are on SSD, with a data drive outside of the iocage on ZRAID. Initially, for some reason, VNC did not work, but rebooting the system fixed that. No IP change on the NAS *shrug*.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.