Use LTO Tape in Virtual Machine Error

Fábio Pires

New Member
Apr 7, 2017
3
0
1
41
Hi dear, this is my first time here and have a BIG question.

I'm using PROXMOX no-subscription version 4.4-13/7ea56165. I'm have a TANDEBERG LTO6 in Phisica Machina and create a Virtual Machine using Debian GNU / Jessie X86_64.

I'm install all packages using how to https://pve.proxmox.com/wiki/Tape_Drives with SucessFull.

On virtual Machine the comand "lsscsi" show output:

[1:0:0:0] cd/dvd QEMU QEMU DVD-ROM 2.5+ /dev/sr0
[2:0:0:0] disk QEMU QEMU HARDDISK 2.5+ /dev/sda
[4:0:0:0] tape TANDBERG LTO-6 HH 3519 /dev/st0

After this i'm need use LTFS on Virtual Machine. I'm install LTFS program on Virtual Machine but /proc/scsi doesn't exist and receive this error:

TFS17085I Plugin: Loading "unified" iosched
LTFS20032E Error remapping st device /dev/nst0 to sg : Unable to open /proc/scsi/sg/devices
LTFS20033E Unable to find matching sg device for /dev/nst0
LTFS12012E Cannot open device: failed backend open call
LTFS10004E Cannot open device '/dev/nst0'

On virtual machine directory /proc/scsi/sg/devices doesn't exist.

How to step to create this directory automatically.

Best Regards.
 
Hi mir, i'm loaded module sg.

scsi_mod 191405 11 sg,st,osst,scsi_transport_iscsi,libata,sd_mod,sr_mod,iscsi_tcp,ib_iser,libiscsi,virtio_scsi

How to force Virtual Machine create /proc/scsi structure ?
 
I'm searching that in new debian vesion /proc/scsi migrate to sysfs.

I'm need recompile kernel and activate CONFIG_SCSI_PROC_FS option to create /proc/scsi .

Thanks
 
Hi dear, this is my first time here and have a BIG question.

I'm using PROXMOX no-subscription version 4.4-13/7ea56165. I'm have a TANDEBERG LTO6 in Phisica Machina and create a Virtual Machine using Debian GNU / Jessie X86_64.

I'm install all packages using how to https://pve.proxmox.com/wiki/Tape_Drives with SucessFull.

On virtual Machine the comand "lsscsi" show output:

[1:0:0:0] cd/dvd QEMU QEMU DVD-ROM 2.5+ /dev/sr0
[2:0:0:0] disk QEMU QEMU HARDDISK 2.5+ /dev/sda
[4:0:0:0] tape TANDBERG LTO-6 HH 3519 /dev/st0

After this i'm need use LTFS on Virtual Machine. I'm install LTFS program on Virtual Machine but /proc/scsi doesn't exist and receive this error:

TFS17085I Plugin: Loading "unified" iosched
LTFS20032E Error remapping st device /dev/nst0 to sg : Unable to open /proc/scsi/sg/devices
LTFS20033E Unable to find matching sg device for /dev/nst0
LTFS12012E Cannot open device: failed backend open call
LTFS10004E Cannot open device '/dev/nst0'

On virtual machine directory /proc/scsi/sg/devices doesn't exist.

How to step to create this directory automatically.

Best Regards.
Hi,
I have tried to "path through" an lto-jukebox years ago - it's don't work for me.

The jukebox should run with bareos (like bacula) and I choose another aproach, which run well:
The jukebox was used on the pve-node from bareos-sd (storage daemon) and the virtual backup-server run the bareos-director (with DB and so on). Run fast and without trouble.

Udo