Tape confusion in PBS 3.1-5

ok, for me this sounds like either the config is simply wrong, or the changer does present the tapes in a weird way so that we load the wrong one everytime

to test, could you maybe, unload all tapes from all drives.

load a single tape into a drive (any of the configured ones are ok)

post the output of

Code:
proxmox-tape status --drive <drivename>
proxmox-tape read-label --drive <drivename>
proxmox-tape changer status <changername>
pmtx status --changer <changername>

and post a screenshot of the (web?) ui of the changer itself


after that, try to format it until 'proxmox-tape read-label --drive <drivename>' shows it's empty
after that please try to label it again, and immediatly afterwards try to read the label again

(also post the relevant task logs at each step please)

this procedure should show us at which step the problem occurs, and with that we can hopefully find the underlying issue
 
Multiple times you repeated that you think the configuration or something was wrong so I took the time to verify everything again but this time I also went physically to the charger and inspected the configuration.
And you were right !!! The people who installed the changer made a mistake in the configuration and the tape was always loaded in the wrong drive.

Long story short I have formatted and re-labeled all tapes and a backup is running. Seems to work. Finger crossed.
I'm currently running some backups and will also test the restore.

Only thing that still not working is ejecting/unloading the tapes :
I updated to PBS 3.2-2 and still got this error:

Code:
proxmox-tape eject --drive Drive1
TASK ERROR: unload drive failed - Illegal Request, ASC=3b, vendor specific qualification ASCQ=90 (hex)
Error: task failed (status unload drive failed - Illegal Request, ASC=3b, vendor specific qualification ASCQ=90 (hex))

Do you think the patch you made will solve that ? Do you know when it will be released ?

Again many thanks for your help on that problem.
 
Do you think the patch you made will solve that ? Do you know when it will be released ?
there should be an option on the cli for 'eject before unknown' since proxmox-backup-server version 3.1.3-1

to configure that you should do

Code:
proxmox-tape changer update <changername> --eject-before-unload 1

or did you set that already?
 
In the bugs here https://bugzilla.proxmox.com/show_bug.cgi?id=4904#c4 it's written that the option is

PHP:
proxmox-tape changer update <changer-name> --options eject-before-unload=true

I was using that and received an error that the option is not working.

With your new command there is no error but I have to wait that the backup is finished to confirm if it works or not.
Perhaps you can correct the command in the bugtracker is case other people need it ?
 
In the bugs here https://bugzilla.proxmox.com/show_bug.cgi?id=4904#c4 it's written that the option is

PHP:
proxmox-tape changer update <changer-name> --options eject-before-unload=true

I was using that and received an error that the option is not working.

With your new command there is no error but I have to wait that the backup is finished to confirm if it works or not.
Perhaps you can correct the command in the bugtracker is case other people need it ?
sure i'll update it. but in general it's better to look at the actual docs/manpages/etc. especially for options

please update here or in the bug tracker if it actually works, so we can set the bug to fixed :)
 
sure i'll update it. but in general it's better to look at the actual docs/manpages/etc. especially for options
Of course. But at the time the documentation was not updated and as you can see I kept the command line as is. :)
Thanks for the bug update.
please update here or in the bug tracker if it actually works, so we can set the bug to fixed :)
I'll do. Backup is around 450TB so it will take some time to finish. I hope it will be OK on Monday.
 

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!