Operating System - Linux
1753368 Members
4749 Online
108792 Solutions
New Discussion юеВ

Re: mt -f error TAPE ERROR

 
SOLVED
Go to solution
AA786
Frequent Advisor

mt -f error TAPE ERROR

# mt -f /dev/st0 status

Getting below error.
/dev/st0: Input/output error
9 REPLIES 9
Ivan Ferreira
Honored Contributor
Solution

Re: mt -f error TAPE ERROR

Check for erros in /var/log/messages and "dmesg". Change your tape cartridge and identify if you have a light that may indicate that you have a hardware problem.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
skt_skt
Honored Contributor

Re: mt -f error TAPE ERROR

try rewind and then status
Sandeep_Chaudhary
Trusted Contributor

Re: mt -f error TAPE ERROR

try

mt -f /dev/nst0 status

And to set it, something like:

mt -f /dev/nst0 setblk 0

block sizxe 0 means tape will choose block size itself
or

mt -f /dev/nst0 setblk 512


setting blocksize 512 is OK with tar
AA786
Frequent Advisor

Re: mt -f error TAPE ERROR

Sorry
i tried all options all showing errors
mt -f /dev/st0 setblk 512
/dev/st0: Input/output error

fsf,bsf nothing working ,but i can see the entry in /proc/scsi/usb-storage/*
Please help.
Ivan Ferreira
Honored Contributor

Re: mt -f error TAPE ERROR

Can your please post the output of dmesg and /var/log/messages. Did you check if your led indicators at the devices are not reporting errors or cleaning needed? ├В┬┐Did it ever work?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
skt_skt
Honored Contributor

Re: mt -f error TAPE ERROR

could u provide the details of the tape drive?
AA786
Frequent Advisor

Re: mt -f error TAPE ERROR

when unplug/plug the tape drive i am getting same error ,see the dmesg entry
usb 6-5: USB disconnect, address 2
usb 6-6: new high speed USB device using address 3
usb 6-6: device not accepting address 3, error -71
usb 6-6: new high speed USB device using address 4
usb 6-6: device descriptor read/8, error -71
usb 6-6: new high speed USB device using address 5
usb 6-6: unable to read config index 0 descriptor/all
usb 6-6: can't read configurations, error -71
ehci_hcd 0000:00:1d.7: qh f6e85080 (#0) state 1
usb 6-6: new high speed USB device using address 6
usb 6-6: unable to read config index 0 descriptor/all
usb 6-6: can't read configurations, error -71
ehci_hcd 0000:00:1d.7: qh f6e85100 (#0) state 1
Ivan Ferreira
Honored Contributor

Re: mt -f error TAPE ERROR

Oh! this is an USB tape.

You should try to identify where is the problem:

- Install an USB pen drive into the server and verify if this works. If this works, then the problem is not your USB connector.

- Install the USB tape in another server to see if this works. If this works, then the tape is not having problems.

Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: mt -f error TAPE ERROR

For a similar problem, I have found this:

>
Hi,The "solution" is to disable usb 2 and run it trough usb 1 with this command:
modprobe -r ehci-hcd

The solution was found in this forum there: http://www.fedoraforum.org/forum/showthread.php?t=165250&page=1&pp=15

Thanks everyone who helped me with this
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?