Bacula-users

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

2011-08-26 13:03:29
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: Fri, 26 Aug 2011 14:00:46 -0300
> >>>>> On Thu, 25 Aug 2011 16:48:34 -0300, Rodrigo Ferraz said:
> >
> > 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:
> 
> Has anything been written to that tape since the restore failed?  It is 
> starting
> to look like a hardware, Vmware or OS driver issue to me.
> 
> __Martin
> 

Hey Martin.

Absolutely nothing was written to the tape. It is just a matter of 1) inserting 
the tape into the drive, 2) mounting it on bconsole, 3) trying the restore, 4) 
receiving the Input/output error, 5) retrying the restore and 6) not getting 
any error.

Regarding hardware, we already had this tape drive replaced a few months ago 
due to the suspicion of hardware problem regarding ineffective compression. 
Tape drive firmware was also updated. It turned out to be a problem with mt-st 
initialization of tape parameters. Guess there could be a connection with 
input/output error, but I don't know where to start.

Rodrigo

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