Hello all, I'm a "brand new" if about amanda and mtx so please don't laugh too hard at me. I'm trying to use our old, retired HP C1553A (it was running under Novell with Arcserve as a backup software for a few years without any major problems) under Linux and Amanda. I have my homework done before posting to the list - I've read a lot, I've tried a lot of different configurations but somehow I'm missing something and can't get amanda working for me. Any advice, suggestions would be greatly appreciated. It's not a "Houston, we have a problem" situation - I just hate something lying around and doing nothing. Sorry for the long post and many thanks in advance.
Greg Wardawy OK, first some infos: OS - Redhat 7.2 with 2.4.7-10smp kernel, Amanda 2.4.2p2-4, mtx 1.2.13-1 and some entries from my amanda.conf file: ###################################################### #amanda.conf org "DailySet1" # your organization name for reports mailto "amanda wardawyg" # space separated list of operators at your site dumpuser "amanda" # the user to run dumps under inparallel 4 # maximum dumpers that will run in parallel netusage 600 Kbps # maximum net bandwidth for Amanda, in KB per sec dumpcycle 4 weeks # the number of days in the normal dump cycle runspercycle 4 weeks # the number of amdump runs in dumpcycle days tapecycle 25 tapes # the number of tapes in rotation bumpsize 20 Mb # minimum savings (threshold) to bump level 1 -> 2 bumpdays 1 # minimum days at each level bumpmult 4 # threshold = bumpsize * bumpmult^(level-1) etimeout 300 # number of seconds per filesystem for estimates. runtapes 1 tpchanger "chg-zd-mtx" tapedev "/dev/sga" changerfile "/etc/amanda/mtx-changer" changerdev "/dev/sga" tapetype DAT-120m labelstr "^DailySet1[0-9][0-9]*$" holdingdisk hd1 { comment "main holding disk" directory "/var/tmp" # where the holding disk is use 290 Mb # how much space can we use on it # a negative value mean: # use all space except that value # chunksize 2 Gb # size of chunk if you want big dump to be # dumped on multiple files on holding disks # N Kb/Mb/Gb split disks in chunks of size N # 0 split disks in INT_MAX/1024 Kb chunks # -N Kb/Mb/Gb dont split, dump larger # filesystems directly to tape # (example: -2 Gb) } infofile "/var/lib/amanda/DailySet1/curinfo" # database filename logdir "/var/lib/amanda/DailySet1" # log directory indexdir "/var/lib/amanda/DailySet1/index" # index directory tapelist "/var/lib/amanda/DailySet1/tapelist" # list of used tapes define tapetype DAT-120m { comment "DAT tape (120m tapes)" length 4000 mbytes filemark 250 kbytes # this is an estimate speed 512 kbytes } ######cut######################################### in the mtx-changer.conf file I have: firstslot 1 lastslot 6 gravity 0 needeject 0 multieject 0 ejectdelay 0 statefile /var/lib/amanda/DailySet1/curinfo/localhost/_etc/state slot 1 /dev/sga slot 2 /dev/sga slot 3 /dev/sga slot 4 /dev/sga slot 5 /dev/sga slot 6 /dev/sga and here goes what I'm getting during the tests: 1. [root@linver wardawyg]# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: HP Model: C1553A Rev: 9608 Type: Sequential-Access ANSI SCSI revision: 02 2. [root@linver wardawyg]# mtx inquiry Product Type: Tape Drive Vendor ID: 'HP ' Product ID: 'C1553A ' Revision: '9608' Attached Changer: No 3. [root@linver wardawyg]# mtx status Storage Changer /dev/sga:1 Drives, 6 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 1 Loaded) Storage Element 1:Empty Storage Element 2:Full Storage Element 3:Full Storage Element 4:Full Storage Element 5:Full Storage Element 6:Full 4. [root@linver sbin]# ./tapeinfo -f /dev/sga Product Type: Tape Drive Vendor ID: 'HP ' Product ID: 'C1553A ' Revision: '9608' Attached Changer: No MinBlock:1 MaxBlock:16777215 SCSI ID: 1 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: Not Loaded Density Code: 0x24 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x20 DeCompType: 0x0 BOP: yes Block Position: 0 5. [root@linver sbin]# ./loaderinfo -f /dev/sga Product Type: Tape Drive Vendor ID: 'HP ' Product ID: 'C1553A ' Revision: '9608' Attached Changer: No Bar Code Reader: No EAAP: Yes Number of Medium Transport Elements: 0 Number of Storage Elements: 6 Number of Import/Export Element Elements: 0 Number of Data Transfer Elements: 1 Transport Geometry Descriptor Page: No Device Configuration Page: Yes Can Transfer: No ####################################################### so far so good but here is the problem: [root@linver sbin]# su amanda -c "/usr/sbin/amcheck DailySet1" Amanda Tape Server Host Check ----------------------------- Holding disk /var/tmp: 15457424 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: [: -eq: unary operator expected" Amanda Backup Client Hosts Check -------------------------------- ERROR: localhost: [access as amanda not allowed from amanda@linver] amandahostsauth failed Client check: 1 host checked in 0.020 seconds, 1 problem found (brought to you by Amanda 2.4.2p2) ######################################################## And the standard newbie question: What am I missing here? Again many, many thanks. I promise to try all (not just the first working) of your sugeststions. Greg