public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox{,-backup} 0/2] tape: add support for LTO10 densities
@ 2026-12-03 15:06 Dominik Csapak
  2026-12-03 15:06 ` [PATCH proxmox 1/2] pbs api types: tape: add lto10 densities Dominik Csapak
  2026-12-03 15:06 ` [PATCH proxmox-backup 2/2] tape: don't fail on unknown reported density Dominik Csapak
  0 siblings, 2 replies; 3+ messages in thread
From: Dominik Csapak @ 2026-12-03 15:06 UTC (permalink / raw)
  To: pbs-devel

With an LTO10 tape loaded, querying the drive status (API, GUI and
`pmt status`) fails, since the reported density code is unknown to the
TapeDensity enum.

The proxmox patch adds the density codes for LTO10 (0x62) and the 40 TB
LTO10 Premium cartridges (0x63). Since they sort after LTO9, formatting
such media also takes the LTO9+ code path instead of falling back to a
plain erase.

The proxmox-backup patch makes the status query fall back to 'unknown'
for unrecognized density codes, like format_media already does, so
future generations do not break the status query again. It does not
depend on the proxmox patch.

I couldn't test on real hardware since I don't have access to an LTO10 drive
yet, but I tested via a VTL that can emulate the density code.


proxmox:

Dominik Csapak (1):
  pbs api types: tape: add lto10 densities

 pbs-api-types/src/tape/drive.rs | 6 ++++++
 1 file changed, 6 insertions(+)


proxmox-backup:

Dominik Csapak (1):
  tape: don't fail on unknown reported density

 pbs-tape/src/sg_tape.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)


Summary over all repositories:
  2 files changed, 10 insertions(+), 1 deletions(-)

-- 
Generated by murpp 0.11.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-03 15:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 15:06 [PATCH proxmox{,-backup} 0/2] tape: add support for LTO10 densities Dominik Csapak
2026-12-03 15:06 ` [PATCH proxmox 1/2] pbs api types: tape: add lto10 densities Dominik Csapak
2026-12-03 15:06 ` [PATCH proxmox-backup 2/2] tape: don't fail on unknown reported density Dominik Csapak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal