Can I assign a virtual disk as a SCSI device with LSI controller?

Hi all,

I have an ancient FreeBSD 6 virtual machine that I would like to move from Proxmox to TrueNAS CE. SATA AHCI was introduced in FreeBSD 8 :wink:

I need to connect the virtual disk via a virtual LSI parallel SCSI HA. KVM/qemu can do that, worked without a hitch under Proxmox. Unfortunately that option is not available in the TrueNAS UI.

Any chance with some command line magic?

Thanks in advance,
Patrick

You’re right in that there’s nothing in the webUI (or the API underneath) to add these types of legacy virtual storage controllers in a VM.

The libvirt VM config isn’t stored as XML, but within the TrueNAS config, so while you might be able to set something up in virsh manually by editing the XML and adding a line like

<controller type='scsi' index='0' model='lsilogic'>

I don’t know that it would stick after a UI-controlled stop/start.