cancel
Showing results for 
Search instead for 
Did you mean: 

Why do drives stay 'DOWN-TLD'

jacksparrow
Level 3

We’re running an instance of NB 6.0MP4 on Solaris 8 . Master and Media server and robot are all on this Solaris platform.

 On our HP A4846 robotic tape drive we’ve got 6 drives. Three of which are ACTIVE and working and 3 which are labeled as ‘DOWN-TLD’. This has been an ongoing issue. I  focused  on getting one tape drive back  (drive 6) and observed the following:

-          sgscan sees the drive

-          tpconfig –dl shows the drive

-          vmglob –listall show the drive also

-          Drive 6 visible in admin gui

-          each time the drive is set to UP in the admin console it switches back to ‘DOWN-TLD’ after a couple of minutes. I believe that this drive was replaced a few months ago due to similar symptoms.

   -    /var/adm/messages does show  tldcd[22576]: [ID 444497 daemon.error] TLD(0) cannot clear drive 6 error, drive asc=0x40, ascq=0x2

So the drive can be seen but there is some error that can't be cleared . Where does one go from here ?

Any hlp apprec,
Jack



1 REPLY 1

Omar_Villa
Level 6
Employee
Hi probably u have a missmatch with the serial number outputs, run this script and compare the SN, Drives Names and Paths.
 
#!/bin/ksh
################################################################################
# Author: Omar A. Villa
# Name: VerifyDrives.ksh
# Description: Grab tpconfig, tpautoconf and vmglob drives info and sort them 
#     in an output report to compare them in excel spreadsheet with vlookup.
# Usage: ./VerifyDrives.ksh <MediaServerName>
# Input: 
#       $1 -- Media Servername that will be analized
# Output: NONE
################################################################################
 
SER=$1 # Media Server name to analize
 
###### Grab Media Server Info ######
vmoprcmd -h $SER -shmdrive | awk '{print $38, $39, $31}' | sort -n | grep -iv '*EmPt' | grep -iv '^ *$' > $SER.conf.log
vmoprcmd -h $SER -autoconfig -t | awk '{print $5,$10}' | sort -n > $SER.auto.log
vmglob -listall -java | grep -i $SER | grep -iv robot | awk '{print $4,$3}' | sort -n | grep -iv '^-' > $SER.glob.log
 
exec 6< $SER.conf.log
exec 7< $SER.auto.log
exec 8< $SER.glob.log
 
###### Count drives per DB ########
TOT_CONF=`cat $SER.conf.log | wc -l`
TOT_AUTO=`cat $SER.auto.log | wc -l`
TOT_GLOB=`cat $SER.glob.log | wc -l`
 
set -A inc -s $TOT_CONF $TOT_AUTO $TOT_GLOB
limit=`print "${inc[@]}" | awk '{print $NF}'`
 
 
###### Output Header #########
print "\nTPCONFIG\t\t\t\tAUTOCONF\t\tVMGLOB" > $SER.all.log
print "SN\t\tDN\tPath\t\tSN\tPath\t\tSN\tDN" >> $SER.all.log
 
 
###### Output Body  ##########
integer n=1
while ((n <= $limit))
do
       read -u6 first_line6
       read -u7 first_line7
       read -u8 first_line8
       print "$first_line6 :1 $first_line7 :2 $first_line8 :3" >> $SER.all.log
       n=n+1
done
 
###### Output Foot ###########
print "\nTotal Drives tpconfig: $TOT_CONF" >> $SER.all.log
print "Total Drives autoconf: $TOT_AUTO" >> $SER.all.log
print "Total Drives vmglob  : $TOT_GLOB" >> $SER.all.log
 
cat $SER.all.log
 
Hope this helps
Regards