ADSM-L

lbtest help

1998-04-20 12:27:25
Subject: lbtest help
From: Craig Bell <rcbell AT US.IBM DOT COM>
Date: Mon, 20 Apr 1998 12:27:25 -0400
ADSM already dismounts all drives when the library is initialized during
startup.  If this is not happening, check the activity log for any error
messages related to unload/dismount/move  failures.  There is help on the way
for this in the form of a ptf, but the real issue is drive/hardware unload
problems and correcting these will clear things up.  There have been several
recent appends about a DLT drive microcode level that addresses this.  Even
with the next ptf, if ADSM cannot unload the drive,  it will post a
manual-intervention message and mark the drive offline.

Craig Bell


Dear ADSMers

The technical bit first :-
        ADSM Server 3.1.1.1
        ADSM Client 3.1.20.3
        AIX 4.3 (S/70)
        Breece Hill Q215 with 2 DLT 7000 (microcode level 55 - 1837)
        Atape Driver 4.1.3.0

Has anyone got, or can tell me how to get, some documentation on using
the lbtest program in batch mode, i.e. using lbtest.in.

I am trying to work around the problem that if you halt the server with
tapes mounted, then when the server starts again, it does not know about
the tapes in the drive(s) and consequently when it tries to mount a tape
it fails with I/O destination slot full (or something like that).

I have seen somewhere on the List about an APAR that could help, but it
is not out yet and I need to fix this ASAP.

I have limited success with the following content of lbtest.in with the
command ./lbtest -d /dev/lb0 -f lbtest.in
        command open $D RW
        command return_elem_count
        command return_lib_inventory_all
        command move_drive_slot
        command close

Without the 'command move_drive_slot' it works ok, but the
move_drive_slot returns -2 incorrect number of arguments.
I have tried various parameters like 0, invert = 0, (0) invert=0, etc.
If I run it in interactive mode, it works ok and unloads the tapes back
to their original slots.

Your help would be appreciated.

Regards
Gary

----------------------------------------------------------------
Gary Bromley
Gary Bromley
Aspect Computing Pty Ltd
Tel : +61 (0)3 9230 2242
Fax : +61 (0)3 9818 1320
Email : Gary.Bromley AT Aspect.com DOT au






<Prev in Thread] Current Thread [Next in Thread>