On Thu, Feb 14, 2008 at 4:29 PM, Jon LaBadie <[EMAIL PROTECTED]> wrote:
> On Thu, Feb 14, 2008 at 01:28:52PM -0500, FL wrote:
> > AMANDA is complaining about a tape (Daily07) that has been removed from
> > the database:
>
> Did that drop the number of active tapes in the tapelist
> file below the tapecycle value?
It did -- I changed that. Still the same mtx error.
>
> >
> > -bash-3.00$ amcheck Daily
> > Amanda Tape Server Host Check
> > -----------------------------
> > Holding disk /var/lib/amanda/holdingdisk: 60351844 KB disk space
> available,
> > that's plenty
> > amcheck-server: fatal slot 7: mtx: Request Sense: Long Report=yes
> > ERROR: new tape not found in rack
> > (expecting a new tape)
>
> This is typically the message seen when the tapelist does
> not contain at least tapecycle number of active tapes.
>
Now it reports this error:
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/lib/amanda/holdingdisk: 60352244 KB disk space available,
that's plenty
amcheck-server: fatal slot 7: mtx: Request Sense: Long Report=yes
ERROR: label Daily11 or new tape not found in rack
(expecting tape Daily11 or a new tape)
>
> ...
> >
> > This is the status from mtx:
> >
> > -bash-3.00$ mtx -f /dev/sg3 status
> > Storage Changer /dev/sg3:1 Drives, 24 Slots ( 1 Import/Export )
> > Data Transfer Element 0:Empty
> > Storage Element 1:Full :VolumeTag=A00002
> > Storage Element 2:Full :VolumeTag=A00003
> > Storage Element 3:Full :VolumeTag=A00004
> > Storage Element 4:Full :VolumeTag=A00005
> > Storage Element 5:Full :VolumeTag=A00006
> > Storage Element 6:Full :VolumeTag=A00007
> > Storage Element 7:Full :VolumeTag=A00008
>
> Something is there.
>
> jl
It's not in the drive element--there is an AMANDA labelled tape
at SLOT 7 (unfortunately the bar code is one higher, but this is
immaterial).
Now this is odd: I just labeled Daily 7, and it's not
in the tapelist:
-bash-3.00$ more tapelist
20080213 Daily23 reuse
20080212 Daily14 reuse
20080203 Daily10 reuse
20080202 Daily09 reuse
20080201 Daily08 reuse
20080129 Daily06 reuse
20080128 Daily05 reuse
20080115 Daily04 reuse
20080114 Daily03 reuse
20080111 Daily02 reuse
20080110 Daily01 reuse
20080106 Daily11 reuse
0 Daily22 reuse
0 Daily21 reuse
0 Daily20 reuse
0 Daily19 reuse
0 Daily18 reuse
0 Daily17 reuse
0 Daily16 reuse
0 Daily15 reuse
0 Daily13 reuse
0 Daily12 reuse
-bash-3.00$
FL
>
>
>