1

I need to know if there is a SCSI tape drive connected to my OpenSUSE Linux server. I tried checking the status of /dev/st0 but got an error message:

mt: /dev/st0: Input/output error.

/proc/scsi/scsi contains the following entries:

Attached devices:
    Host: scsi0 Channel: 00 Id: 00 Lun: 00
      Vendor: hp  Model: DVD RW AD-7586H  Rev: KP03
      Type:   CD-ROM              ANSI SCSI revision: 05
    Host: scsi2 Channel: 00 Id: 05 Lun: 00
      Vendor: HP  Model: C7438A  Rev: ZP8B
      Type: Sequential-Access     ANSI SCSI revision: 03

lsscsi output:

[0:0:0:0]    cd/dvd  hp       DVD RW AD-7586H  KP03  /dev/sr0

[2:0:5:0]    tape    HP       C7438A           ZP8B  /dev/st0
  • What does lsscsi produce? (You may need to install lsscsi.) Alternatively, what does cat /sys/block/st0/device/{type,model,vendor} output? – Stephen Kitt May 14 '16 at 20:45
  • usm:/proc/scsi # cat scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: hp Model: DVD RW AD-7586H Rev: KP03 Type: CD-ROM ANSI SCSI revision: 05 Host: scsi2 Channel: 00 Id: 05 Lun: 00 Vendor: HP Model: C7438A Rev: ZP8B Type: Sequential-Access ANSI SCSI revision: 03 – W.sa May 14 '16 at 20:56
  • i couldn't find Neither St0 Nor Device directory in /sys/lock path – W.sa May 14 '16 at 21:02
  • 1
    Don't reply with the output of commands in comments. It presents as almost-unreadable gibberish. Instead, edit your post and add the requested info to your question. Use the {} icon in the editor to format it as code / program output. – cas May 15 '16 at 0:40
3

Your HP C4738A drive is a DDS-5 tape drive, so you do have a tape drive in your server. You might get more details on the cause of the error you're getting from mt by looking at the output of dmesg. The HP Linux Tape Tools will probably come in handy...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.