Open-source project for LTO (Linear Tape-Open) tape Cartridge Memory (CM) Analyzer
LTO (Linear Tape-Open) tape Cartridge Memory (CM) Analyzer
Linux bash script which converts LTO-CM binary data to human-readable cartridge information. To dump memory data from LTO-CM tag (also called MAM (Media Auxiliary Memory)), use RFID reader. Currently, RFID readers such as ACR122U, SCL3711 and Proxmark3 are able to dump data from the tag and save it to file. You can also use tape drive to do this. Check the following repos and websites for more information:
There are several LTO CM reader/analyzer in the market, however, these are proprietary solutions and they support Windows only.
$ ./lto_analyzer.sh lto-cm_dump.eml
-- LTO CM Manufacturer's Information --
LTO CM Serial Number: xxxxxxxx
CM Serial Number Check Byte: xx
CM Size: xx
Type: xxxx
Manufacturer's Information: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-- LTO CM Write-Inhibit --
Last Write-Inhibited Block Number: xx
Block 1 Protection Flag: xx
Reserved: xxxx
-- Cartridge Manufacturer's Information --
Page Id: xxxx
Page Length: xxxx
Cartridge Manufacturer: xxxxxx
Serial Number: xxxxxxxx
Cartridge Type: xxxx
Date of Manufacture: xxxxxxxx
Tape Length: xxxx
Tape Thickness: xxxx
Empty Reel Inertia: xxxx
Hub Radius: xxxx
Full Reel Pack Radius: xxxx
Maximum Media Speed: xxxx
License Code: xxxxxxxx
Cartridge Manufacturer's Use: xxxxxxxxxxxxxxxxxxxxxxxx
CRC: xxxxxxxx
-- Media Manufacturer's Information --
Page Id: xxxx
Page Length: xxxx
Servowriter Manufacturer: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Reserved: xxxxxxxxxxxxxxxx
CRC: xxxxxxxx
$ sudo apt install bc #Debian and Ubuntu
$ sudo yum install bc #RHEL and CentOS
$ sudo dnf install bc #Fedora
Feed binary data to this script.
$ lto_analyzer.sh [*.eml or *.bin]
Just run the script. You may want to change file permission by chmod.
Since this script is based on LTO-1 specification, it may show wrong cartridge information for modern generations. Indeed, some parameters are not decoded correctly. See this issue.