add a second LTO via PCIe passthrough

Feb 20, 2025
1
0
1
LS

We have a Proxmox setup with a node (ProLiant DL380 Gen10 Plus) which has 2 LTO-drives connected (via SAS HBA, E208e-p).
One drive, already succesfully installed and used since years, on PCI 11:00.0. A second one, recently added on PCI 10:00.0.
Code:
lspci -s 11:00.0 → Hewlett-Packard Company Smart Array E208e-p SR Gen10
Code:
lspci -s 10:00.0 → Hewlett-Packard Company Smart Array E208e-p SR Gen10
I am looking at how to configure a PCIe pass-through to one of the virtual machines on the node.

In the Proxmox shell on this node, I have this as output of `lsscsi --generic` :
Code:
[0:1:122:0]  enclosu BROADCOM VirtualSES       03    -          /dev/sg0
[0:1:123:0]  enclosu BROADCOM VirtualSES       03    -          /dev/sg1 
[0:1:124:0]  enclosu BROADCOM VirtualSES       03    -          /dev/sg2 
[0:3:111:0]  disk    HPE      MR416i-a Gen10+  5.22  /dev/sda   /dev/sg3 
[1:0:0:0]    tape    HPE      Ultrium 9-SCSI   S2S1  /dev/st0   /dev/sg4 
[1:0:1:0]    enclosu HPE      Smart Adapter    6.52  -          /dev/sg5 
[1:2:0:0]    storage HPE      E208e-p SR Gen10 6.52  -          /dev/sg6 
[N:0:0:1]    disk    HPE NS204i-p Gen10+ Boot Controller__1     -          -

Where I am blocked, is the qm command:
Code:
# qm set 125 -scsi1 /dev/st0
update VM 125: -scsi1 /dev/st0
volume /dev/st0 does not exist

# qm set 125 -scsi1 /dev/sg4 
update VM 125: -scsi1 /dev/sg4
volume /dev/sg4 does not exist

# qm set 125 -scsi1 /dev/tape/by-id/scsi-HUJD3NHVVY
update VM 125: -scsi1 /dev/tape/by-id/scsi-HUJD3NHVVY
volume /dev/tape/by-id/scsi-HUJD3NHVVY does not exist

# qm set 125 -scsi1 /dev/tape/by-id/scsi-3500507631220cd7e
update VM 125: -scsi1 /dev/tape/by-id/scsi-3500507631220cd7e
volume /dev/tape/by-id/scsi-3500507631220cd7e does not exist

Surprisingly, the first/oldest HBA SAS E208e-p controller is marked as "storage" (?). Although it is most definitely a tape drive.
And the dev(ices) look strange too:
Code:
# ls -l /dev/tape/by-id/
total 0
lrwxrwxrwx 1 root root  9 Mar 16 11:16 scsi-3500507631220cd7e -> ../../st0
lrwxrwxrwx 1 root root 10 Mar 16 11:16 scsi-3500507631220cd7e-nst -> ../../nst0
lrwxrwxrwx 1 root root  9 Mar 16 11:16 scsi-HUJD3NHVVY -> ../../st0
lrwxrwxrwx 1 root root 10 Mar 16 11:16 scsi-HUJD3NHVVY-nst -> ../../nst0

# ls -l /dev/tape/by-path/
total 0
lrwxrwxrwx 1 root root  9 Mar 16 11:16 pci-0000:10:00.0-sas-0x500507631260cd7e-lun-0 -> ../../st0
lrwxrwxrwx 1 root root 10 Mar 16 11:16 pci-0000:10:00.0-sas-0x500507631260cd7e-lun-0-nst -> ../../nst0

Any help on this would be very much appreciated.