Bacula-users

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

2011-08-25 15:51:49
Subject: Re: [Bacula-users] The famous "ERR=Input/output error"
From: Rodrigo Ferraz <Rodrigo.Ferraz AT conceptnetservices DOT com>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 25 Aug 2011 16:48:34 -0300
Hello and thanks.

Below are the results of mt. "Mt fsf" fails with the "Input/output error":

25-Aug-2011 16:34:40 [root@br01 ~]# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x44 (LTO-3).
Soft error count since last status=0
General status bits on (41010000):
 BOT ONLINE IM_REP_EN
25-Aug-2011 16:34:47 [root@br01 ~]# mt -f /dev/nst0 fsf 32768
/dev/nst0: Input/output error
25-Aug-2011 16:40:30 [root@br01 ~]# mt -f /dev/nst0 status   
SCSI 2 tape drive:
File number=464, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x44 (LTO-3).
Soft error count since last status=0
General status bits on (9010000):
 EOD ONLINE IM_REP_EN
25-Aug-2011 16:40:38 [root@br01 ~]# mt -f /dev/nst0 rewind
25-Aug-2011 16:42:10 [root@br01 ~]# mt -f /dev/nst0 eod
25-Aug-2011 16:44:04 [root@br01 ~]# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=464, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x44 (LTO-3).
Soft error count since last status=0
General status bits on (9010000):
 EOD ONLINE IM_REP_EN
25-Aug-2011 16:48:11 [root@br01 ~]#

And now a funny fact about this problem: if we retry the restore operation, by 
creating another restore job and selecting the same files/folders, it works 
perfectly. Log below:

5-Aug 11:03 br01 JobId 1397: Start Restore Job 
RestoreFiles.2011-08-25_11.03.17_42
25-Aug 11:26 br01 JobId 1397: Using Device "LTO-3"
25-Aug 11:26 br01 JobId 1397: Ready to read from volume "M082011" on device 
"LTO-3" (/dev/nst0).
25-Aug 11:26 br01 JobId 1397: Forward spacing Volume "M082011" to file:block 
289:0.
25-Aug 11:31 br01 JobId 1397: Bacula br01 5.0.3 (30Aug10): 25-Aug-2011 11:31:09
  Build OS:               x86_64-redhat-linux-gnu redhat 
  JobId:                  1397
  Job:                    RestoreFiles.2011-08-25_11.03.17_42
  Restore Client:         fs01
  Start time:             25-Aug-2011 11:03:19
  End time:               25-Aug-2011 11:31:09
  Files Expected:         395
  Files Restored:         396
  Bytes Restored:         19,637,583
  Rate:                   11.8 KB/s
  FD Errors:              0
  FD termination status:  OK
  SD termination status:  OK
  Termination:            Restore OK

Rodrigo

P.S.: my apologies for the long disclaimer below. This is a corporate e-mail.

> -----Mensagem original-----
> De: John Drescher [mailto:drescherjm AT gmail DOT com]
> Enviada em: quinta-feira, 25 de agosto de 2011 12:42
> Para: Rodrigo Ferraz
> Cc: bacula-users AT lists.sourceforge DOT net
> Assunto: Re: [Bacula-users] RES: The famous "ERR=Input/output error"
> 
> On Thu, Aug 25, 2011 at 10:45 AM, Rodrigo Ferraz
> <Rodrigo.Ferraz AT conceptnetservices DOT com> wrote:
> > Hi Martin
> >
> > Thank you for answering.
> >
> > Just a question before executing the tape tests: could 'mt -f /dev/nst0 eod'
> erase the tape or mess with backup data on it?
> 
> No. It spaces to the end of the data.
> 
> 
>   eod, seod
>               Space to end of valid data.  Used on streamer tape drives to 
> append
> data to the logical end of tape.
> John

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

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users