Re: 16 slots, 16 loads/reads?
2009-01-28 14:12:07
Any clues as to what I might try?
I have the barcodes file that matches tape name to barcode and
everything. . .
-Nick
Nicholas Brockner wrote:
more chg-zd-mtx.20090127120703.debug:
1233076023.272531: chg-zd-mtx: pid 14213 ruid 1290 euid 1290: start at
Tue Jan 27 12:07:03 2009
12:07:03 Using config file /etc/amanda/dailyfull/changer.conf
12:07:03 Arg info:
$# = 2
$0 = "/usr/libexec/amanda/chg-zd-mtx"
$1 = "-slot"
$2 = "next"
12:07:03 Running: /usr/sbin/mtxRunning: status
12:07:04 Exit code: 0
Stdout:
Storage Changer /dev/sg3:1 Drives, 16 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 4 Loaded):VolumeTag =
WEEK3TAPE3
Storage Element 1:Full :VolumeTag=WEEK3TAPE4
Storage Element 2:Full :VolumeTag=WEEK3TAPE7
Storage Element 3:Empty
Storage Element 4:Empty
Storage Element 5:Full :VolumeTag=WEEK3TAPE2
Storage Element 6:Full :VolumeTag=WEEK3TAPE1
Storage Element 7:Full :VolumeTag=WEEK3TAPE6
Storage Element 8:Full :VolumeTag=WEEK3TAPE5
Storage Element 9:Empty
Storage Element 10:Empty
Storage Element 11:Empty
Storage Element 12:Empty
Storage Element 13:Empty
Storage Element 14:Empty
Storage Element 15:Empty
Storage Element 16:Empty
12:07:04 Config info:
firstslot = "1"
lastslot = "16"
cleanslot = "-1"
cleancycle = "120"
offline_before_unload = "1"
unloadpause = "10"
autoclean = "0"
autocleancount = "99"
havereader = "1"
driveslot = "0"
poll_drive_ready = "10"
initial_poll_delay = "0"
max_drive_wait = "120"
12:07:05 LOADSLOT -> load drive 0 (/dev/nst0) from slot next
12:07:05 STATUS -> currently loaded slot = 4
-> currently loaded barcode = "WEEK3TAPE3"
12:07:05 EJECT -> ejecting tape from /dev/nst0
12:07:05 STATUS -> currently loaded slot = 4
-> currently loaded barcode = "WEEK3TAPE3"
12:07:05 EJECT -> moving tape from drive 0 to storage slot 4
12:07:05 Running: try_eject_deviceRunning: /dev/nst0
12:07:34 Exit code: 0
12:07:44 Running: /usr/sbin/mtxRunning: unloadRunning: 4Running: 0
12:08:34 Exit code: 0
Stderr:
Unloading Data Transfer Element into Storage Element 4...done
12:08:34 -> status 0, result "Unloading" -> status Data, result
"Transfer" -> status Element, result "into" -> status Storage, result
"Element" -> status 4...
done, result ""
12:08:34 Return (0) -> 4 tape:/dev/nst0
12:08:34 LOADSLOT -> loading tape from slot 5 to drive 0 (/dev/nst0)
12:08:34 Running: /usr/sbin/mtxRunning: loadRunning: 5Running: 0
12:09:51 Exit code: 0
12:09:51 -> status 0, result ""
12:09:56 Exit (0) -> 5 tape:/dev/nst0
1233076196.510932: chg-zd-mtx: pid 14494 finish time Tue Jan 27
12:09:56 2009
Thanks,
Nick
Dustin J. Mitchell wrote:
On Tue, Jan 27, 2009 at 9:54 AM, Nick Brockner
<nbrockne AT hamilton DOT edu> wrote:
Is there a way to get barcodes working in this version of amanda so
that it
wouldn't even have to do the reads, and if not, is there a way to
tell it to
stop reading until it gets to 16 (ONLY READ FULL SLOTS)???
You have "havereader = 1", so as long as mtx and your tape changer
support them, barcodes should be working.
Can you post your changer log file?
Dustin
|
|
|