HP 24x6
2003-03-23 19:22:13
Hi all...
I am having trouble getting ny HP 24x6 autoloader working with Amanda.
It works fine with the mtx and mt commands so I know the drive is
working with Linux ok. I have a RedHat 7.3 box with the Amanda RPM's
that came on the CD.
When I do a amtape daily slot 1
I get this error
amtape: could not rewind [: : integer expression expected: no tape
onlineamtape: changed to slot /usr/lib/amanda/chg-zd-mtx: on [: :
integer expression expected
And when I do a amcheck daily
I get this
Amanda Tape Server Host Check
-----------------------------
Holding disk /dumps/amanda: 4462668 KB disk space available, that's
plenty
amcheck-server: could not get changer info: badly formed result from
changer: "/usr/lib/amanda/chg-zd-mtx: [: : integer expression expected"
The trouble is it doesn't tell me where it error is!!
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.085 seconds, 0 problems found
(brought to you by Amanda 2.4.2p2)
I am using the chg-zd-mtx.conf file and this is my changer file. I think
this is where I am missing something.....
firstslot=1 ### 1st tape slot
lastslot=6 #### Last tape slot
cleanslot=6 #### Slot with cleaner tape
AUTOCLEAN=0 #### Set to '1' or greater to enable
autocleancount=99 #### Number of access before a clean.
havereader=0 #### If you have a barcode reader, set to 1.
offlinestatus=1 #### Set to 0 if 'mt status' gives an
#### "offline" when drive is offline.
#### Set to 1 or greater if 'mt status'
#### doesn't give and offline, rather an
#### "ONLINE" when drive is online.
OFFLINE_BEFORE_UNLOAD=0
It's driving me mad!! I have been looking back at old posts but I can't
find anything....
Many thanks,
Scott
|
|
|