Results 1 to 3 of 3

Thread: changer parameter expected

  1. #1

    Default changer parameter expected

    Hi
    I'm trying to configure amanda server 2.6p2 on ubuntu server 8.04 with NEO (2 drives). I have configured with chg-zd-mtx it is working but trying to configure two drives with chg-robot changer I get this errrors:

    Code:
    amcheck DailySet1
    "/etc/amanda/DailySet1/amanda.conf", line 76: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 76: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 77: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 78: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 78: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 79: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 79: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 81: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 81: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 82: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 83: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 83: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 84: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 85: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 85: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 86: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 87: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 87: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 88: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 89: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 89: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 90: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 91: changer parameter expected
    "/etc/amanda/DailySet1/amanda.conf", line 91: end of line is expected
    "/etc/amanda/DailySet1/amanda.conf", line 92: changer parameter expected
    amcheck: errors processing config file
    Here is my amanda configuration file:

    Code:
    org "test"              
    mailer "/usr/bin/mail"
    mailto "test root"                                   
    send-amreport-on all
    dumpuser "amandabackup"
    
    tapetype "DIL"                                                   
    
    dumpcycle 1week                                               
    runspercycle 5 
    tapecycle 15
    usetimestamps yes
    runtapes 10        
    maxdumpsize 7500gb
    
    label_new_tapes "^DailySet1-[0-9][0-9][0-9][0-9]*$"  
    labelstr "^DailySet1-[0-9][0-9][0-9][0-9]*$"     
    printer "pluckley"
    
    diskfile "/etc/amanda/DailySet1/disklist"
    infofile "/etc/amanda/DailySet1/curinfo"                      
    logdir   "/etc/amanda/DailySet1/logs"                         
    indexdir "/etc/amanda/DailySet1/index"                       
    tapelist "/etc/amanda/DailySet1/tapelist"                
    
    dtimeout 1800                                            
    ctimeout 30                                        
    etimeout 300                                         
    inparallel 4
    dumporder "sssS"
    taperalgo first
    displayunit "g"
    netusage 1 gbps
    bumpsize        20m
    bumppercent     20
    bumpdays        1 day
    amrecover_changer       "/dev/sg2"
    device_output_buffer_size 1280k
    reserve 25
    autoflush on
    amrecover_do_fsf on
    amrecover_check_label on
    
    holdingdisk dataPool {
            comment "Main holding area"
            directory "/dataPool/amandapool"
            use 200Gb
            chunksize 2047Mb
    }
    
    define dumptype NEO {
            comment "*splitsize* can only be defined in the scope of a dumptype definition, not a device"
            auth "bsdtcp"
            tape_splitsize  75000m
            fallback_splitsize      2000m
            index yes
            holdingdisk auto
            program "GNUTAR"
            maxdumps 1
            compress none
            record yes
    }
    
    define tapetype DIL {
    	comment "Created by amtapetype; compression enabled"
    	lbl-templ "/var/lib/amanda/example/label-templates/DLT-A4.ps"
    	length 757110016 kbytes
    	filemark 0 kbytes
    	speed 39728 kps
    	blocksize 32 kbytes
    }
    
    define changer "robot" {
            tpchanger "chg-robot:/dev/sg2"
           changerfile "/etc/amanda/DailySet1/chg-zd-mtx-state"
            property "tape-device" "0=tape:/dev/nst0"
            property append "tape-device" "1=tape:/dev/nst1"
           property "eject-before-unload" "no"
           property "use-slots" "1-30"
           property "load-poll" "0s poll 3 s until 120 s"
           property "mtx" "/usr/sbin/mtx"
           property "fast-search" "true"
           property "drive-choice" "lru"
    }
    
    tpchanger "robot"
    I can't find any information to target this error. Could you tell what am i doing wrong? Thanks in advance.
    Last edited by whale; March 18th, 2010 at 07:57 AM.

  2. #2
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    2.6p2 is not a valid version.
    Your config looks good for 2.6.2p2 but is not working for previous release.

  3. #3

    Default

    Thanks. I'm trying 3.1beta it looks much more better.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •