[Bacula-users] The famous "ERR=Input/output
error"



Hi everyone

We have been facing this issue for a long time, so any help or insight will be
greatly appreciated.

Bacula seem to be working just fine, with the exception of these two situations
below:

1) Bacula cannot reposition the tape and continue using it after it is
unmounted. If the tape stays mounted for the whole week, for example, all daily
backups work fine.
2) Restore jobs work ok, but always with the "ERR=Input/output" error (log
below)

I'm mentioning these situations because they are certainly related to how
bacula-sd is configured. There must be something wrong with our bacula-sd.conf
file, but I can assure you that we are using exactly as suggested by btape
test. Here it is:

Device {
Name = LTO-3
Drive Index = 0
Autochanger = no
Archive Device = /dev/nst0
Maximum Changer Wait = 3d
AutomaticMount = yes
AlwaysOpen = yes
Media Type = LTO-3
RemovableMedia = yes
Offline On Unmount = no
Spool Directory = /var/lib/bacula/spool
Maximum Spool Size = 35gb
RandomAccess = no
LabelMedia = yes
#Hardware End of Medium = No
#Fast Forward Space File = No
Two EOF = no
BSF at EOM = no
}

And here is the restore job log showing the problem:

23-Aug 10:14 br01 JobId 1396: Start Restore Job
RestoreFiles.2011-08-23_10.14.27_36
23-Aug 10:14 br01 JobId 1396: Using Device "LTO-3"
23-Aug 10:14 br01 JobId 1396: Ready to read from volume "M082011" on device
"LTO-3" (/dev/nst0).
23-Aug 10:14 br01 JobId 1396: Forward spacing Volume "M082011" to file:block
289:0.
-->23-Aug 10:16 br01 JobId 1396: Error: block.c:1002 Read error on fd=5 at
file:blk 290:0 on device "LTO-3" (/dev/nst0). ERR=Input/output error.
23-Aug 10:16 br01 JobId 1396: End of Volume at file 290 on device "LTO-3"
(/dev/nst0), Volume "M082011"
23-Aug 10:16 br01 JobId 1396: End of all volumes.
23-Aug 10:16 br01 JobId 1396: Max configured use duration=432,000 sec.
exceeded. Marking Volume "M082011" as Used.
23-Aug 10:16 br01 JobId 1396: Bacula br01 5.0.3 (30Aug10): 23-Aug-2011 10:16:33
Build OS: x86_64-redhat-linux-gnu redhat
JobId: 1396
Job: RestoreFiles.2011-08-23_10.14.27_36
Restore Client: fs01
Start time: 23-Aug-2011 10:14:29
End time: 23-Aug-2011 10:16:33
Files Expected: 395
Files Restored: 294
Bytes Restored: 14,563,151
Rate: 117.4 KB/s
FD Errors: 0
FD termination status: OK
SD termination status: OK
Termination: Restore OK -- warning file count mismatch

And the hardware configuration:

Server: Dell PowerEdge T310
Tape Drive: Dell PowerVault LTO3-060 (made by IBM)
O.S.: CentOS 5.5 as a guest of Vmware ESXi 4.1 (tape is configured using
pass-through)
Bacula version: 5.0.3

And that's it!

Rodrigo Ferraz
-------------------------------------
Concept Netservices
http://www.conceptnetservices.com
+55 (51) 3355-8000

Aviso Legal: Esta mensagem, assim como seus anexos, contém informações
confidenciais, de acesso exclusivo a seu(s) destinatário(s) e que podem ser
consideradas privilegiadas ou protegidas contra divulgação nos termos da
legislação vigente. Se você não é o destinatário, ou se recebeu esta mensagem
por engano, por favor notifique imediatamente o remetente da mesma, apague-a
de seu sistema e não copie, imprima, divulgue ou utilize qualquer uma de suas
partes ou anexos. Comunicações através da Internet não são garantidas como
seguras ou livres de infecções por vírus. A Connet Informática não se
responsabiliza por quaisquer perdas ou danos provocados por modificações no
conteúdo desta mensagem, incluindo seus anexos, durante a transmissão da mesma
devido a falhas de rede, equipamento ou software, ou por erro de fabricante ou
operador, ou ainda pelo acesso ou interferência não autorizados nas
comunicações Internet perpetrados por outrem ou pela transmissão de vírus de
computador. Connet Informática (Concept Netservices) - Av. João XXIII, 345 -
Porto Alegre - RS - Brasil - www.conceptnetservices.com

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities and model configuration. Take
the hassle out of deploying and managing Subversion and the
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Bacula-users mailing list
Bacula-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-users



Privacy