Bacula-users

[Bacula-users] ERR=Input/output error / only some times

2008-10-14 06:00:00
Subject: [Bacula-users] ERR=Input/output error / only some times
From: Stefan Lubitz <stefan.lubitz AT mackevision DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 14 Oct 2008 11:54:11 +0200
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.
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?

Thanks,
Stefan

-- 
Stefan Lubitz
System Administrator
___________________________________________________________________________
MACKEVISION
Medien Design GmbH, Stuttgart
Forststraße 7
D - 70174 Stuttgart

Tel.: +49 (0) 711/933048-0
Fax.: +49 (0) 711/933048-90

stefan.lubitz AT mackevision DOT de
www.mackevision.de

Geschäftsführer: Armin Pohl, Joachim Lincke
HRB 243735 Amtsgericht Stuttgart
Steuernummer: 99070 / 01935
USt-ID-Nr. DE 169457786


-------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>