How can I tell the amount of storage used and available on an LTO 4 tape?
I have a printout from the tape that shows blocks and the file length of each library.
How can I tell the amount of storage used and available on an LTO 4 tape?
I have a printout from the tape that shows blocks and the file length of each library.
This question is related to this similar question on Server Fault.
There is an attribute in LTO cartridge memory (LTO-CM or MAM). The attribute is "Remaining Capacity In Partition". You can read this value with LTO tape drive via SCSI command. You should take a look at this Linux bash script I created called LTO-CM-Read.