Operating System - Linux
1822034 Members
3272 Online
109639 Solutions
New Discussion юеВ

Re: /dev/st0: Input/output error

 
Maaz
Valued Contributor

/dev/st0: Input/output error

# mt -f /dev/st0 tell
mt: /dev/st0: Input/output error

and when I run
# mt -f /dev/st0 erase
prompt never comes back

# lsscsi
[0:0:3:0] tape HP Ultrium 1-SCSI P53D /dev/st0

# dmesg |grep st0
st 0:0:3:0: Attached scsi tape st0
st 0:0:3:0: st0: try direct i/o: yes (alignment 512 B)
st0: Block limits 1 - 16777215 bytes.
st0: Current: sense key: Illegal Request
st0: Current: sense key: Illegal Request

# mt -f /dev/st0 status
drive type = Generic SCSI-2 tape
drive status = 1073741824
sense key error = 0
residue count = 0
file number = 0
block number = 0
Tape block size 0 bytes. Density code 0x40 (unknown).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN

Regards
Maaz
2 REPLIES 2
Maaz
Valued Contributor

Re: /dev/st0: Input/output error

I can take backup, list backup and restore backup, but got error when

# mt -f /dev/st0 tell
mt: /dev/st0: Input/output error

and when I run
# mt -f /dev/st0 erase
prompt never comes back

please help/suggest
Regards
Ivan Ferreira
Honored Contributor

Re: /dev/st0: Input/output error

Ensure that your tape is correctly connected and the SCSI termination is correct.

Try with different tape media. You should also try using a cleaning tape.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?