Bacula-users

[Bacula-users] scsi error while writing, tape marked full

2011-05-17 10:37:30
Subject: [Bacula-users] scsi error while writing, tape marked full
From: Athanasios Douitsis <aduitsis AT noc.ntua DOT gr>
To: Bacula-users AT lists.sourceforge DOT net
Date: Tue, 17 May 2011 16:44:27 +0300
Hi all,

We are running a FreeBSD server with 7.3-RELEASE and
bacula-server-5.0.3 with a scalar50 array with 2 HP LTO4 drives (Fibre
Channel). Some days ago we saw the following in our kernel log: 

May  9 22:06:46 kernel: isp0: Chan 0 Abort Cmd for N-Port 0x0000 @ Port 
0x000001 0xffffff0005b66c00
May  9 22:06:46 kernel: (sa0:isp0:0:0:0): Command Aborted

while bacula complained that:

09-May 21:03 JobId 9334: Writing spooled data to Volume. Despooling 
128,849,065,439 bytes ...
09-May 22:06 JobId 9334: Error: block.c:577 Write error at 56:60340 on device 
"Drive-1" (/dev/nsa0). ERR=Operation not permitted.
09-May 22:06 JobId 9334: Re-read of last block succeeded.
09-May 22:06 JobId 9334: End of medium on Volume "ACG510L4" 
Bytes=301,913,385,984 Blocks=4,679,956 at 09-May-2011 22:06.
09-May 22:06 JobId 9334: 3307 Issuing autochanger "unload slot 31, drive 0" 
command.

Well, I think it is clear that this is definitely not bacula's fault but
rather the tape's or the tape drive's but I was wondering whether the
data in the tape is intact. So I tried to:

bls -j -v -L -V ACG510L4 Drive-2
(I loaded the tape on Drive-2 on purpose so that I wouldn't be using
Drive-1)

which said after a while that:

17-May 15:53 bls JobId 0: End of Volume at file 57 on device "Drive-2" 
(/dev/nsa1), Volume "ACG510L4"
17-May 15:53 bls JobId 0: End of all volumes.

I don't know how thorough bls is, but in any case no errors were
reported. The catalog has the ACG510L4 tape listed as having files 0 to
56, which I think is consistent with the bls output. 

Unfortunately, although the tape is an LTO4 one it was marked as full at
only about ~300Gb. These tapes can typically take 1 to 1.5 Tb each, so
this is not normal. So here are the questions: 

1.The tape Drive-1 reports errors like:

Drive TapeAlert History
Drive Serial Number     HU191254G4
Last Unload Time        201105171331
Read warning    Current State = 0 Count = 1
Write protect   Current State = 0 Count = 5
Cleaning media  Current State = 1 Count = 1
Memory chip in cartridge failure        Current State = 0 Count = 9
Tape directory invalid at unload        Current State = 0 Count = 1

Should I just clean the drive (as seen here) or should I look into the 
possibility
of a hw failure? Is it possible to encounter an error while writing that
can be attributed to an unclean drive? 

2.The tape itself does not appear to be damaged, is there a way to mark
it appendable (from full that it is now) and use the rest of it? Is
marking the tape appendable allowed after it has been marked full? 

3.Any general remarks from anyone having experienced similar problems
would of course be most welcome. 

Best Regards to all,
-- 
Athanasios Douitsis, 
National Technical University of Athens NOC
e: aduitsis AT noc.ntua DOT gr | t: +30-210-772-2409 

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
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>
  • [Bacula-users] scsi error while writing, tape marked full, Athanasios Douitsis <=