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
This commit is contained in:
Kenneth D. Merry
2026-03-02 14:13:47 -05:00
parent 7a323f8736
commit 930486f9be
2 changed files with 10 additions and 1 deletions
+2
View File
@@ -647,6 +647,8 @@ static struct densities {
{ 0x5D, 19107, 485318, "LTO-M8" }, { 0x5D, 19107, 485318, "LTO-M8" },
{ 0x5E, 20669, 524993, "LTO-8" }, { 0x5E, 20669, 524993, "LTO-8" },
{ 0x60, 23031, 584987, "LTO-9" }, { 0x60, 23031, 584987, "LTO-9" },
{ 0x62, 21657, 550088, "LTO-10" },
{ 0x63, 22441, 570001, "LTO-10P" },
{ 0x71, 11800, 299720, "3592A1 (encrypted)" }, { 0x71, 11800, 299720, "3592A1 (encrypted)" },
{ 0x72, 11800, 299720, "3592A2 (encrypted)" }, { 0x72, 11800, 299720, "3592A2 (encrypted)" },
{ 0x73, 13452, 341681, "3592A3 (encrypted)" }, { 0x73, 13452, 341681, "3592A3 (encrypted)" },
+8 -1
View File
@@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd October 31, 2023 .Dd March 2, 2026
.Dt MT 1 .Dt MT 1
.Os .Os
.Sh NAME .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 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 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 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) 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) 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) 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 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 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. 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 .Ed
.Bd -literal -offset 2n .Bd -literal -offset 2n
NOTE ON QIC STREAMERS NOTE ON QIC STREAMERS