Hi,

29.12.2007 10:01,, Roman Sozinov wrote::
> Hi all,
> 
> I have 2 tapes (HP LTO3), which have a problems with Bacula.
> 'btape test' works perfectly, but fill doesn't - it fills ok till ~ 9,5 
> GiB, after in /var/log/messages begin errors:
> Dec 28 17:45:26 turret kernel: st0: <<DEFERRED>>: sense key: Medium
> Error
> Dec 28 17:45:26 turret kernel:     Add. Sense: Write error
> Dec 28 17:45:26 turret kernel:
> Dec 28 17:45:26 turret kernel: Info fld=0xfc00
> Dec 28 17:47:34 turret kernel: st0: Current: sense key: Medium Error
> Dec 28 17:47:34 turret kernel:     Add. Sense: Write error
> Dec 28 17:47:34 turret kernel:
> Dec 28 17:47:34 turret kernel: Info fld=0x0
> ...
> and fill test stops.
> So I thought something bad with cassete, but if i write to tape with tar 
> (not Bacula):
> # tar cvf /dev/nst0 testdir/
> no problem, i tried write 13GiB (testdir) without any troubles.
> 
> What's wrong?

Hard to say... might be hardware-related. In the simplest case, it's 
the SCSI cabling or termination, so you should check that.

Also, see if there is a firmware update for your tape drive.

Then, try another SCSI HBA or driver - that might also cause problems. 
(And I hope you don't have the tape drive attached to a RAID HBA or 
together with your hard disks on one channel...)

Bacula seems to stress the tape hardware more than tar or dd, at least 
many of these problems show only when using Bacula.

> p.s.
> 
> My system is Linux CentOS5, Bacula 2.2.6, HP StorageWorks 1-8 G2 Tape 
> Autoloader 920.

The HBA model would be interesting to know, too, as well as which 
devices are connected to it.

> Tried to play with blocksize (set it to 64512), nut 
> without success - fill said 'write error'.

How did you set that?

Arno

> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to