Right way to pass 24 disks to VM

kn2mUc

Renowned Member
Jan 30, 2016
25
0
66
42
Im wanting to virtualise a backup FreeNAS system which is intended to have 24 hard disks exposed to it.
I tried exposing the disks via editing the vm .conf file as follows:

Code:
sata1: /dev/disk/by-id/ata-ST4000LM016-1N2170_W801xxxx
sata2: /dev/disk/by-id/ata-ST4000LM016-1N2170_W801xxxx
sata3: /dev/disk/by-id/ata-ST4000LM016-1N2170_W801xxxx
...
sata8: /dev/disk/by-id/ata-ST4000LM016-1N2170_W801xxxx

But its limited to 6 devices, virtio is limited to 15, whats the optimal and most reliable way of passing the disks through to the VM - expose the controller card(s) instead?

thanks in adv