cancel
Showing results for 
Search instead for 
Did you mean: 

Please help me out...

Waheed Ahmad
Occasional Visitor

Please help me out...

root@VOMS2cons# tar tv
...
...
...
tar: read error: unexpected EOF

and when I try to write a new file by by using u ...I get this...

root@VOMS2cons# tar uv -C /save test2
tar: tape read error


11 REPLIES
Torsten.
Acclaimed Contributor

Re: Please help me out...

Your commands are using /dev/rmt/0m as default.

Do you have this tape device?

Do you have a good tape in drive?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
James R. Ferguson
Acclaimed Contributor

Re: Please help me out...

Hi:

Your problem may be a dirty tape drive. Try cleaning it.

Regards!

...JRF...
Ganesan R
Honored Contributor

Re: Please help me out...

Hi,

The error indicates that it is unable to read from the media.

Have you tried with another media?

Is the LED blinking when you try to read the tape? Drive also could be defective sometimes.
Best wishes,

Ganesh.
Sajjad Sahir
Honored Contributor

Re: Please help me out...

Dear Waheed

I think your tape driver is dirty. You should unplug the tape drive and clean. then plug it again. after that try once more i hope it will work

thanks and regards

Sajjad Sahir
avizen9
Esteemed Contributor

Re: Please help me out...

Hello,
try to dump some file with dd command what will happen?
and usre as suggested please clean the drive with cleaning tape.

possible reboot once the tape drive, thanks,
UVK
Trusted Contributor

Re: Please help me out...

Yeah, seems to be a bad tape or possible bad tape drive. Try to isolate the problem by using other tape. See if you have activity on drive
-------------------------------------------
Like it or worked !! Click kudos !!
Waheed Ahmad
Occasional Visitor

Re: Please help me out...

Thanks for your replies,

I actually had to kill this command below to stop writing the tape, as to free the tape drive:

nohup tar uv -C /save1 test2

and then when I got the tapedrive free and I ran that command again, thats when I got this read error message...

Could there be any problem coz of the kill command??
Dennis Handly
Acclaimed Contributor

Re: Please help me out...

>Could there be any problem because of the kill command?

Well the file at the end of the tape would be bad.
Waheed Ahmad
Occasional Visitor

Re: Please help me out...

whatever file I use.... it gives me the same tape read error..
Suraj K Sankari
Honored Contributor

Re: Please help me out...

Hi,
Did you tried with other tape ? If yes then are you still get the same error?

Suraj
Waheed Ahmad
Occasional Visitor

Re: Please help me out...

Yeah thats the only option now...I should try with another tape...