proxmox/pbs-api-types
Dominik Csapak 99f24b2079 fix #4904: tape changer: add option to eject before unload
some tape libraries need the tape being ejected from the drive before
doing an unload. Since we cannot easily detect if that's the case,
introduce an 'eject_before_unload' option.

Instead of just adding a bool flag to the config, add a new 'options'
property string where we can put such niche options similar to how we
handle the datastore tuning options.

Extend the LtoTapeHandle with 'medium_present' which just uses a
TEST UNIT READY command to check for present medium, so we don't
try to eject an already ejected tape.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-12-12 14:36:19 +01:00
..
src fix #4904: tape changer: add option to eject before unload 2023-12-12 14:36:19 +01:00
Cargo.toml api-types: client: datastore: tools: use proxmox-human-bytes crate 2023-06-26 13:56:45 +02:00