A decent iSCSI-target VM with UNMAP/DISCARD support

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

niekbergboer

Active Member
Jun 21, 2016
156
61
28
46
Switzerland
My homelab by now is a three-node Proxmox VE / Ceph system with 10 GBe networking (Intel X520-DA1). By now, I used bootutil to have my workstation boot off iSCSI as well.

Of course, Proxmox VE does not provide iSCSI targets out of the box, but as I wanted the data to reside on Ceph RBD anyway, I now use a OpenMediaVault VM to act as a "converter plug" between Ceph (through KVM; it's the Proxmox host that does the Ceph part) and iSCSI.

This works wonderfully; since things are often cached in RAM on the nodes and/or in the OMV VM, booting is _blazingly_ fast, but the one problem is that the IETD-based iSCSI target in OMV does not seem to support SCSI UNMAP/DISCARD.

Can you recommend another NAS/iSCSI target implementation that I could run as a VM that does support UNMAP?