Amanda-Users

Library not recognized

2006-05-08 15:54:30
Subject: Library not recognized
From: "Darren Slocum" <dslocum AT Deploy DOT com>
To: <amanda-users AT amanda DOT org>
Date: Mon, 8 May 2006 15:48:37 -0400
Hello all;
 
I'm trying to get My Dear Amanda on RH9 to work with an STK L20.  There are no linux drivers for this product, and the OS is only recognizing it as an scsi-generic, which I tend to think is the problem.
 
I have tried adding the appropriate devices as per the mt man page....
 
              mknod -m 666 /dev/st0 c 9 0
              mknod -m 666 /dev/st0l c 9 32
              mknod -m 666 /dev/st0m c 9 64
              mknod -m 666 /dev/st0a c 9 96
              mknod -m 666 /dev/nst0 c 9 128
              mknod -m 666 /dev/nst0l c 9 160
              mknod -m 666 /dev/nst0m c 9 192
              mknod -m 666 /dev/nst0a c 9 224
..... all of which returned a "no such device" when I attempted an mt ..... rewind on them.
 
The end result of attempting an "chg-zd-mtx -slot 1" is.... "MOVE MEDIUM from Element Address 500 to 1017 Failed".  I had to run chg-zd-mtx as root as the perms on /dev/sg* being root:disk 660 was not sufficient and I was still getting permission denied, so there is probably a further problem somewhere in here too.
 
Following is the complete log output from /tmp/amanda....Any ideas anyone??????
 
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
chg-zd-mtx: debug 1 pid 32002 ruid 0 euid 0: start at Mon May  8 15:35:04 2006
15:35:04 Using config file /backups/amanda/current/etc/amanda/deploy/changer.conf
15:35:04 Arg info:
         $# = 2
         $0 = "/backups/amanda/current/libexec/chg-zd-mtx"
         $1 = "-slot"
         $2 = "1"
15:35:04 Running: /usr/sbin/mtx status
15:35:04 Exit code: 0
         Stdout:
  Storage Changer /dev/sg3:1 Drives, 19 Slots ( 1 Import/Export )
Data Transfer Element 0:Full (Storage Element 18 Loaded):VolumeTag = MED018    
      Storage Element 1:Full :VolumeTag=MED001
      Storage Element 2:Full :VolumeTag=MED002
      Storage Element 3:Full :VolumeTag=MED003
      Storage Element 4:Full :VolumeTag=MED004
      Storage Element 5:Full :VolumeTag=MED005
      Storage Element 6:Full :VolumeTag=MED006
      Storage Element 7:Full :VolumeTag=MED007
      Storage Element 8:Full :VolumeTag=MED008
      Storage Element 9:Full :VolumeTag=MED009
      Storage Element 10:Full :VolumeTag=MED010
      Storage Element 11:Full :VolumeTag=MED011
      Storage Element 12:Full :VolumeTag=MED012
      Storage Element 13:Full :VolumeTag=MED013
      Storage Element 14:Full :VolumeTag=MED014
      Storage Element 15:Full :VolumeTag=MED015
      Storage Element 16:Full :VolumeTag=MED016
      Storage Element 17:Full :VolumeTag=MED017
      Storage Element 18:Empty
      Storage Element 19 IMPORT/EXPORT:Empty
15:35:04 SLOTLIST -> firstslot set to 1
15:35:04 SLOTLIST -> lastslot set to 18
15:35:04 Config info:
         firstslot = "1"
         lastslot = "18"
         cleanslot = "-1"
         cleancycle = "120"
         offline_before_unload = "0"
         unloadpause = "0"
         autoclean = "0"
         autocleancount = "99"
         havereader = "0"
         driveslot = "0"
         poll_drive_ready = "3"
         initial_poll_delay = "0"
         max_drive_wait = "120"
15:35:04 LOADSLOT -> load drive 0 (/dev/sg0) from slot 1
15:35:04 STATUS   -> currently loaded slot = 18
                  -> currently loaded barcode = "MED018"
15:35:04 EJECT    -> ejecting tape from /dev/sg0
15:35:04 STATUS   -> currently loaded slot = 18
                  -> currently loaded barcode = "MED018"
15:35:04 EJECT    -> moving tape from drive 0 to storage slot 18
15:35:04 Running: /usr/sbin/mtx unload 18 0
15:35:05 Exit code: 1
         Stderr:
Unloading Data Transfer Element into Storage Element 18...mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 3A
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
MOVE MEDIUM from Element Address 500 to 1017 Failed
15:35:05          -> status 1, result "Unloading Data Transfer Element into Storage Element 18...mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 3A
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
MOVE MEDIUM from Element Address 500 to 1017 Failed"
15:35:05 Return (2) -> 18 Unloading Data Transfer Element into Storage Element 18...mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 3A
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
MOVE MEDIUM from Element Address 500 to 1017 Failed
15:35:05 Exit (2) -> 18 Unloading Data Transfer Element into Storage Element 18...mtx: Request Sense: Long Report=yes
mtx: Request Sense: Valid Residual=no
mtx: Request Sense: Error Code=70 (Current)
mtx: Request Sense: Sense Key=Illegal Request
mtx: Request Sense: FileMark=no
mtx: Request Sense: EOM=no
mtx: Request Sense: ILI=no
mtx: Request Sense: Additional Sense Code = 3A
mtx: Request Sense: Additional Sense Qualifier = 00
mtx: Request Sense: BPV=no
mtx: Request Sense: Error in CDB=no
mtx: Request Sense: SKSV=no
MOVE MEDIUM from Element Address 500 to 1017 Failed
chg-zd-mtx: pid 32175 finish time Mon May  8 15:35:05 2006
 
Thanks!
 
Darren Slocum | Information Technology
Deploy Solutions, Inc. | 275 Grove Street, Suite 2-200 | Auburndale | MA | 02466 | USA

Email: dslocum AT deploy DOT com | Desk: 617-641-2722 x322 | Cell: 781.888.1729 | Page: 7818881729 AT tmomail DOT net | Fax: 617-641-2101 | www.deploy.com
 
DEPLOY SOLUTIONS | Competitive Advantage P O W E R E D  B Y  P E O P L E (tm)
 
<Prev in Thread] Current Thread [Next in Thread>