[pbs-devel] [PATCH proxmox-backup 0/4] better handle lto9 format
    Dominik Csapak 
    d.csapak at proxmox.com
       
    Tue Dec 12 12:32:44 CET 2023
    
    
  
since lto9 formatting a tape does an non-optional 'media optimization'
pass, which can take up to 2 hours. For our 'fast format' we instead
now do our fallback mechanism of doing an 'ERASE' instead, and only
for a 'slow format' we actually call 'FORMAT'.
the last patch is only cosmetic, so that on a slow format the users
know that this takes place and can take a while.
Dominik Csapak (4):
  tape: add optional timeout to wait_until_ready
  tape: derive PartialEq and PartialOrd for TapeDensity
  tape: adapt format_media for LTO9+
  api: tape: add lto9 initialization message to task log
 pbs-api-types/src/tape/drive.rs |  2 +-
 pbs-tape/src/sg_tape.rs         | 25 +++++++++++++++++--------
 src/api2/tape/drive.rs          | 17 ++++++++++++++++-
 src/tape/drive/lto/mod.rs       |  2 +-
 4 files changed, 35 insertions(+), 11 deletions(-)
-- 
2.39.2
    
    
More information about the pbs-devel
mailing list