[pbs-devel] applied: [PATCH proxmox-backup] tape: wait for calibration of LTO-9 tapes

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Apr 16 14:56:17 CEST 2025


On Tue, 15 Apr 2025 13:40:43 +0200, Dominik Csapak wrote:
> Since LTO-9, initial loading of tapes into a drive can block up to 2
> hours according to the spec. In case we run into a ready check timeout,
> query the drive, and increase the timeout to 2 hours and 5 minutes if
> it's calibrating (5 minutes headroom).
> 
> 

Applied, thanks! I extended the commit message with the follow-up info you
provided and also referenced the commit that implemented the longer
timeout for the format procedure.

btw. there is a theoretical case where one could call this method with a
timeout greater than your fallback and the tape needing even longer than
normal, in that case we would do an extra checking round before decreasing
the timeout and then bail on the next round, so not even problematic, just
might be a bit odd on debugging in the very unlikely case this happens in
the first place. That said, a doc-comment for the method and maybe even a
check if the original timeout parameter is already longer than 2h5m would
not exactly hurt and clarify this. But if that makes even sense it really
can be done as a follow up.

[1/1] tape: wait for calibration of LTO-9 tapes
      commit: 07a21616c28a09efb6039e79163b9c4ac8610565




More information about the pbs-devel mailing list