public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [PATCH proxmox{,-backup} 0/2] tape: add support for LTO10 densities
Date: Thu,  3 Dec 2026 16:06:25 +0100	[thread overview]
Message-ID: <20261203150649.3510587-1-d.csapak@proxmox.com> (raw)

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




             reply	other threads:[~2026-12-03 15:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 15:06 Dominik Csapak [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261203150649.3510587-1-d.csapak@proxmox.com \
    --to=d.csapak@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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