[SOLVED] Tape drive not recognised

alex591

Active Member
Apr 20, 2021
11
2
43
46
Hi,

I previously had PBS installed on a Dell R710 alongside PVE 7.x - This was a couple of years ago, so I can't remember which version of PBS it was. The server was damaged, and has been unused since.

I've now installed PVE 9.2.3 and PBS 4.2.1 on an R730, and moved the HP 1/8 G2 Autoloader, along with the SCSI interface card, to the new machine. I have added the autoloader to the 'Changers' section, but when I go to add the drive itself, the dropdown menu for 'Path' is blank.

Looking at a copy of tape.cfg from the old server, it was using '/dev/tape/by-id/scsi-12345678-sg' (serial redacted). On the new server, only scsi-12345678 and scsi-12345678-nst show up in /dev, but neither is available to select from the GUI.

Any advice please?
 
Hi @alex591

thanks for posting on the forum!

I found a thread referencing similar issues in an ESXi environment with the same Autoloader [1]. In their case the reason seems to have been the multi-LUN nature of this device.

What kind of SCSI interface are you using for the connection?
PVE 7 was based on Debian 11 (bullseye) and PVE 9 is Debian 13 (trixie) based, so there might be drivers missing for either part of the device.

Can you please provide the journals for a boot of the server with the loader attached?
journalctl -b

Yours sincerely
Jonas

[1] https://unix.stackexchange.com/ques...medium-changer-not-detected-in-oracle-linux-8
 
Hi,

Thanks for your reply. I went to have another look, and like magic... it now works!

I did restart the server for a kernel update last night, so perhaps a restart fixed something, or a package update.

I've started the first tape backup which so far seems to be running fine (although I did get a surprise with https://bugzilla.proxmox.com/show_bug.cgi?id=5971). I'll report back if there are any further issues, but at the moment, I'm considering this solved.

Alex
 
  • Like
Reactions: j.theisen