Tape Storage

 View Only
Expand all | Collapse all

LTO-8 Performance statistics log page 0x37

  • 1.  LTO-8 Performance statistics log page 0x37

    Posted Wed March 31, 2021 05:02 PM

    Have some IBM tape drives on RHEL7 where tapestats isn't working.  Wondering if I can get the information I need from the tape log pages.  But I can't seem to get the sub pages from log page 0x37. 

    IBM® TotalStorage® LTO Ultrium Tape Drive SCSI Reference (LTO-5 through LTO-8)

    Ibm remove preview
    IBM® TotalStorage® LTO Ultrium Tape Drive SCSI Reference (LTO-5 through LTO-8)
    This reference guide provides detailed information about the IBM® TotalStorage® LTO Ultrium Tape Drive's small computer interface (SCSI) command support. This covers LTO-5 through LTO-8. This highly technical document is of interest to device driver developers, application developers, systems administrators, and software installers.
    View this on Ibm >


    The scsi reference shows a log page that may have what I'm looking for.
    Table 273 - LP 37h: Performance Characteristics: Mode Phase Timing Windows
    Log page and code, 37h:1000h

    But if I try sg_logs /dev/st0 --page=0x37,0x1000
    I get an error message:  Bad second value in argument to '--page='

    Anyone know the correct linux syntax?

    Tried the -aa option to display everything, but that errors as well.

    sg_logs /dev/st0 -aa
    IBM ULTRIUM-TD7
    log_sense: field in cdb illegal



    ------------------------------
    James Thompson
    ------------------------------


  • 2.  RE: LTO-8 Performance statistics log page 0x37

    Posted Thu April 01, 2021 12:44 AM
    If the value 0x1000 is the parameter code for Write Cycles, you may try sg_logs command with --paramp option set to 4096 (decimal number of 0x1000) as well as --page.
    If this does not work, you probably need to get the complete log page 37h, and decode the result.

    ------------------------------
    TAKESHI ISHIMOTO
    ------------------------------