Hi, 14.10.2008 11:54, Stefan Lubitz wrote: > Hi all, > > I have a strange behavior when I run btape. > The test abborts at different positions. Sometimes it runs completely. > Sometimes it stops after the rewind or after the "Got EOF on tape". > I have no idea where I can search what's wrong. The strange thing is, > that I was able to write (bconsole / run a job) on two tapes. > After writing I tried to restore the job, but the restore failed. So I > started from beginning with testing my Autoloader. > And guess what......... It failed.
Looks like a hardware-related problem. > If I write an EOF manually (mt -f /dev/nst0 weof), the the test will > work one time. The second time it fails again. > Is this normal? > > I start btape with the following syntax: > btape -c /dev/bacula/bacula-sd.conf -v -d 6 /dev/nst0 > > Here ist the btape output: > btape: btape.c:831 Wrote 1000 blocks of 64412 bytes. > btape: btape.c:505 Wrote 1 EOF to "Drive-1" (/dev/nst0) > btape: btape.c:847 Wrote 1000 blocks of 64412 bytes. > btape: btape.c:505 Wrote 1 EOF to "Drive-1" (/dev/nst0) > btape: btape.c:856 Rewind OK. > 1000 blocks re-read correctly. > Got EOF on tape. > > Here is the Error Message: > btape: btape.c:856 Rewind OK. > 13-Oct 15:08 btape JobId 0: Error: block.c:999 Read error on fd=3 at > file:blk 0:976 on device "Drive-1" (/dev/nst0). ERR=Input/output error. > btape: btape.c:868 Read block 977 failed! ERR=Input/output error > > Next try, same result: > 13-Oct 16:33 btape JobId 0: Error: block.c:999 Read error on fd=3 at > file:blk 1:897 on device "Drive-1" (/dev/nst0). ERR=Input/output error. > btape: btape.c:868 Read block 1898 failed! ERR=Input/output error > > Can you please help me, where I can start to investigate? Start by having a look into the system's log - there might be errors reported there. This might be a broken tape drive, bad cabling or termination, or a rancid tape. Also, tapelerts might be present for the tape drive - you can see them using smartmontools or the tapealert program. Arno > Thanks, > Stefan > -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück www.its-lehmann.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users