Bacula-users

Re: [Bacula-users] readlabel and btape

2011-02-15 02:48:59
Subject: Re: [Bacula-users] readlabel and btape
From: Jeremy Maes <jma AT schaubroeck DOT be>
To: bacula-users AT lists.sourceforge DOT net
Date: Tue, 15 Feb 2011 08:46:00 +0100
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>