General
cancel
Showing results for 
Search instead for 
Did you mean: 

tar: /dev/nst0: Cannot write: Input/output error

Degani
Occasional Visitor

tar: /dev/nst0: Cannot write: Input/output error

Before, i did backups and restores without problems. Nowadays, when i try make backup or restore, i have the following problem:
tar: /dev/nst0: Cannot write: Input/output error
tar: Error is not recoverable: exiting now

I already swapped my tape drive and the problem continues. But, today, i make backup or restore only with files up to 20 MB.
My drive is a HP Ultrium 1840 SAS.

Regards,

Degani
4 REPLIES
skt_skt
Honored Contributor

Re: tar: /dev/nst0: Cannot write: Input/output error

what is the RH version? did u try rebooring?is the drive detected?

i had a similar problem which fixed by fixing the jumper setting on the tape drive
Degani
Occasional Visitor

Re: tar: /dev/nst0: Cannot write: Input/output error

I use Centos 5.2. I made some tests and the drive was detected and the module st too.
Ciro Iriarte
Valued Contributor

Re: tar: /dev/nst0: Cannot write: Input/output error

"mt -f /dev/nst0 status"?, maybe bad media?
Ivan Ferreira
Honored Contributor

Re: tar: /dev/nst0: Cannot write: Input/output error

Check if your device is not asking for a cleaning tape. Use a cleaning tape anyway.

If you can, try your media on another tape device.

Check also the output of dmesg.

¿What are the status of the device leds?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?