Bacula-users

Re: [Bacula-users] readlabel and btape

2011-02-16 16:36:05
Subject: Re: [Bacula-users] readlabel and btape
From: John Drescher <drescherjm AT gmail DOT com>
To: "Jeremiah D. Jester" <jjest AT u.washington DOT edu>
Date: Wed, 16 Feb 2011 16:33:13 -0500
2011/2/11 Jeremiah D. Jester <jjest AT u.washington DOT edu>:
> 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
>
> *

My best guess for this problem is these tapes were used with /dev/st0
instead of /dev/nst0 and that corrupted the tapes because of a non
expected rewind.

John

------------------------------------------------------------------------------
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>