While developing the TrueNAS Storage Plugin for Proxmox VE I ran into an issue where fast cloning is not supported and completely bypassed even if the storage plugin advertises it supports cloning. It seems to be if Proxmox sees the storage is a block device of any kind, it will skip the cloning functions built into the storage plugin. In normal circumstances I would understand that, but since in this case we are using ZFS for the storage backend, it's trivial to actually do a full clone.
Could the storage backend be changed to no longer ignore the advertised support in the plugin for cloning even if it's a block device? It takes seconds to clone the zVol in TrueNAS and then advertise and attach it. There's a lot of extra bandwidth and processing power being wasted reading and writing back to the same storage.
It really a minor thing, as I'm sure people aren't cloning very often but this does seem to be a spot where PVE can be optimized.
Thanks!
Could the storage backend be changed to no longer ignore the advertised support in the plugin for cloning even if it's a block device? It takes seconds to clone the zVol in TrueNAS and then advertise and attach it. There's a lot of extra bandwidth and processing power being wasted reading and writing back to the same storage.
It really a minor thing, as I'm sure people aren't cloning very often but this does seem to be a spot where PVE can be optimized.
Thanks!