Hi,
we have a IBM Tape lib with 730 Slots we used to run with TSM but now moved to PBS. I tried interfacing the TS4500 with Proxmox and it works mostly.
We connected 4 Drives and once i figured out the drive ids for the exposed drives they can do stuff and the changer works as well.
What doesn't work is handling Tapes in the Frontend. Moving a tape to a drive or trying to format it results in an error.


Same error when trying to format.
Labeling tapes with the Barcode Label button works. Tape Backup jobs also get tapes from the changer and do stuff. Moving Tapes from Slot to slot also works.
The tapes show with ^@^@ at the end but in the frontend the correct labels show.
When i manually load a tape with e.g. proxmox-tape load-media-from-slot 2 --drive drive4 i can do all but the Label Media drive operations with the loaded drive, format and eject works.
Looks like a regex bug somewhere, what do you recommend I do?
pbs version 4.1.1
Thanks
we have a IBM Tape lib with 730 Slots we used to run with TSM but now moved to PBS. I tried interfacing the TS4500 with Proxmox and it works mostly.
We connected 4 Drives and once i figured out the drive ids for the exposed drives they can do stuff and the changer works as well.
What doesn't work is handling Tapes in the Frontend. Moving a tape to a drive or trying to format it results in an error.


Same error when trying to format.
Labeling tapes with the Barcode Label button works. Tape Backup jobs also get tapes from the changer and do stuff. Moving Tapes from Slot to slot also works.
Code:
┌───────────────────────────────────────┬────────┬──────────┬──────────────────┐
│ path │ vendor │ model │ serial │
╞═══════════════════════════════════════╪════════╪══════════╪══════════════════╡
│ /dev/tape/by-id/scsi-0000078BB2500401 │ IBM │ 03584L32 │ 0000078BB2xxxxxx │
└───────────────────────────────────────┴────────┴──────────┴──────────────────┘
┌──────┬───────────────────────────────────────┬────────┬──────────┬──────────────────┐
│ name │ path │ vendor │ model │ serial │
╞══════╪═══════════════════════════════════════╪════════╪══════════╪══════════════════╡
│ vtl0 │ /dev/tape/by-id/scsi-0000078BB2500401 │ IBM │ 03584L32 │ 0000078BB2xxxxxx │
└──────┴───────────────────────────────────────┴────────┴──────────┴──────────────────┘
Code:
┌───────────────┬──────────┬────────────┬─────────────┐
│ entry-kind │ entry-id │ label-text │ loaded-slot │
╞═══════════════╪══════════╪════════════╪═════════════╡
│ drive │ 0 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ drive │ 1 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ drive │ 2 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ drive │ 3 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ drive │ 4 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ import-export │ 36 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ import-export │ 731 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ import-export │ 732 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ import-export │ 733 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ import-export │ 734 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ import-export │ 735 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
[..]
│ import-export │ 985 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 1 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 2 │ N01038L7^@^@ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 3 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 4 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 5 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 6 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 7 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 8 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 9 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 10 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 11 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 12 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 13 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 14 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 15 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 16 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 17 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 18 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 19 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 20 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 21 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 22 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 23 │ P0025SL7^@^@ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 24 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 25 │ │ │
[..]
│ slot │ 725 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 726 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 727 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 728 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 729 │ │ │
├───────────────┼──────────┼────────────┼─────────────┤
│ slot │ 730 │ │ │
└───────────────┴──────────┴────────────┴─────────────┘
The tapes show with ^@^@ at the end but in the frontend the correct labels show.
When i manually load a tape with e.g. proxmox-tape load-media-from-slot 2 --drive drive4 i can do all but the Label Media drive operations with the loaded drive, format and eject works.
Looks like a regex bug somewhere, what do you recommend I do?
pbs version 4.1.1
Thanks
Last edited: