Bacula-users

Re: [Bacula-users] bacula hang waiting for storage

2008-12-04 05:14:45
Subject: Re: [Bacula-users] bacula hang waiting for storage
From: Julien Cigar <jcigar AT ulb.ac DOT be>
To: Ralf Gross <Ralf-Lists AT ralfgross DOT de>
Date: Thu, 04 Dec 2008 11:12:50 +0100
Hi Ralf, here is my config :

Device {
  Name = "Sony SDX-700C"
  Media Type = "AIT"
  Archive Device = "/dev/nsa0"
  Device Type = tape
  Autochanger = no
  Always Open = yes
  Volume Poll Interval = 1 hour
  Removable Media = yes
  Random Access = no
  Requires Mount = no
  Hardware End of Medium = no
  Backward Space Record  = no
  Backward Space File    = no
  Fast Forward Space File = no
  BSF at EOM = yes
  Two EOF = yes
  Close on Poll= yes
  Offline on Unmount = yes
}

To label a new tape I do the following :
# mt -f /dev/nsa0 rewind
# mt -f /dev/nsa0 weof 2
# bconsole
* label
* ....

Regarding the hardware problem I'm 100% sure that it doesn't come from
the SCSI card (I tried with 2 differents, an Adaptec and a QSI), it
doesn't come from the tape drive too because I had the same problem in
the past with a Sony SDX 500C, the medias are OK too (sometimes it fails
with a media that didn't fail in a previous rotation cycle), and I
tested with another SCSI cable too. The only thing I haven't changed is
the SCSI terminator ..
What's strange is that all the it happens randomly (it could run 5+ jobs
without any problem).

Best regards,
Julien

On Thu, 2008-12-04 at 10:36 +0100, Ralf Gross wrote:
> Julien Cigar schrieb:
> > ...
> > (sa0:isp0:0:5:0): REWIND. CDB: 1 0 0 0 0 0
> > (sa0:isp0:0:5:0): CAM Status: SCSI Status Error
> > (sa0:isp0:0:5:0): SCSI Status: Check Condition
> > (sa0:isp0:0:5:0): MEDIUM ERROR asc:52,0
> > (sa0:isp0:0:5:0): Cartridge fault
> > (sa0:isp0:0:5:0): Retrying Command (per Sense Data)
> > (sa0:isp0:0:5:0): REWIND. CDB: 1 0 0 0 0 0
> > (sa0:isp0:0:5:0): CAM Status: SCSI Status Error
> > (sa0:isp0:0:5:0): SCSI Status: Check Condition
> > (sa0:isp0:0:5:0): MEDIUM ERROR asc:52,0
> > (sa0:isp0:0:5:0): Cartridge fault
> > (sa0:isp0:0:5:0): Retries Exhausted
> > (sa0:isp0:0:5:0): unable to rewind after test read
> > (sa0:isp0:0:5:0): unable to rewind after test read
> > (sa0:isp0:0:5:0): unable to rewind after test read
> > (sa0:isp0:0:5:0): unable to rewind after test read
> > 
> > If you have any idea ... it's welcome :-)
> > 
> > Could it be a bug in Bacula ?
> 
> I can't imagine that bacula can cause this kernel errors. This looks
> like a hardware problem to me.
> 
> Can you post your bacula config for this device (I can't find it in
> the thread right now) and maybe try what was suggested in this thread:
> 
> http://thread.gmane.org/gmane.comp.sysutils.backup.bacula.general/39365
> 
> Ralf
> 
> -------------------------------------------------------------------------
> 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
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jcigar AT ulb.ac DOT be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52


-------------------------------------------------------------------------
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>