The branch main has been updated by ken:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=930486f9be5c884d1d2f0aae9f81a3f5af1f2718

commit 930486f9be5c884d1d2f0aae9f81a3f5af1f2718
Author:     Kenneth D. Merry <[email protected]>
AuthorDate: 2026-03-02 19:13:47 +0000
Commit:     Kenneth D. Merry <[email protected]>
CommitDate: 2026-03-02 19:13:47 +0000

    mt(1)/libmt: Add LTO-10 density codes and specs.
    
    These were obtained from IBM specs and actual tapes/drives.
    
    Standard LTO-10 cartriges hold 30TB raw, 75TB with 2.5:1 compression.
    Premium LTO-10 cartridges hold 40TB raw, 100TB with 2.5:1 compression.
    LTO-10 tape drives are not backward compatible with previous generation
    LTO tapes. (This is a change from older generation drives.)
    
    Since the Premium tape is a new thing for LTO, we'll call this density
    code LTO-10P vs. the standard LTO-10.  The barcode identifier for LTO-10
    tapes is "LA"; the barcode identifier for LTO-10P tapes is "PA".
    
    LTO-10 cartridges contain 1035m of tape, while LTO-10 Premium
    cartridges contain 1337m of tape and have slightly higher density.
    (Obtained from MAM data on actual tape cartridges and the density
    report, obtained via 'mt getdensity'.)  LTO-10 cartridges use a
    polyethylene naphthalate (PEN) film substrate. LTO-10 Premium
    cartridges use an Aramid (aromatic polyamide) substrate that is thinner
    and stronger, allowing a longer tape to fit in the same cartridge form
    factor.
    
    usr.bin/mt/mt.1:
            Add density codes and specs for LTO-10 and LTO-10P.
    
    lib/libmt/mtlib.c:
            Add density codes for LTO-10 and LTO-10P.
    
    Sponsored by:   Spectra Logic
    MFC after:      3 days
---
 lib/libmt/mtlib.c | 2 ++
 usr.bin/mt/mt.1   | 9 ++++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/lib/libmt/mtlib.c b/lib/libmt/mtlib.c
index 6175f6b8888a..4cbee073de56 100644
--- a/lib/libmt/mtlib.c
+++ b/lib/libmt/mtlib.c
@@ -647,6 +647,8 @@ static struct densities {
        { 0x5D, 19107,  485318, "LTO-M8" },
        { 0x5E, 20669,  524993, "LTO-8" },
        { 0x60, 23031,  584987, "LTO-9" },
+       { 0x62, 21657,  550088, "LTO-10" },
+       { 0x63, 22441,  570001, "LTO-10P" },
        { 0x71, 11800,  299720, "3592A1 (encrypted)" },
        { 0x72, 11800,  299720, "3592A2 (encrypted)" },
        { 0x73, 13452,  341681, "3592A3 (encrypted)" },
diff --git a/usr.bin/mt/mt.1 b/usr.bin/mt/mt.1
index 4cafdf4437c7..361c9ae65bda 100644
--- a/usr.bin/mt/mt.1
+++ b/usr.bin/mt/mt.1
@@ -26,7 +26,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd October 31, 2023
+.Dd March 2, 2026
 .Dt MT 1
 .Os
 .Sh NAME
@@ -524,6 +524,8 @@ Value  Width        Tracks    Density         Code Type 
Reference   Note
 0x5D   12.7  (0.5) 5376      19,107 (485,318)       C   LTO-M8       14
 0x5E   12.7  (0.5) 6656      20,669 (524,993)       C   LTO-8
 0x60   12.7  (0.5) 8960      23,031 (584,987)       C   LTO-9
+0x62   12.7  (0.5)15104      21,657 (550,088)       C   LTO-10       15
+0x63   12.7  (0.5)15104      22,441 (570,001)       C   LTO-10P      15
 0x71   12.7  (0.5)  512      11,800 (299,720)       C   3592A1 (encrypted)
 0x72   12.7  (0.5)  896      11,800 (299,720)       C   3592A2 (encrypted)
 0x73   12.7  (0.5) 1152      13,452 (341,681)       C   3592A3 (encrypted)
@@ -572,6 +574,11 @@ NOTES
     LTO-7 cartridge initialized with a higher density format by an LTO-8
     drive.  It cannot be read by an LTO-7 drive.  Uncompressed capacity
     is 9TB, compared to 6TB for LTO-7 and 12TB for LTO-8.
+15. LTO-10 Premium cartridges hold 40TB uncompressed vs. 30TB
+    uncompressed for standard LTO-10 cartridges due to slightly higher
+    density and stronger, thinner, longer tape.  LTO-10 tape drives
+    are not backward compatible with previous generation LTO tape
+    cartridges.
 .Ed
 .Bd -literal -offset 2n
 NOTE ON QIC STREAMERS

Reply via email to