failed - wait_until_ready failed - got timeout

emoxam

Well-Known Member
Apr 9, 2019
65
1
48
43
Hi
we've got HPE StoreEver MSL2024 connected to PBS (Backup Server 2.1-1) via FC
we've also got a bunch of tapes int the library, one of them is cleaning!

┌────────────┬──────────┬────────────┬─────────────┐
│ entry-kind │ entry-id │ label-text │ loaded-slot │
╞════════════╪══════════╪════════════╪═════════════╡
│ drive │ 0 │ │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 1 │ S60001L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 2 │ S60002L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 3 │ S60003L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 4 │ S60004L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 5 │ S60005L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 6 │ S60006L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 7 │ S60007L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 8 │ --FULL-- │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 9 │ S60009L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 10 │ S60010L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 11 │ S60011L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 12 │ S60012L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 13 │ --FULL-- │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 14 │ S60014L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 15 │ --FULL-- │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 16 │ S60016L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 17 │ S60017L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 18 │ --FULL-- │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 19 │ S60019L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 20 │ S60020L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 21 │ S60021L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 22 │ S60022L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 23 │ S60023L7 │ │
├────────────┼──────────┼────────────┼─────────────┤
│ slot │ 24 │ S60001CU │ │
└────────────┴──────────┴────────────┴─────────────┘

So when i try to make "label all unlabeled tapes" with a


proxmox-tape barcode-label --pool 111
i've got an error
Error: unable to get (default) drive name
media '' already inventoried (already labeled)
media '' already inventoried (already labeled)
media '' already inventoried (already labeled)
media '' already inventoried (already labeled)
checking/loading media 'S60001CU'
TASK ERROR: open drive 'drive' (/dev/tape/by-id/scsi-CZ28470M8J-sg) failed - wait_until_ready failed - got timeout


It's stuck with a timeout on the cleaning tape.
┌─────────────┬────────────────┐
│ Name │ Value │
╞═════════════╪════════════════╡
│ blocksize │ 0 │
├─────────────┼────────────────┤
│ density │ LTO7 │
├─────────────┼────────────────┤
│ compression │ 1 │
├─────────────┼────────────────┤
│ buffer-mode │ 1 │
├─────────────┼────────────────┤
│ alert-flags │ CLEANING_MEDIA │
└─────────────┴────────────────┘

What should we do ?
Thanks
 
does the cleaning tape have the correct barcode attached ? (i.e. one with CLN at the beginning?)

i don't think you can label cleaning tapes as they are not meant to be normally written to?
 
No my tape has name S60001CU and it's too far from me to change it's barcode.
Btw - i excluded this tape, i did the labeling, but can i write backups right to the tape ?
 
No my tape has name S60001CU and it's too far from me to change it's barcode.
for pbs to handle cleaning tapes correclty their barcode must begin with 'CLN'

Btw - i excluded this tape, i did the labeling, but can i write backups right to the tape ?
ok, but what do you mean here? you can sync datastores onto tapes.
 
Hardcoded CLN names it's unfair, between me and the library thousand miles, i can't change the barcode.

I dont' want to use some datastores which will be synced with tape library. I want to write straight onto the tapes. Any chance to do so with PBS ?
 
Hardcoded CLN names it's unfair, between me and the library thousand miles, i can't change the barcode.
using barcodes with 'CLN' is normal for cleaning tapes, see e.g. veeam documentation: https://helpcenter.veeam.com/docs/backup/vsphere/tape_barcode_labels.html?ver=110

I dont' want to use some datastores which will be synced with tape library. I want to write straight onto the tapes. Any chance to do so with PBS ?
no that is not possible, you can only sync a datastore to tape
 

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!