unknown section type 'linux' in tape.cfg

roadrunner_rad

Active Member
Aug 6, 2019
51
5
28
62
After upgrading our test pbs to 1.1-2 no tape or changer activities can be performed without error.

On shell level I get the following error message:

root@pbs:~# proxmox-tape changer list Error: parsing '/etc/proxmox-backup/tape.cfg' failed: line 4 - unknown section type 'linux' root@pbs:~# cat /etc/proxmox-backup/tape.cfg changer: HPMSL path /dev/tape/by-id/scsi-MXA303Z0UD_LL1 linux: HPLTO changer HPMSL path /dev/tape/by-id/scsi-HU1249TLGF-nst root@pbs:~#

May be this is related to the new tape and changer modules (I did the autoremove for mt and mtx) but I have no idea what to specify instead of 'linux' for tape. Did not find a reference so any help is welcome...

Regards
Joachim
 
we changed how we address the tape devices
the section name is now 'lto' and the path to the tape devices changed, you have to use the '-sg' symlink, e.g. here i use:
Code:
changer: changer1
        path /dev/tape/by-id/scsi-387408F60F0000

lto: ch_drive1
        changer changer1
        path /dev/tape/by-id/scsi-0054894304-sg

lto: ch_drive2
        changer changer1
        changer-drivenum 1
        path /dev/tape/by-id/scsi-1240632156-sg

please note that as long as the tape feature is a 'technology preview' it can happen that things break from time to time
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!