]> git.proxmox.com Git - proxmox-backup.git/commit
tape: library status: don't fail if the library does not support DVCID
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 9 Aug 2023 09:12:55 +0000 (11:12 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 27 Nov 2023 10:35:36 +0000 (11:35 +0100)
commitdc887e93beb5e46df7b1eecdc831686d6c7a48a7
tree6983f006023b8c3d733211da5c54918fb6fec364
parentc884061623c49d1a4550a67abe23d1ed516d23e8
tape: library status: don't fail if the library does not support DVCID

some libraries (e.g. Qualstar) don't support the DVCID bit in the READ
ELEMENT (B8) command (to return vendor/model of connected drives), so
make that part optional if it fails. We only ever use the serial number
in the `pmtx` tool, so there is not much downside to not having this.

This increases compatibility with such libraries

Reported in the forum:
https://forum.proxmox.com/threads/cant-query-tape-robot-status.131833/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
pbs-tape/src/sg_pt_changer.rs