← Back to team overview

sslug-teknik team mailing list archive

Amanda kan ikke skifte bånd i DLT7 Autoloader.

 

Hello...

Jeg har siddet og leget med amanda, i de sidste par dage...

Jeg kan sgu ikke rigtig få den til at skife bånd, og det eneste jeg får udaf 
amanda er : 

./amtape Daily slot 1
amtape: could not load slot DeviceCapabilitiesPage: == NULL

Det eneste jeg har konfigueret indtil nu er amanda.conf og chg-scsi.conf..

Det er da nok for at teste ik'?

Jeg ved sgu ikke rigtig hvad det kan være, jeg har lagt conf filerne med og 
en debug fil...

Håber en eller anden har et forslag til hvad jeg kan prøve eller noget...

-Lennart

-- 

	Lennart Hansen, System Administrator.

 Email: lh@xxxxxxxx                     DixaNet (UK) Ltd.
 Mobile: [+45] 5139 6742            Vedbæk Strandvej 341
 Phone: [+45] 4567 6742             DK-2950 Vedbæk

------------------------------------------------

Quitters Never Win, Winners Never Quit, But Those Who Never Win 
AND Never Quit Are Idiots. 


chg-scsi: debug 1 pid 27827 ruid 24 euid 24 start time Thu May  3 09:24:43 2001
ARG [0] : /usr/local/libexec/chg-scsi
ARG [1] : -slot
ARG [2] : 1
Number of configurations: 1
Tapes need eject: No
barcode reader  : No
Tapes need sleep: 90 seconds
Cleancycles     : 100
Changerdevice   : /dev/sg0
Labelfile       : /usr/local/amanda/etc/amanda/Daily/labelfile
Tapeconfig Nr: 0
  Drivenumber   : 0
  Startslot     : 0
  Endslot       : 4
  Cleanslot     : 5
  Devicename    : /dev/nst0
  changerident  : none
  SCSITapedev   : /dev/sg0
  tapeident     : none
  statfile      : /usr/local/amanda/etc/amanda/Daily/tapestatus
  Slotfile      : /usr/local/amanda/etc/amanda/Daily/tape-slot
  Cleanfile     : /usr/local/amanda/etc/amanda/Daily/tape-clean
  Usagecount    : /usr/local/amanda/etc/amanda/Daily/totaltime
##### START OpenDevice
OpenDevice : /dev/sg0
SCSI_OpenDevice : use SG interface
SCSI_OpenDevice : current timeout 6000
SCSI_OpenDevice : timeout set to 60000
##### START SCSI_Inquiry
SCSI_Inquiry start length = 56:
##### START DecodeSCSI
SCSI_ExecuteCommand :  INQUIRY 12 00 00 00 38 00
##### STOP DecodeSCSI
08 80 02 02 33 00 00 00 41 44 49 43 20 20 20 20    ....3...ADIC....
46 61 73 74 53 74 6F 72 20 44 4C 54 20 20 20 20    FastStor.DLT....
42 31 31 37 00 00 00 00 00 00 00 00 00 00 00 00    B117............
00 00 00 00 00 00 00 00 
SCSI_Inquiry : end 0
##### START PrintInquiry
qualifier       0
type            8
data_format     2
ansi_version    2
ecma_version    0
iso_version     0
type_modifier   0
removable       1
vendor_info     ADIC    
prod_ident      FastStor DLT    
prod_version    B117
vendor_specific 
using ident = generic, type = Generic driver tape/robot [generic]
##### START OpenDevice
OpenDevice : /dev/nst0
SCSI_OpenDevice : checking if /dev/nst0 is a sg device
No link /dev/nst0
using ident = generic, type = Generic driver tape/robot [generic]
##### START OpenDevice
OpenDevice : /dev/sg0
SCSI_OpenDevice : use SG interface
SCSI_OpenDevice : current timeout 6000
SCSI_OpenDevice : timeout set to 60000
##### START SCSI_Inquiry
SCSI_Inquiry start length = 56:
##### START DecodeSCSI
SCSI_ExecuteCommand :  INQUIRY 12 00 00 00 38 00
##### STOP DecodeSCSI
08 80 02 02 33 00 00 00 41 44 49 43 20 20 20 20    ....3...ADIC....
46 61 73 74 53 74 6F 72 20 44 4C 54 20 20 20 20    FastStor.DLT....
42 31 31 37 00 00 00 00 00 00 00 00 00 00 00 00    B117............
00 00 00 00 00 00 00 00 
SCSI_Inquiry : end 0
##### START PrintInquiry
qualifier       0
type            8
data_format     2
ansi_version    2
ecma_version    0
iso_version     0
type_modifier   0
removable       1
vendor_info     ADIC    
prod_ident      FastStor DLT    
prod_version    B117
vendor_specific 
using ident = generic, type = Generic driver tape/robot [generic]
###### START get_drive_count
get_drive_count      : fd 3
##### START GenericElementStatus
##### START SCSI_ModeSense
SCSI_ModeSense start length = 255:
##### START DecodeSCSI
SCSI_ExecuteCommand :  MODE SENSE 1A 08 3F 00 FF 00
##### STOP DecodeSCSI
SCSI_ModeSense end: 0
##### START DecodeModeSense
65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    e...............
1D 12 00 56 00 01 00 01 00 07 00 00 00 00 00 52    ...V...........R
00 01 00 00 1E 02 00 00 1F 0E 0A 00 0A 0B 00 03    ................
00 00 00 00 00 00 00 00 00 2C 43 6F 70 79 72 69    ..........Copyri
67 68 74 20 28 43 29 20 31 39 39 37 20 2D 20 32    ght..C..1997...2
30 30 30 20 41 44 49 43 20 20 32 30 30 30 2D 30    000.ADIC..2000.0
34 2D 31 31 C5 A4 00 00 83 C4 FC 8D 45 A8 50 8B    4.11........E.P.
45 A4 50 6A 03 E8 F6 A4 FF FF 83 C4 10 85 C0 7D    E.Pj............
0F 8B 55 08 C7 02 01 00 00 00 E9 02 02 00 00 90    ..U.............
8B 45 B8 25 00 F0 00 00 3D 00 80 00 00 75 08 8B    .E...........u..
45 D4 83 F8 0B 77 19 E8 54 A4 FF FF C7 00 16 00    E....w..T.......
00 00 8B 4D 08 C7 01 01 00 00 00 E9 D1 01 00 00    ...M............
8B 75 08 83 C4 F8 89 46 24 6A 00 8B 55 A4 52 6A    .u.....F.j..U.Rj
02 6A 01 50 6A 00 E8 E5 18 08 00 89 46 20 83 C4    .j.Pj.......F...
20 83 F8 FF 74 0A C7 06 02 00 00 00 EB 5B 89 F6    ....t...........
83 C4 F4 8B 45 D4 50 E8 04 93 FF FF 8B 4D 08 
buffer length = 97
##### START BarCode
BarCode              : fd 3
Ident = [FastStor DLT], function = [generic]
##### START GenericBarCode
08 80 02 02 33 00 00 00 41 44 49 43 20 20 20 20    ....3...ADIC....
46 61 73 74 53 74 6F 72 20 44 4C 54 20 20 20 20    FastStor.DLT....
42 31 31 37 00 00 00 00 00 00 00 00 00 00 00 00    B117............
00 00 00 00 00 00 00 00 
##### STOP GenericBarCode => 0
##### START SCSI_ReadElementStatus
##### START DecodeSCSI
SCSI_ExecuteCommand :  READ ELEMENT STATUS B8 00 00 00 FF FF 00 00 00 08 00 00
##### STOP DecodeSCSI
SCSI_ReadElementStatus : (1) SCSI_ExecuteCommand 0
SCSI_ReadElementStatus: DataBufferLength B0, ret 0
00 01 00 09 00 00 00 A8 
##### START DecodeSCSI
SCSI_ExecuteCommand :  READ ELEMENT STATUS B8 00 00 00 FF FF 00 00 00 B0 00 00
##### STOP DecodeSCSI
SCSI_ReadElementStatus : (2) SCSI_ExecuteCommand 0
00 01 00 09 00 00 00 A8 01 00 00 10 00 00 00 10    ................
00 56 00 00 00 00 00 00 00 00 00 00 00 00 00 00    .V..............
02 00 00 10 00 00 00 70 00 01 09 00 00 00 00 00    .......p........
00 80 00 01 00 00 00 00 00 02 09 00 00 00 00 00    ................
00 80 00 07 00 00 00 00 00 03 09 00 00 00 00 00    ................
00 80 00 02 00 00 00 00 00 04 09 00 00 00 00 00    ................
00 80 00 03 00 00 00 00 00 05 09 00 00 00 00 00    ................
00 80 00 04 00 00 00 00 00 06 08 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 00 07 08 00 00 00 00 00    ................
00 00 00 00 00 00 00 00 04 00 00 10 00 00 00 10    ................
00 52 08 00 00 00 20 03 00 00 00 00 00 00 00 00    .R..............



	Media Transport Elements (robot arms) :
		Element #0086 E
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 1 From = -001
			TAG = 


	Storage Elements (Media slots) :
		Element #0001 F
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 2 From = 0001
			TAG = 
		Element #0002 F
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 2 From = 0007
			TAG = 
		Element #0003 F
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 2 From = 0002
			TAG = 
		Element #0004 F
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 2 From = 0003
			TAG = 
		Element #0005 F
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 2 From = 0004
			TAG = 
		Element #0006 E
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 2 From = -001
			TAG = 
		Element #0007 E
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 2 From = -001
			TAG = 


	Data Transfer Elements (tape drives) :
		Element #0082 E
			EXCEPT = 00
			ASC = 00 ASCQ = 00
			Type 4 From = -001
			TAG = 
			SCSI ADDRESS = 3


	Import/Export Elements  :
###### START drive_loaded
drive_loaded         : fd 3 drivenum 0 
##### START isempty
##### STOP isempty [0]
##### START get_clean_state
##### START GenericClean
##### START RequestSense
##### START DecodeSCSI
SCSI_ExecuteCommand :  REQUEST SENSE 03 00 00 00 1D 00
##### STOP DecodeSCSI
GenericClean :
##### START DecodeExtSense
GenericClean : Extended Sense
##### START DecodeSense
GenericClean : Sense Keys
	ErrorCode                     70
	Valid                         0
	ASC                           00
	ASCQ                          00
	Sense key                     00
		No Sense
	Log Parameter Page Code         00
	Log Parameter Code              00
	Underrun/Overrun Counter        00
	Read/Write Error Counter        0
	Remaing 1024 byte tape blocks   7479364
	Tracking Retry Counter          4C
	Read/Write Retry Counter        54
	Fault Sympton Code              20
##### STOP get_clean_state [0]
###### START load
load                 : fd 3, drive 0, slot 1 
load : load drive 0[82] slot 1[2]
##### START GenericMove
GenericMove          : from = 2, to = 82
##### START LogSense
##### START SCSI_TestUnitReady
##### START DecodeSCSI
SCSI_ExecuteCommand :  TEST UNIT READY 00 00 00 00 00 00
##### STOP DecodeSCSI
##### START GenericRewind
##### START SCSI_TestUnitReady
##### START DecodeSCSI
SCSI_ExecuteCommand :  TEST UNIT READY 00 00 00 00 00 00
##### STOP DecodeSCSI
##### START SCSI_TestUnitReady
##### START DecodeSCSI
SCSI_ExecuteCommand :  TEST UNIT READY 00 00 00 00 00 00
##### STOP DecodeSCSI
GenericRewind : Ready after 0 sec, true = 0
LogSense
##### START DecodeSCSI
SCSI_ExecuteCommand :  LOG SENSE 4D 00 40 00 00 00 00 08 00 00
##### STOP DecodeSCSI
##### START DecodeSCSI
SCSI_ExecuteCommand :  LOG SENSE 4D 00 6E 00 00 00 00 08 00 00
##### STOP DecodeSCSI
##### START DecodeSCSI
SCSI_ExecuteCommand :  LOG SENSE 4D 00 70 00 00 00 00 08 00 00
##### STOP DecodeSCSI
##### START DecodeSCSI
SCSI_ExecuteCommand :  LOG SENSE 4D 00 71 00 00 00 00 08 00 00
##### STOP DecodeSCSI
##### START LookupElement
##### STOP LookupElement (STE)
##### START LookupElement
##### STOP LookupElement (DTE)
CheckMove : pDeviceCapabilitiesPage == NULLChgExit in CheckMove, reason DeviceCapabilitiesPage == NULL