Proxmox Storage Plugin API Enhancements for dataset / zvol management

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-0base-<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?

4 Likes

Thanks for posting this. I’m out of votes, unfortunately.

I’d really like to start teaching myself how to use ZFS over iSCSI in Proxmox. I think it would really simplify my storage workflow for new VMs and LXCs.

Good luck on your webhooks-based plugin. :slight_smile:

I wonder whether ZFS over ISCSI naming will cause a shitstorm this time. I saw it once at the old forum… :wind_face::tornado::man_farmer::zap::fire: