Tape drive not found

mat5911

Renowned Member
Feb 3, 2014
13
1
68
Germany
Hi,

I wanted to test PBS tape backups with a Tanberg LTO-6 drive. But proxmox-tape drive scan does not find the drive.
If I do a
proxmox-drive create LTO-Test --path /dev/tape/by-id/scsi-HUJ6156274
it throws an error
Error: path '/dev/tape/by-id/scsi-HUJ6156274' is not a lto SCSI-generic tape device

This is the lsscsi output:
...
[6:0:0:0] tape TANDBERG LTO-6 HH 3579 /dev/st0
...

and the content of /dev/tape/by-id:
Code:
lrwxrwxrwx 1 root root  9 Apr  9 12:32 scsi-350014380353f920e -> ../../st0
lrwxrwxrwx 1 root root 10 Apr  9 12:32 scsi-350014380353f920e-nst -> ../../nst0
lrwxrwxrwx 1 root root  9 Apr  9 12:32 scsi-HUJ6156274 -> ../../st0
lrwxrwxrwx 1 root root 10 Apr  9 12:32 scsi-HUJ6156274-nst -> ../../nst0

Can I do anything to use the drive?
 
what does 'proxmox-tape drive scan' show?
 
Last week when I created this thread there was no output from 'proxmox-tape drive scan'. Today it shows the LTO-6.
That's strange...
I go on with my tests.

Thanks
 
Last week when I created this thread there was no output from 'proxmox-tape drive scan'. Today it shows the LTO-6.
That's strange...
I go on with my tests.

Thanks
did you reboot after upgrading? 1.1 includes some udev rules to map the tape drives to the '-sg' path in /dev/tape so maybe that was not generated until a reboot
 
I just wanted to thank you for your input, I had the same issue.

Command to relaod udev rules for the next one :
Code:
udevadm control --reload-rules && udevadm trigger
 
  • Like
Reactions: clemone210