Hello List,

I'm trying to use amanda with vtapes, but so far have been unable to.
The way I read amcheck output, amanda tries to use slot 0 and slot
(empty string) instead of starting at slot one.
Is that true? If so, what would cause such a behaviour?

The setup has never run, so it's quite possible I've messed it up...

Any hint appreciated.

Thanks,

A.


# sudo -u amanda  amcheck MyConfig
Amanda Tape Server Host Check
-----------------------------
NOTE: tapelist file does not exists
      it will be created on the next run
NOTE: Holding disk '/var/lib/amanda/holding': 4886528 KB disk space available, 
using 51200 KB as requested
slot 0:Slot 0 not found
slot ?:Slot  not found
ERROR: Slot  not found
NOTE: host info dir '/var/lib/amanda/state/curinfo/localhost' does not exist
      It will be created on the next run
NOTE: index dir '/var/lib/amanda/state/index/localhost' does not exist
      it will be created on the next run
Server check took 0.507 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 2.120 seconds.  0 problems found.
(brought to you by Amanda 3.5.1)


# cat /etc/amanda/MyConfig/amanda.conf
#
# amanda.conf - sample Amanda configuration file.  This started off life as
#               the actual config file in use at CS.UMD.EDU.
#
# If your configuration is called, say, "csd", then this file normally goes
# in /etc/amanda/csd/amanda.conf.
#

org "MyConfig"          # your organization name for reports
mailto "amanda"         # space separated list of operators at your site
infofile "/var/lib/amanda/state/curinfo"
logdir "/var/lib/amanda/state/log"
indexdir "/var/lib/amanda/state/index"
dumpuser "amanda"       # the user to run dumps under

inparallel 2            # maximum dumpers that will run in parallel (max 63)
                        # this maximum can be increased at compile-time,
                        # modifying MAX_DUMPERS in server-src/driverio.h
netusage  2000 Kbps     # maximum net bandwidth for Amanda, in KB per sec

dumpcycle 4 weeks       # the number of days in the normal dump cycle
runspercycle 28         # the number of amdump runs in dumpcycle days
                        # (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 35 tapes      # the number of tapes in rotation
                        # 4 weeks (dumpcycle) times 5 tapes per week (just
                        # the weekdays) plus a few to handle errors that
                        # need amflush and so we do not overwrite the full
                        # backups performed at the beginning of the previous
                        # cycle
tpchanger "chg-disk:/var/lib/amanda/vtapes"
labelstr "MyData[0-9][0-9]"
autolabel "MyData%%" EMPTY VOLUME_ERROR
amrecover_changer "changer"

tapetype "HARD-DISK"
define tapetype HARD-DISK {
  length 5000 mbytes
  filemark 4 kbytes
}

define dumptype simple-gnutar-local {
    auth "local"
    compress none
    program "GNUTAR"
}

holdingdisk hd1 {
    directory "/var/lib/amanda/holding"
    use 50 mbytes
    chunksize 1 mbyte
}
-- 
Ansgar Esztermann
http://www.mpibpc.mpg.de/grubmueller/esztermann

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to