Re: chg-zd-mtx issue ?
2003-04-04 15:16:50
Gene,
Jon,
This useful ? In order from newest file to eldest...
Personally I don't see an error here but the command that
produced these (and other files) was
> amtape ninfo update
amtape: scanning all 9 slots in tape-changer rack:
slot 3: date X label NTNWKLY10
Bus error (core dumped)
# cat amtape.20030404133143.debug
amtape: debug 1 pid 20316 ruid 110 euid 110: start at Fri Apr 4 13:31:43 2003
changer: got exit: 0 str: 3 9 1 1
changer: got exit: 0 str: 3 /dev/rmt/0cn
changer_label: NTNWKLY10 for slot 3
changer: got exit: 0 str: 3 9 1 1
changer_query: changer return was 9 1 1
changer_query: searchable = 1
changer_label: calling changer -label NTNWKLY10
changer: got exit: 0 str: 3 /dev/rmt/0cn
# cat chg-zd-mtx.20030404133149000.debug
chg-zd-mtx: debug 1 pid 20624 ruid 110 euid 110: start at Fri Apr 4 13:31:49
2003
13:31:49 Arg info:
$# = 2
$0 = "/usr/local/libexec/chg-zd-mtx"
$1 = "-label"
$2 = "NTNWKLY10"
13:31:49 Running: /usr/local/sbin/mtx status
13:31:50 Exit code: 0
Stdout:
Storage Changer /dev/scsi/changer/c5t4d0:1 Drives, 9 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = AF6411L1
Storage Element 1:Full :VolumeTag=AF6410L1
Storage Element 2:Full :VolumeTag=AF6402L1
Storage Element 3:Empty:VolumeTag=
Storage Element 4:Full :VolumeTag=AF6412L1
Storage Element 5:Full :VolumeTag=AF6394L1
Storage Element 6:Full :VolumeTag=CLNI55L1
Storage Element 7:Full :VolumeTag=AF6396L1
Storage Element 8:Full :VolumeTag=AF6398L1
Storage Element 9:Full :VolumeTag=AF6397L1
13:31:50 Config info:
firstslot = "1"
lastslot = "9"
cleanslot = "-1"
cleancycle = "120"
offline_before_unload = "0"
unloadpause = "0"
autoclean = "0"
autocleancount = "99"
havereader = "1"
driveslot = "0"
poll_drive_ready = "3"
max_drive_wait = "120"
13:31:50 STATUS -> currently loaded slot = 3
-> currently loaded barcode = "AF6411L1"
13:31:50 LABEL -> Adding label "NTNWKLY10" with barcode "AF6411L1" for slot
3 into /usr/local/etc/amanda/ninfo/chg-zd-mtx-barcodes
-> already synced
13:31:50 Exit (0) -> 3 /dev/rmt/0cn
chg-zd-mtx: pid 20714 finish time Fri Apr 4 13:31:50 2003
Then a new core file
# cat chg-zd-mtx.20030404133149.debug
chg-zd-mtx: debug 1 pid 20526 ruid 110 euid 110: start at Fri Apr 4 13:31:49
2003
13:31:49 Arg info:
$# = 1
$0 = "/usr/local/libexec/chg-zd-mtx"
$1 = "-info"
13:31:49 Running: /usr/local/sbin/mtx status
13:31:49 Exit code: 0
Stdout:
Storage Changer /dev/scsi/changer/c5t4d0:1 Drives, 9 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = AF6411L1
Storage Element 1:Full :VolumeTag=AF6410L1
Storage Element 2:Full :VolumeTag=AF6402L1
Storage Element 3:Empty:VolumeTag=
Storage Element 4:Full :VolumeTag=AF6412L1
Storage Element 5:Full :VolumeTag=AF6394L1
Storage Element 6:Full :VolumeTag=CLNI55L1
Storage Element 7:Full :VolumeTag=AF6396L1
Storage Element 8:Full :VolumeTag=AF6398L1
Storage Element 9:Full :VolumeTag=AF6397L1
13:31:49 Config info:
firstslot = "1"
lastslot = "9"
cleanslot = "-1"
cleancycle = "120"
offline_before_unload = "0"
unloadpause = "0"
autoclean = "0"
autocleancount = "99"
havereader = "1"
driveslot = "0"
poll_drive_ready = "3"
max_drive_wait = "120"
13:31:49 STATUS -> currently loaded slot = 3
-> currently loaded barcode = "AF6411L1"
13:31:49 INFO -> first slot: 1
-> current slot: 3
-> loaded slot: 3
-> last slot: 9
-> slot list: 1 2 3 4 5 6 7 8 9
-> can go backwards: 1
-> havereader: 1
13:31:49 Exit (0) -> 3 9 1 1
chg-zd-mtx: pid 20614 finish time Fri Apr 4 13:31:49 2003
|
|
|