Amanda-Users

problem with 2nd jukebox

2003-01-28 14:47:12
Subject: problem with 2nd jukebox
From: Brian Cuttler <brian AT wadsworth DOT org>
To: amanda-users AT amanda DOT org, Chris Knight <knight AT csserv.wadsworth DOT org>
Date: Tue, 28 Jan 2003 14:07:27 -0500 (EST)
Solaris 8, Amanda 2.4.2p2 (plus /usr/local/libexec/chg-zd-mtx from 2.4.3)
SUN StorEdge 9, 

/usr/local/sbin/mtx -f /dev/scsi/changer/c6t4d0 inquiry
Product Type: Medium Changer
Vendor ID: 'HP      '
Product ID: 'C7145           '
Revision: '233S'
Attached Changer: No

Config works perfectly with drive /dev/rmt/1cn and changer
/dev/scsi/changer/c5t4d0, now so with 0cn and c6t4d0.

Note, all devices seem to be configured the same (ownership and
protections) for links and devices.

MTX commands work perfectly for both sets of devices, seems to be
a problem with chg-zd-mtx script causing a problem with amtape,
amlabel, amxxx anything that needs to position/check the jukebox.

I finally figured out the script was naming the output files based
on the number of the drive, ie 0cn logs to changer.debug.drive0 and 
1cn has log file changer.debug.drive1.

Thanks in advance, Brian


> /usr/local/sbin/mtx -f /dev/scsi/changer/c6t4d0 status
  Storage Changer /dev/scsi/changer/c6t4d0:1 Drives, 9 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Full :VolumeTag=AF6385L1                        
      Storage Element 2:Full :VolumeTag=AF6386L1                        
      Storage Element 3:Full :VolumeTag=AF6387L1                        
      Storage Element 4:Full :VolumeTag=AF6388L1                        
      Storage Element 5:Full :VolumeTag=AF6389L1                        
      Storage Element 6:Full :VolumeTag=AF6399L1                        
      Storage Element 7:Full :VolumeTag=CLNI59L1                        
      Storage Element 8:Full :VolumeTag=CLNI58L1                        
      Storage Element 9:Full :VolumeTag=CLNI57L1                        

# setenv DEBUG 1
# /usr/local/libexec/chg-zd-mtx -info

> cat changer.debug.drive1
  Storage Changer /dev/scsi/changer/c6t4d0:1 Drives, 9 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Full :VolumeTag=AF6385L1                        
      Storage Element 2:Full :VolumeTag=AF6386L1                        
      Storage Element 3:Full :VolumeTag=AF6387L1                        
      Storage Element 4:Full :VolumeTag=AF6388L1                        
      Storage Element 5:Full :VolumeTag=AF6389L1                        
      Storage Element 6:Full :VolumeTag=AF6399L1                        
      Storage Element 7:Full :VolumeTag=CLNI59L1                        
      Storage Element 8:Full :VolumeTag=CLNI58L1                        
      Storage Element 9:Full :VolumeTag=CLNI57L1                        
> cat changer.debug.drive1
13:58:23 === Start Tue Jan 28 13:58:23 EST 2003 ===
13:58:23 Arg info:
         $# = 1
         $0 = "/usr/local/libexec/chg-zd-mtx"
         $1 = "-info"
13:58:23 Running: mtx status
13:58:23 Exit code: 0
         Stdout:
  Storage Changer /dev/scsi/changer/c6t4d0:1 Drives, 9 Slots ( 0 Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Full :VolumeTag=AF6385L1                        
      Storage Element 2:Full :VolumeTag=AF6386L1                        
      Storage Element 3:Full :VolumeTag=AF6387L1                        
      Storage Element 4:Full :VolumeTag=AF6388L1                        
      Storage Element 5:Full :VolumeTag=AF6389L1                        
      Storage Element 6:Full :VolumeTag=AF6399L1                        
      Storage Element 7:Full :VolumeTag=CLNI59L1                        
      Storage Element 8:Full :VolumeTag=CLNI58L1                        
      Storage Element 9:Full :VolumeTag=CLNI57L1                        
13:58:23 Config info:
         firstslot = "1"
         lastslot = "9"
         cleanslot = "-1"
         cleancycle = "120"
         offline_before_unload = "0"
         unloadpause = "0"
         autoclean = "0"
         autocleancount = "99"
         havereader = "1"
         driveslot = "1"
         poll_drive_ready = "3"
         max_drive_wait = "120"
13:58:23 Exit (2) -> <none> could not determine current slot

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