Amanda-Users

config files for HP 40x6e?

2002-09-19 09:09:33
Subject: config files for HP 40x6e?
From: Pete <amanda AT tractor-internet DOT com>
To: amanda-users AT amanda DOT org
Date: Thu, 19 Sep 2002 08:53:39 -0400
HELP!  I would REALLY appreciate it. 

I need working amanda config files for the 
hp40x6 tape changer?

Im getting syntax errors when I run amcheck, so its useless.
Im looking for amanda.conf and mtx-changer.conf.

Im using amanda-2.4.2p2 with the chg-zd-mtx glue on RH 7.3

This is what I'm getting:
su amanda -c "/usr/sbin/amcheck -s DailySet1" 
Password: 
Amanda Tape Server Host Check 
----------------------------- 
Holding disk /var/tmp: 3056100 KB disk space available, that's plenty 
amcheck-server: could not get changer info: badly formed result from 
changer: "/u 
sr/lib/amanda/chg-zd-mtx: [: : integer expression expected"
(brought to you by Amanda 2.4.2p2) 
make: *** [check] Error 1

My mtx-changer is: 
#pzl taken and modified from chg-zd-mtx 
#### 
firstslot=1 #### 1st tape slot 
lastslot=4 #### Last tape slot 
cleanslot=5 #### Slot with cleaner tape 
# 
# # Do you want to clean the drive after a certain number of accesses? 
# # NOTE - This is unreliable, since 'accesses' aren't 'uses', and we 
# # have no reliable way to count this. A single amcheck could 
# # generate as many accesses as slots you have, plus 1. 
# # ALSO NOTE - many modern tape loaders handle this automatically. 
# 
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 #### Does your tape driver require a 
# #### 'mt offline' before mtx unload? 
####
# You may need to customize these things 
MT=mt 
MTF=-f 
MTX=mtx
#### Check the 'readyError' section if mt acts differently for you 
#### as stated below. 
#### See the 'readstatus' section below if using a different drive than 
0.
######################################################################## 
######## 
Begin----------
End------------




<Prev in Thread] Current Thread [Next in Thread>