Hi I just want to make sure my logic here is correct since by no means am I a ZFS expert.
I'm using FreeNAS 11.3 (not sure if this matters).
Initially I've created a Linux VM with a ZVOL which was placed within a ZFS dataset. My understanding is a ZVOL is a block level device. I went ahead and installed the OS and configured the VM installing various packages, etc. I basically set the VM up to be a good "base VM" installing my usual packages - (ifconfig, zsh, etc).
Once done with the configuration, I took a snapshot of the ZVOL manually and then continued to make modifications of the VM. Auto snapshots were taken with FreeNAS along the way. For purposes of this discussion I'm going to call this first manual snapshot the "base snapshot".
What I'd like to do is actually replicate the "base ZVOL" and use this replicated ZVOL for a completely different VM. I dont want the ZVOLs linked or tied to each other in any way. I understand if the original ZVOL was allocated 20GB the new ZVOL should be allocated an additional 20GB.
My question is how to replicate the "base ZVOL" or is there not such a thing?? Am I totally incorrect in thinking that if I replicate the "base snapshot" via a zfs send/receive command that this will recreate the "base ZVOL"?
I'm using FreeNAS 11.3 (not sure if this matters).
Initially I've created a Linux VM with a ZVOL which was placed within a ZFS dataset. My understanding is a ZVOL is a block level device. I went ahead and installed the OS and configured the VM installing various packages, etc. I basically set the VM up to be a good "base VM" installing my usual packages - (ifconfig, zsh, etc).
Once done with the configuration, I took a snapshot of the ZVOL manually and then continued to make modifications of the VM. Auto snapshots were taken with FreeNAS along the way. For purposes of this discussion I'm going to call this first manual snapshot the "base snapshot".
What I'd like to do is actually replicate the "base ZVOL" and use this replicated ZVOL for a completely different VM. I dont want the ZVOLs linked or tied to each other in any way. I understand if the original ZVOL was allocated 20GB the new ZVOL should be allocated an additional 20GB.
My question is how to replicate the "base ZVOL" or is there not such a thing?? Am I totally incorrect in thinking that if I replicate the "base snapshot" via a zfs send/receive command that this will recreate the "base ZVOL"?