Truenas' plugin for Proxmox

I’m trying to find out exactly how this works and if @LTS_Tom had seen it…

Questions

  1. It says it “builds the disks” when a proxmox vm is created. Do you have to dedicate a pool? Does it add a new dataset for each vm/ct/lxc? a new directory w/i a dataset?
  2. Pros and Cons? I’d say security is certainly a consideration, especially if it doesn’t prompt for credentials before deletion,etc. I’m hoping proxmox is only given access to datasets/whatever created by proxmox using this tool.
  3. Is there a place for this in the homelab???
1 Like

1 Like

I’ve recently installed this plugin in my homelab, so I can share some firsthand experience.

  1. How does storage provisioning work?

You don’t need a dedicated pool, just a dataset within an existing pool. The plugin creates a separate ZFS zvol for each virtual disk, rather than a dataset or directory for each VM.

  1. Pros, cons, and security?

The big advantage is eliminating the manual iSCSI configuration and provisioning work. The security concern is legitimate, since TrueNAS API permissions aren’t currently dataset-scoped, meaning the plugin’s API credentials can potentially affect storage outside its designated dataset.

  1. Is there a place for it in the homelab?

Absolutely, particularly if you’re already running TrueNAS and Proxmox. It’s a convenient way to provision ZFS-backed block storage for VMs, although I wouldn’t rush to migrate everything until the plugin matures a bit more.

My experience:

I recently used it to provision a 750 GiB thin-provisioned disk for Project NOMAD, which runs in an Ubuntu VM on Proxmox. I created a dedicated dataset on TrueNAS, configured the plugin in Proxmox, and then simply added the disk to the VM through the Proxmox GUI. The plugin automatically created the zvol, configured the iSCSI extent, mapped it to the target, and presented the disk to Proxmox. All I had to do afterward was partition, format, and mount it inside Ubuntu.

Without the plugin, I would have needed to manually create the zvol and iSCSI extent in TrueNAS, configure the target and LUN mapping, discover the iSCSI target from Proxmox, and configure the storage there. The plugin eliminated virtually all of that work.

2 Likes

I will eventually take a look at it, but my preference is still to just use NFS

1 Like

Okay guys, thank you for the replies. I might take a look at it or try it on at least one of my Proxmox boxes.

It’s really cool. I set it up using NVME over TCP, which is kind of the new iSCSI. It’s lower latency, less CPU (lower latency I’m guessing because it’s using native NVME commands not SCSI that has to be translated) and better parallelism. In order to get the plugin to work with NVME over TCP , I had to install the very latest RC of Truenas and the very latest beta of the Truenas plugin.

When you create a vm you just select the pool you setup and it it provisions a dataset on the Truenas that is exactly the size of the disk of the VM you just created.

I also tried moving an existing VM’s disk onto the Truenas storage and it caused the VM to become unbootable. If anyone ran into that and figured it out , let me know. I only did a tiny amount of troubleshooting for that.

I just think it’s really cool because it makes using shared storage dead simple and it has support for NVME over TCP. You just install the plugin and you don’t have to do anything manually in Truenas like with NFS or iSCSI or anything.