We are trying to build a native storage plugin for Proxmox that uses the API to manage ZFS over ISCSI. Unfortunately several zfs commands are not implemented in the API. This forces us to use ssh+root to execute zfs commands directly on the TrueNAS host.
Eg. Creating linked clones requires the renaming of a zvol from
vm-<VMID>-disk-0
→ base-<VMID>-disk-0
.
We noticed that the ability to rename a zvol has also been removed from the WebUI, leaving the only option shell commands.
Considering there are reasonable reasons to use these zfs commands would it be reasonable to implement them in the API for advanced users but leave them out of the WebUI to prevent whatever problem you are trying to avoid?