Skip to content

Cartridge usage stats

The libraries complain about some of the cartridges, e.g.: L07625L9: Cartridge L07625L9 reached its end of life.

The cartridge itself has not really been used much:

/usr/bin/sg_read_attr /lto9/2,4,1,0 -f 0x0806
/usr/bin/sg_read_attr /lto9/2,4,1,0 -f 0x0400
/usr/bin/sg_read_attr /lto9/2,4,1,0 -f 0x0003
/usr/bin/sg_read_attr /lto9/2,4,1,0 -f 0x0220
/usr/bin/sg_read_attr /lto9/2,4,1,0 -f 0x0221

  Barcode: L07625L9
  Medium manufacturer: IBM
  Load count: 121
  Total MiB written in medium life: 17607634
  Total MiB read in medium life: 48333674

This seems to be a too tight screwed threshold in the firmware. IBM is aware of this. And it might get fixed sometime.

At moment the table contains almost the same values but as seen from the CTA perspective:

ctadb=# select vid,vendor,read_mount_count,write_mount_count,data_in_bytes from tape where vid='L07625';
  vid   | vendor | read_mount_count | write_mount_count | data_in_bytes  
--------+--------+------------------+-------------------+----------------
 L07625 | IBM    |              114 |                 0 | 18476766409083

Some of this info (manufacturer) is even entered manually by the user. Or not existing, like data_out_bytes (bytes read). Would it be possible, some when in the future, to include a second set of fields, for the values of:

  Medium manufacturer: IBM
  Load count: 121
  Total MiB written in medium life: 17607634
  Total MiB read in medium life: 48333674

as seen by the cartridge. The info could be read by CTA after mount or better before unmount. This values seem to deviate from the CTA view. The more the cartridge is used without CTA's knowledge (directly or prior to insertion into CTA) the more the values will of course deviate.

Edited by Jacek Maksymilian Chodak