Op 11/02/2011 23:39, Jeremiah D. Jester schreef:
I'm trying to determine that status of some of my tapes and I'm a
little confused on the output. Anyone have any insight?
Thanks,JJ
[root@scrappy bacula]# ./bin/btape -c bacula-sd.conf /dev/nst0
Tape block granularity is 1024 bytes.
btape: butil.c:284 Using device: "/dev/nst0" for writing.
11-Feb 14:42 btape JobId 0: 3301 Issuing autochanger "loaded? drive 0"
command.
11-Feb 14:42 btape JobId 0: 3302 Autochanger "loaded? drive 0", result
is Slot 5.
btape: btape.c:476 open device "Drive1" (/dev/nst0): OK
*status dir
Bacula status: file=0 block=0
Device status: BOT ONLINE IM_REP_EN file=0 block=0
btape: btape.c:2133 Device status: 645. ERR=
*readlabel
btape: btape.c:525 Volume has no label.
Volume Label:
Id : **error**VerNo : 0
VolName :
PrevVolName :
VolFile : 0
LabelType : Unknown 0
LabelSize : 0
PoolName :
MediaType :
PoolType :
HostName :
Date label written: -4712-01-01 at 00:00
*
What I see in your output is a status:
BOT (beginning of tape), online (tape in drive and drive ready for
action), IM_REP_EN (Immediate report mode, tape drive might cache write
instructions)
And a readlabel output that says your tape does not have a bacula label
written to it (hence the strange garbled output).
So then the question is: Is this tape giving you any problems? Has it
ever been written by bacula before the test? If so: you might want to
consider the tape damaged, maybe try a btape test if it does not contain
any valuable data.
Kind regards,
Jeremy
**** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users