Hello everyone,

I've got a problem that's been recurring with some of my tapes. I've got a Quantum SuperLoader 3 with several brand new SDLT-600 tapes. Sometimes when bacula tries to write to one of these tapes for the first time, it fails and the tape's status changes to error. This happens even when bacula succesfully labels a tape.

So to investigate this even more, I would load up a problematic tape with btape. I ran the commands, readlabel and rectest successfully, but I always fail with the command wr and test commands.

What I'm trying to find out is, what's causing this problem? The tapes? The tape drive? Bacula? And also what do those errors mean?


Here's the output of some commands:

-------------------
*readlabel
btape: btape.c:419 Volume label read correctly.

Volume Label:
Id                : Bacula 1.0 immortal
VerNo             : 11
VolName           : CF0063
PrevVolName       :
VolFile           : 0
LabelType         : VOL_LABEL
LabelSize         : 186
PoolName          : Server
MediaType         : SDLT-600
PoolType          : Backup
HostName          : bacula
Date label written: 04-Apr-2007 14:29

-------------------
*rectest
...
btape: btape.c:654 Block 64472 i=64472
btape: btape.c:654 Block 64473 i=64473
btape: btape.c:654 Block 64474 i=64474
btape: btape.c:654 Block 64475 i=64475
btape: btape.c:654 Block 64476 i=64476

-------------------
*status
 Bacula status: file=0 block=0
 Device status: BOT ONLINE IM_REP_EN file=0 block=0
btape: btape.c:1799 Device status: 645. ERR=

-------------------
*cap
Configured device capabilities:
EOF BSR BSF FSR FSF FASTFSF !BSFATEOM EOM REM !RACCESS AUTOMOUNT !LABEL !ANONVOLS ALWAYSOPEN MTIOCGET
Device status:
OPENED TAPE LABEL !MALLOC !APPEND !READ !EOT !WEOT !EOF !NEXTVOL !SHORT
Device parameters:
Device name: /dev/nst0
File=0 block=0
Min block=0 Max block=0
Status:
 Bacula status: file=0 block=0
 Device status: BOT ONLINE IM_REP_EN file=0 block=0
btape: btape.c:1799 Device status: 645. ERR=

-------------------
*wr
13-Apr 13:54 btape: btape Fatal error: Attempt to write on read-only Volume.
btape: btape.c:1568 Error writing block to device.

-------------------
*test
=== Write, rewind, and re-read test ===

I'm going to write 1000 records and an EOF
then write 1000 records and an EOF, then rewind,
and re-read the data to verify that it is correct.

This is an *essential* feature ...

btape: btape.c:817 Error writing record to block.
begin:vcard
fn;quoted-printable:Emery Gu=C3=A9vremont
n;quoted-printable:Gu=C3=A9vremont;Emery
org:Croesus Finansoft
adr:;;2 Place laval, Suite 510;Laval;PQ;H7N 5N6;Canada
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Administrateur des syst=C3=A8mes
tel;work:450-662-6101
tel;cell:514-513-3416
x-mozilla-html:FALSE
version:2.1
end:vcard

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to