ADSM-L

Re: Checkin scratch volume errors

1997-06-12 11:46:03
Subject: Re: Checkin scratch volume errors
From: "Dwight E. Cook" <decook AT AMOCO DOT COM>
Date: Thu, 12 Jun 1997 10:46:03 -0500
Item Subject: 1.txt "internet headers"
Could not convert BINARY FILE item to text.
Will attempt to 'shar' item as file '02jfbu3' at end of msg.

.......................................................................

Item Subject: Checkin scratch volume errors
     OK, must be a little 8mm tape stacker... 10 tapes or so... ?
     if you query libvol that A00028 probably will not show up there... or
     not as being in the slot that it is physically in.
     OR the tape in that slot, has an external label of SOMETHING but has
     an internal label of A00028, seeing how you specified checklabel=yes
     it will pull each one from its slot and check the internal label...
     Actually this is sounding like it is doing what is is expected to
     do... catch an error in the early stages!

     later
          Dwight



______________________________ Reply Separator _________________________________
Subject: Checkin scratch volume errors
Author:  ADSM-L (ADSM-L AT VM.MARIST DOT EDU) at unix,sh
Date:    6/12/97 10:02 AM


I've been getting a persistent little error lately.  It doesn't seem to
hurt anything, but I'm not sure if it's an indication of a bigger
problem.

The problem occurs when I am checking in new scratch tapes to replace
copy pool tapes sent off site.  The command I'm using is:
  checkin libv 8mmlib status=scratch search=yes checkl=yes

Following is a portion of my activity log:
06/11/97   17:06:25  ANR8422I CHECKIN LIBVOLUME: Operation for library
8MMLIB
                      started as process 69.
06/11/97   17:08:23  ANR8430I Volume A00057 has been checked into
library
                      8MMLIB.
06/11/97   17:10:13  ANR8430I Volume A00056 has been checked into
library
                      8MMLIB.
06/11/97   17:13:04  ANR8443E  : Volume A00028 in library 8MMLIB cannot
be
                      assigned a status of SCRATCH.
06/11/97   17:15:38  ANR8304E Time out error on drive 8MMBOT (/dev/mt0)
in
                      library 8MMLIB.

As you can see, ADSM is trying to checkin tape A00028.  That tape is
already known to ADSM as follows:

    q vol a00028 f=d
                  Volume Name: A00028
             Storage Pool Name: AIX_TAPE
             Device Class Name: 8MMTAPE
       Estimated Capacity (MB): 4,944.0
                         %Util: 37.5
                 Volume Status: Filling
                        Access: Read/Write
        Pct. Reclaimable Space: 44.4
               Scratch Volume?: Yes
               In Error State?: No
      Number of Writable Sides: 1
       Number of Times Mounted: 22
             Write Pass Number: 1
     Approx. Date Last Written: 06/11/97   00:59:51
        Approx. Date Last Read: 06/11/97   04:10:51
           Date Became Pending:
        Number of Write Errors: 0
         Number of Read Errors: 0
               Volume Location:
Last Update by (administrator):
         Last Update Date/Time: 06/05/97   23:08:29

It's always this tape or one other.  My question is why is ADSM telling
the drive to pull that tape and check it in as a scratch tape?

For info:  ADSM Version 2, Release 1, Level 5.11
              AIX 4.1.1
              IBM 7331 tape drive (robot)

Thanks in advance for any pointers...

Jim Graham
Los Alamos County (NM)


---------------------------------------------------------
Get Your *Web-Based* Free Email at http://www.hotmail.com
Get Your *Web-Based* Free Email at http://www.hotmail.com
---------------------------------------------------------
# This is a shell archive.  Remove anything before this line,
# This is a shell archive.  Remove anything before this line,
# then unpack it by saving it in a file and typing "sh file".
#
# Wrapped by Openmail for HP9000 <openmail@tuleosm1> on Thu Jun 12 10:46:36 1997
#
# This archive contains:
#       02jfbu3
#
# Error checking via wc(1) will be performed.

LANG=""; export LANG
PATH=/bin:/usr/bin:$PATH; export PATH


rm -f /tmp/uud$$
(echo "begin 666 /tmp/uud$$\n#;VL*n#6%@x\n \nend" | uudecode) >/dev/null 2>&1
if [ X"`cat /tmp/uud$$ 2>&1`" = Xok ]
then
        unpacker=uudecode
else
        echo Compiling unpacker for non-ascii files
        pwd=`pwd`; cd /tmp
        cat >unpack$$.c <<'EOF'
#include <stdio.h>
#define C (*p++ - ' ' & 077)
main()
{
        int n;
        char buf[128], *p, a,b;

        scanf("begin %o ", &n);
        gets(buf);

        if (freopen(buf, "w", stdout) == NULL) {
                perror(buf);
                exit(1);
        }

        while (gets(p=buf) && (n=C)) {
                while (n>0) {
                        a = C;
                        if (n-- > 0) putchar(a << 2 | (b=C) >> 4);
                        if (n-- > 0) putchar(b << 4 | (a=C) >> 2);
                        if (n-- > 0) putchar(a << 6 | C);
                }
        }
        exit(0);
}
EOF
        cc -o unpack$$ unpack$$.c
        rm unpack$$.c
        cd $pwd
        unpacker=/tmp/unpack$$
fi
rm -f /tmp/uud$$

echo x - 02jfbu3 '[non-ascii]'
$unpacker <<'@eof'
begin 660 02jfbu3
M4F5C96EV960Z(&9R;VT@8V]R<&UX,#$@*&-O<G!M># Q+G1D8RYA;6]C;RYCX
M;VTI(&)Y('1U;&5O<VTQ('=I=&@@15--5% -"@DH,2XS-RXQ,#DN,C O,38NX
M,BD@:60@04$P.3<S.#@S,3([(%1H=2P@,3(@2G5N(#$Y.3<@,3 Z,3$Z-3(@X
M+3 U,# -"E)E8V5I=F5D.B!F<F]M(&AO<VTQ,C)A(&)Y(&-O<G!M># Q("A3X
M34DM."XV+U--22TT+C I#0H):60@2T%!,C8V-38[(%1H=2P@,3(@2G5N(#$YX
M.3<@,3 Z,#(Z,30@+3 U,# -"E)E8V5I=F5D.B!F<F]M(&EN=&5R;&]C:RYAX
M;6]C;RYC;VT@8GD@:&]S;3$R,F$@*%--22TX+C8O4TU)+5-64C0I#0H):60@X
M2T%!,30W.3,[(%1H=2P@,3(@2G5N(#$Y.3<@,3 Z,34Z,C0@+3 U,# -"E)EX
M8V5I=F5D.B!F<F]M('9M+FUA<FES="YE9'4@8GD@<&]R=&%L+F%M;V-O+F-OX
M;2!W:71H(%--5% @:60@04$R-#4T, T*(" H26YT97),;V-K(%--5% @1V%TX
M97=A>2 S+C @9F]R(#QD96-O;VM 04U/0T\N0T]-/BD[#0H@(%1H=2P@,3(@X
M2G5N(#$Y.3<@,3 Z,3$Z,#8@+3 U,# -"E)E8V5I=F5D.B!F<F]M(%9-+DU!X
M4DE35"Y%1%4@8GD@5DTN34%225-4+D5$52 H24)-(%9-(%--5% @5C)2,RD-X
M"B @('=I=&@@0E--5% @:60@-C,Y-3L@5&AU+" Q,B!*[email protected]<@,3$Z,#(ZX
M-3@@1414#0I296-E:79E9#H@9G)O;2!632Y-05))4U0N1415("A.2D4@;W)IX
M9VEN($Q)4U1315)60$U!4DE35"D@8GD@5DTN34%225-4+D5$52 H3$UA:6P@X
M5C$N,F(O,2XX8BD@=VET:"!"4TU44"!I9" Q-#(U.R!4:'4L(#$R($IU;B QX
M.3DW(#$Q.C R.C4T("TP-# P#0I296-E:79E9#H@9G)O;2!632Y-05))4U0NX
M1415(&)Y(%9-+DU!4DE35"Y%1%4@*$Q)4U1315)6(')E;&5A<V4@,2XX8RD@X
M=VET:"!.2D4-"B @(" @(" @("!I9" S,S<W(&9O<B!!1%--+4Q 5DTN34%2X
M25-4+D5$53L@5&AU+" Q,B!*=6X@,3DY-R Q,3HP,CHU," M,#0P, T*4F5CX
M96EV960Z(&9R;VT@34%225-4("A.2D4@;W)I9VEN(%--5%! 34%225-4*2!BX
M>2!632Y-05))4U0N1415("A,36%I; T*(" @(" @(" @(%8Q+C)B+S$N.&(IX
M('=I=&@@0E--5% @:60@,30Q-3L@5&AU+" Q,B!*=6X@,3DY-R Q,3HP,CHUX
M," M,#0P, T*4F5C96EV960Z(&9R;VT@9C@N:&]T;6%I;"YC;VT@8GD@5DTNX
M34%225-4+D5$52 H24)-(%9-(%--5% @5C)2,RD@=VET:"!40U [#0H@(" @X
M(" @(" @5&AU+" Q,B!*[email protected]<@,3$Z,#(Z-#@@1414#0I296-E:79E9#H@X
M*&9R;VT@<F]O=$!L;V-A;&AO<W0I(&)Y(&8X+FAO=&UA:6PN8V]M("@X+C<NX
M-2\X+C<N,RD@:60@24%!,30V,#4[#0H@(" @(" @(" @5&AU+" Q,B!*=6X@X
M,3DY-R P.#HP,CHT-R M,#<P," H4$14*0T*4F5C96EV960Z(&9R;VT@,3DXX
M+CDY+C(P.2XR(&)Y('=W=RYH;W1M86EL+F-O;2!W:71H($A45% [(%1H=2P@X
M,3(@2G5N(#$Y.3<-"B @(" @(" @(" P.#HP,CHT-B!01%0-"E@M3W)I9VENX
M871I;F<M27 Z(%[email protected],C Y+C)=#0I#;VYT96YT+51Y<&4Z(&UU;'1IX
M<&%R="]M:7AE9#L@8F]U;F1A<GD](DUI;65-=6QT:7!A<G1";W5N9&%R>2(-X
M"DUE<W-A9V4M260Z(" \,3DY-S V,3(Q-3 R+DE!03$T-C U0&8X+FAO=&UAX
M:6PN8V]M/@T*1&%T93H@(" @(" @("!4:'4L(#$R($IU;B Q.3DW(# X.C RX
M.C0V(%!$5 T*4F5P;'DM5&\Z(")!1%--.B!$:7-T(%-T;W(@36%N86=E<B(@X
M/$%$4TTM3$!632Y-05))4U0N1415/@T*4V5N9&5R.B B041333H@1&ES="!3X
M=&]R($UA;F%G97(B(#Q!1%--+4Q 5DTN34%225-4+D5$53X-"D9R;VTZ($IIX
M;2!'<F%H86T@/&IG<F%H0$A/5$U!24PN0T]-/@T*4W5B:F5C=#H@(" @("!#X
M:&5C:VEN('-C<F%T8V@@=F]L=6UE(&5R<F]R<PT*5&\Z($%$4TTM3$!632Y-X
+05))4U0N1415#0IT                                            X
                                                             X
end
@eof
set `wc -lwc <02jfbu3`
if test $1$2$3 != 312271856
then
        echo ERROR: wc results of 02jfbu3 are $* should be 31 227 1856
fi

chmod 660 02jfbu3

rm -f /tmp/unpack$$
exit 0
<Prev in Thread] Current Thread [Next in Thread>