mtx error, used with amanda
2007-11-19 10:08:16
Opps, seem to have fixed the error myself, before bugging either
list, however I will present the following in case there is something
that might be generally helpful.
My "fix" was to disable the barcode reader in the amanda config
file that sets the mtx parameters. This is acceptable at my site
since we have not applied barcode labels to all tapes and its only
an L9 (9 tapes) with a limited tape pool of about 40 tapes, manually
updated weekly.
/usr/local/etc/amanda/notesx/chg-zd-mtx.conf
havereader=0
==========
Platform, Solaris 9, Amanda 2.4.4, MTX 1.3.9
Similar error with amcheck, or amdump when moving jukebox to next tape.
Interestingly, amtape works without error.
> amlabel -f notesx NOTESX16
labeling tape in slot 2 (/dev/rmt/2un):
rewinding, reading label NOTESX04, tape is active
rewinding, writing label NOTESX16, checking labelBus error (core dumped)
/tmp/amanda/amlabel.20071119094839.debug
amlabel: debug 1 pid 2462 ruid 110 euid 110: start at Mon Nov 19 09:48:39 2007
changer: got exit: 0 str: 2 /dev/rmt/2un
changer_label: NOTESX16 for slot 2
changer: got exit: 0 str: 2 6 1 1
changer_query: changer return was 6 1 1
changer_query: searchable = 1
changer_label: calling changer -label NOTESX16
changer: got exit: 2 str: <none> Line 1 malformed in /usr/local/etc/amanda/notes
x/chg-zd-mtx-barcodes: 0
file /tmp/amanda/chg-zd-mtx.20071119094906.debug
chg-zd-mtx: debug 1 pid 2667 ruid 110 euid 110: start at Mon Nov 19 09:49:06
2007
09:49:06 Arg info:
$# = 2
$0 = "/usr/local/libexec/chg-zd-mtx"
$1 = "-label"
$2 = "NOTESX16"
09:49:06 Running: mtx status
09:49:06 Exit code: 0
Stdout:
Storage Changer /dev/scsi/changer/c6t4d0:1 Drives, 9 Slots ( 0 Import/Export )
Data Transfer Element 0:Full (Storage Element 2 Loaded):VolumeTag =
Storage Element 1:Full :VolumeTag=
Storage Element 2:Empty:VolumeTag=
Storage Element 3:Full :VolumeTag=AF6428L1
Storage Element 4:Full :VolumeTag=AF6429L1
Storage Element 5:Full :VolumeTag=CLNI57L1
Storage Element 6:Full :VolumeTag=CLNI58L1
Storage Element 7:Empty:VolumeTag=
Storage Element 8:Empty:VolumeTag=
Storage Element 9:Full :VolumeTag=
09:49:07 Config info:
firstslot = "1"
lastslot = "6"
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 = "500"
09:49:07 STATUS -> currently loaded slot = 2
-> currently loaded barcode = ""
09:49:07 LABEL -> Adding label "NOTESX16" with barcode "" for slot 2 into
/usr/local/etc/amanda/notesx/chg-zd-mtx-barcodes
09:49:07 ERROR -> Line 1 malformed: 0
-> Remove /usr/local/etc/amanda/notesx/chg-zd-mtx-barcodes
and run "/usr/local/sbin/amtape notesx update"
09:49:07 Exit (2) -> <none> Line 1 malformed in
/usr/local/etc/amanda/notesx/chg-zd-mtx-barcodes: 0
chg-zd-mtx: pid 2756 finish time Mon Nov 19 09:49:07 2007
> more /usr/local/etc/amanda/notesx/chg-zd-mtx-barcodes
0
> more /usr/local/etc/amanda/notesx/chg-zd-mtx.conf
firstslot=1
lastslot=6
#cleanslot=3
AUTOCLEAN=0
autocleancount=99
havereader=1
offlinestatus=0
OFFLINE_BEFORE_UNLOAD=0
max_drive_wait=500
driveslot=0
---
Brian R Cuttler brian.cuttler AT wadsworth DOT org
Computer Systems Support (v) 518 486-1697
Wadsworth Center (f) 518 473-6384
NYS Department of Health Help Desk 518 473-0773
IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure. It
is intended only for the addressee. If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments. Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- mtx error, used with amanda,
Brian Cuttler <=
|
|
|