Amanda-Users

tapeless config with 2.4.4 on openbsd/i386

2003-04-11 15:05:23
Subject: tapeless config with 2.4.4 on openbsd/i386
From: julien Touche <julien.touche AT lycos DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 11 Apr 2003 19:33:59 +0200

i'm trying to use amanda in tapeless config.
compile goes well
but when 'amcheck config', it freezes on 'chg-multi -slot current' process

in shell, i get:
-bash-2.05b$ chg-multi -slot advance
/usr/local/libexec/amanda/chg-multi[442]: cannot create /share2/sysshare/amanda/DailySet1/changer-status
/share2/sysshare/amanda/DailySet1/changer-status: No such file or directory
/usr/local/libexec/amanda/chg-multi[443]: cannot create /share2/sysshare/amanda/DailySet1/changer-status
/share2/sysshare/amanda/DailySet1/changer-status: No such file or directory
/usr/local/libexec/amanda/chg-multi[444]: cannot create /share2/sysshare/amanda/DailySet1/changer-status
/share2/sysshare/amanda/DailySet1/changer-status: No such file or directory

perms are ok and i touch the file, but it doesn't seem to change the pb
-bash-2.05b$ chg-multi -info
1 2 1

see config file at the end

any ideas ?


Regards

                Julien
--- extract of amanda.conf
runtapes 1 # number of tapes to be used in a single run of amdump
tpchanger "chg-multi"
tapedev "file:/share2/sysshare/amanda/backup"
rawtapedev "/dev/null"  # the raw device to be used (ftape only)
changerfile "/etc/amanda/csd/chg-multi.conf"
changerdev "/dev/null"

maxdumpsize -1          # Maximum number of bytes the planner will schedule
                        # for a run (default: runtapes * tape_length).

tapetype HARD-DISK
labelstr "^DailySet1[0-9][0-9]*$" # label constraint regex: all tapes must match

infofile "/share2/sysshare/amanda/DailySet1/curinfo"    # database DIRECTORY
logdir   "/share2/sysshare/amanda/DailySet1"            # log directory
indexdir "/share2/sysshare/amanda/DailySet1/index"      # index directory

define tapetype HARD-DISK {
        comment "Hard disk instead of tape"
length 4000 mbytes # Simulates end of tape on hard disk (a 4 GB disk here)
}
--- disklist
localhost wd0a comp-dump-high

--- chg-multi.conf
multieject 0
gravity 0
needeject 0
ejectdelay 0
statefile /share2/sysshare/amanda/DailySet1/changer-status
statefile /share2/sysshare/amanda/DailySet1/changer-status
firstslot 1
lastslot 2
slot 1 file:/share2/sysshare/amanda/backup
slot 2 file:/share2/sysshare/amanda/backup2
---
Note: dirs exist (and data ones for "tape" dir)
Note2: please cc.


<Prev in Thread] Current Thread [Next in Thread>
  • tapeless config with 2.4.4 on openbsd/i386, julien Touche <=