Can not find tape drive ID using using 'mtx -f /dev/sg4 status' command

Solution Unverified - Updated -

Issue

  • Can not find tape drive ID using using mtx -f /dev/sg4 status command.
  • mtx -f /dev/sg4 status command shows error Illegal Request

    $ mtx -f /dev/sg4 status
    mtx: Request Sense: Long Report=yes
    mtx: Request Sense: Valid Residual=no
    mtx: Request Sense: Error Code=70 (Current)
    mtx: Request Sense: Sense Key=Illegal Request
    mtx: Request Sense: FileMark=no
    mtx: Request Sense: EOM=no
    mtx: Request Sense: ILI=no
    mtx: Request Sense: Additional Sense Code = 20
    mtx: Request Sense: Additional Sense Qualifier = 00
    mtx: Request Sense: BPV=no
    mtx: Request Sense: Error in CDB=no
    mtx: Request Sense: SKSV=no
    READ ELEMENT STATUS Command Failed
    

Environment

  • Red Hat Enterprise Linux 5, 6, 7
  • Tape devices, medium changer

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content