I have amanda setup but it does not want to get the tapes to backup.
attached are some logs and configuration files. Could some please look
at them and tell me what I am missing.


-- 
Raymond Keckler <[EMAIL PROTECTED]>
Homes.com
amandad: debug 1 pid 1149 ruid 0 euid 0: start at Mon Jan 13 13:39:11 2003
amandad: version 2.4.3
amandad: build: VERSION="Amanda-2.4.3"
amandad:        BUILT_DATE="Thu Jan 9 11:25:19 EST 2003"
amandad:        BUILT_MACH="Linux emailbkup 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 
i686 i686 i386 GNU/Linux"
amandad:        CC="gcc"
amandad:        CONFIGURE_COMMAND="'./configure' '--with-user=root' 
'--with-group=root'"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad:        libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/gtar" COMPRESS_PATH="/bin/gzip"
amandad:        UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="emailbkup" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="emailbkup"
amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
amandad:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
amandad:        CLIENT_LOGIN="root" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
amandad: time 0.000: got packet:
--------
Amanda 2.4 REQ HANDLE 000-10000808 SEQ 1042483151
SECURITY USER root
SERVICE noop
OPTIONS features=fffffeff9f00;
--------

amandad: time 0.000: sending ack:
----
Amanda 2.4 ACK HANDLE 000-10000808 SEQ 1042483151
----

amandad: time 0.001: bsd security: remote host emailbkup user root local user root
amandad: time 0.037: amandahosts security check passed
amandad: time 0.037: running service "noop"
amandad: time 0.085: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-10000808 SEQ 1042483151
OPTIONS features=fffffeff9f00;
----

amandad: time 0.087: got packet:
----
Amanda 2.4 ACK HANDLE 000-10000808 SEQ 1042483151
----

amandad: time 0.087: pid 1149 finish time Mon Jan 13 13:39:11 2003
amdump: start at Mon Jan 13 13:39:11 EST 2003
amdump: datestamp 20030113
planner: pid 7102 executable /usr/local/libexec/planner version 2.4.3
planner: build: VERSION="Amanda-2.4.3"
planner:        BUILT_DATE="Thu Jan 9 11:25:19 EST 2003"
planner:        BUILT_MACH="Linux emailbkup 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux"
planner:        CC="gcc"
planner:        CONFIGURE_COMMAND="'./configure' '--with-user=root' '--with-group=root'"
planner: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
planner:        libexecdir="/usr/local/libexec" mandir="/usr/local/man"
planner:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
planner:        CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
planner:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
planner:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
planner:        GNUTAR="/bin/gtar" COMPRESS_PATH="/bin/gzip"
planner:        UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/bin/Mail"
planner:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
planner: defs:  DEFAULT_SERVER="emailbkup" DEFAULT_CONFIG="DailySet1"
planner:        DEFAULT_TAPE_SERVER="emailbkup"
planner:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
planner:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
planner:        AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
planner:        CLIENT_LOGIN="root" FORCE_USERID HAVE_GZIP
planner:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
planner:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
planner: time 0.000: dgram_bind: socket bound to 0.0.0.0.909
READING CONF FILES...
planner: time 0.029: startup took 0.029 secs

SETTING UP FOR ESTIMATES...
planner: time 0.029: setting up estimates for emailbkup:/home
emailbkup:/home overdue 12066 days for level 0
setup_estimate: emailbkup:/home: command 0, options:
    last_level -1 next_level0 -12066 level_days 0
    getting estimates 0 (0) -1 (-1) -1 (-1)
planner: time 0.029: setting up estimates took 0.000 secs

GETTING ESTIMATES...
driver: pid 7103 executable /usr/local/libexec/driver version 2.4.3
driver: send-cmd time 0.036 to taper: START-TAPER 20030113
driver: started dumper0 pid 7105
driver: started dumper1 pid 7106
driver: started dumper2 pid 7107
driver: started dumper3 pid 7108
dumper: dgram_bind: socket bound to 0.0.0.0.915
dumper: pid 7108 executable dumper3 version 2.4.3, using port 915
dumper: dgram_bind: socket bound to 0.0.0.0.914
dumper: pid 7107 executable dumper2 version 2.4.3, using port 914
dumper: dgram_bind: socket bound to 0.0.0.0.913
dumper: pid 7106 executable dumper1 version 2.4.3, using port 913
dumper: dgram_bind: socket bound to 0.0.0.0.912
dumper: pid 7105 executable dumper0 version 2.4.3, using port 912
taper: pid 7104 executable taper version 2.4.3
taper: page size is 4096
taper: buffer size is 32768
taper: buffer[00] at 0x4008c000
taper: buffer[01] at 0x40094000
taper: buffer[02] at 0x4009c000
taper: buffer[03] at 0x400a4000
taper: buffer[04] at 0x400ac000
taper: buffer[05] at 0x400b4000
taper: buffer[06] at 0x400bc000
taper: buffer[07] at 0x400c4000
taper: buffer[08] at 0x400cc000
taper: buffer[09] at 0x400d4000
taper: buffer[10] at 0x400dc000
taper: buffer[11] at 0x400e4000
taper: buffer[12] at 0x400ec000
taper: buffer[13] at 0x400f4000
taper: buffer[14] at 0x400fc000
taper: buffer[15] at 0x40104000
taper: buffer[16] at 0x4010c000
taper: buffer[17] at 0x40114000
taper: buffer[18] at 0x4011c000
taper: buffer[19] at 0x40124000
taper: buffer structures at 0x4012c000 for 240 bytes
changer: opening pipe to: /usr/local/libexec/chg-multi -info
changer: got exit: 0 str: 1 20 1
changer: opening pipe to: /usr/local/libexec/chg-multi -slot current
planner: time 1.589: got result for host emailbkup disk /home: 0 -> 335K, -1 -> -1K, -1 -> -1K
planner: time 1.589: getting estimates took 1.560 secs
FAILED QUEUE: empty
DONE QUEUE:
  0: emailbkup  /home

ANALYZING ESTIMATES...
pondering emailbkup:/home... next_level0 -12066 last_level -1 (due for level 0) (new disk, can't switch to degraded mode)
  curr level 0 size 167 total size 2345 total_lev0 167 balanced-lev0size 33
INITIAL SCHEDULE (size 2345):
  emailbkup /home pri 12068 lev 0 size 167

DELAYING DUMPS IF NEEDED, total_size 2345, tape length 19374080 mark 694
  delay: Total size now 2345.

PROMOTING DUMPS IF NEEDED, total_lev0 167, balanced_size 33...
planner: time 1.590: analysis took 0.000 secs

GENERATING SCHEDULE:
--------
ENDFLUSH
DUMP emailbkup fffffeff9f00 /home 20030113 12068 0 1970:1:1:0:0:0 167 5
--------
driver: adding holding disk 0 dir /backups size 3145728
reserving 3145728 out of 3145728 for degraded-mode dumps
driver: start time 1.594 inparallel 4 bandwidth 7400 diskspace 3145728 dir OBSOLETE datestamp 20030113 driver: drain-ends tapeq LFFO big-dumpers ttt
changer: got exit: 1 str: 1 chg-multi: slot is empty
taper: slot 1: chg-multi: slot is empty
changer: opening pipe to: /usr/local/libexec/chg-multi -slot next
changer: got exit: 2 str: 2 chg-multi: /dev/nst0: unable to change to slot 1
taper: fatal slot 2: chg-multi: /dev/nst0: unable to change to slot 1
driver: result time 60.859 from taper: TAPE-ERROR [new tape not found in rack]
dump of driver schedule before start degraded mode:
--------
  emailbkup  /home lv 0 t     5 s      199 p 12068
--------
dump of driver schedule after start degraded mode:
--------
--------
driver: state time 60.860 free kps: 7400 space: 3145728 taper: DOWN idle-dumpers: 4 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 86400 driver-idle: not-idle
driver: interface-state time 60.860 if : free 6000 if LE0: free 400 if LOCAL: free 1000
driver: hdisk-state time 60.860 hdisk 0: free 3145728 dumpers 0
driver: QUITTING time 60.860 telling children to quit
driver: send-cmd time 60.860 to dumper0: QUIT
driver: send-cmd time 60.860 to dumper1: QUIT
driver: send-cmd time 60.860 to dumper2: QUIT
driver: send-cmd time 60.860 to dumper3: QUIT
driver: send-cmd time 60.860 to taper: QUIT
taper: DONE [idle wait: 0.000 secs]
driver: FINISHED time 60.863
amdump: end at Mon Jan 13 13:40:12 EST 2003
org "Daily"             # your organization name for reports
mailto "[EMAIL PROTECTED]"             # space separated list of operators at your 
site
dumpuser "root" # the user to run dumps under

inparallel 4            # 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  6000 Kbps     # maximum net bandwidth for Amanda, in KB per sec
dumpcycle 1 weeks       # the number of days in the normal dump cycle
runspercycle 5         # the number of amdump runs in dumpcycle days
tapecycle 7 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.
dtimeout 1800           # number of idle seconds before a dump is aborted.
ctimeout 30             # maximum number of seconds that amcheck waits

tapebufs 20
tpchanger "chg-multi"   # the tape-changer glue script
tapedev "/dev/nst0"     # the no-rewind tape device to be used
changerfile "/usr/local/etc/amanda/Daily/chg-multi.conf"

tapetype Exabyte220             # what kind of tape it is (see tapetypes below)
labelstr "^Vol[0-9][0-9]*$"     # label constraint regex: all tapes must match


holdingdisk hd1 {
    comment "main holding disk"
    directory "/backups"        # where the holding disk is
    use 3 Gb            # how much space can we use on it
                        # a non-positive value means:
                        #        use all space but that value
    chunksize 1Gb       # size of chunk if you want big dump to be
                        # dumped on multiple files on holding disks
                        #  N Kb/Mb/Gb split images in chunks of size N
                        #             The maximum value should be
                        #             (MAX_FILE_SIZE - 1Mb)
                        #  0          same as INT_MAX bytes
    }

autoflush no #

# Note that, although the keyword below is infofile, it is only so for
# historic reasons, since now it is supposed to be a directory (unless
# you have selected some database format other than the `text' default)
infofile "/usr/local/etc/amanda/Daily/curinfo"  # database DIRECTORY
logdir   "/usr/local/etc/amanda/Daily"          # log directory
indexdir "/usr/local/etc/amanda/Daily/index"    # index directory

define tapetype Exabyte220 {
    comment "Exabyte 220 drive on decent machine"
    length 18920 mbytes
    filemark 694 kbytes
    speed 2974 mbytes                   
}

define dumptype global {
    comment "Global definitions"
}

define dumptype always-full {
    global
    comment "Full dump of this filesystem always"
    compress none
    priority high
    dumpcycle 0
}

define dumptype root-tar {
    global
    program "GNUTAR"
    comment "root partitions dumped with tar"
    compress none
    index
    exclude list "/usr/local/lib/amanda/exclude.gtar"
    priority low
}

define dumptype user-tar {
    root-tar
    comment "user partitions dumped with tar"
    priority medium
}

define dumptype high-tar {
    root-tar
    comment "partitions dumped with tar"
    priority high
}

define dumptype comp-root-tar {
    root-tar
    comment "Root partitions with compression"
    compress client fast
}

define dumptype comp-user-tar {
    user-tar
    compress client fast
}

define dumptype holding-disk {
    global
    comment "The master-host holding disk itself"
    holdingdisk no # do not use the holding disk
    priority medium
}

define dumptype comp-user {
    global
    comment "Non-root partitions on reasonably fast machines"
    compress client fast
    priority medium
}

define dumptype nocomp-user {
    comp-user
    comment "Non-root partitions on slow machines"
    compress none
}

define dumptype comp-root {
    global
    comment "Root partitions with compression"
    compress client fast
    priority low
}

define dumptype nocomp-root {
    comp-root
    comment "Root partitions without compression"
    compress none
}

define dumptype comp-high {
    global
    comment "very important partitions on fast machines"
    compress client best
    priority high
}

define dumptype nocomp-high {
    comp-high
    comment "very important partitions on slow machines"
    compress none
}

define dumptype nocomp-test {
    global
    comment "test dump without compression, no /etc/dumpdates recording"
    compress none
    record no
    priority medium
}

define dumptype comp-test {
    nocomp-test
    comment "test dump with compression, no /etc/dumpdates recording"
    compress client fast
}

define interface local {
    comment "a local disk"
    use 1000 kbps
}

define interface le0 {
    comment "10 Mbps ethernet"
    use 400 kbps
}

Args -> -info
MT -> /usr/local/sbin/ammt -f
Note: setting posteject to a default of "true"
Exit -> 1 20 1
Args -> -slot current
MT -> /usr/local/sbin/ammt -f
Note: setting posteject to a default of "true"
     -> rewind /dev/nst0
/dev/nst0 rewind failed: No medium found
Exit -> 1 chg-multi: slot is empty
Args -> -slot next
MT -> /usr/local/sbin/ammt -f
Note: setting posteject to a default of "true"
     -> offline /dev/nst0
/dev/nst0 offline failed: No medium found
Exit -> 2 chg-multi: /dev/nst0: unable to change to slot 1
# sample Amanda2 disklist file, derived from CS.UMD.EDU's disklist
#
# If your configuration is called, say, "csd2", then this file normally goes
# in /etc/amanda/csd2/disklist.
#
# File format is:
#
#       hostname diskdev dumptype [spindle [interface]]
#
# where the dumptypes are defined by you in amanda.conf or in-line.
emailbkup       /home   comp-high
DISK planner emailbkup /home
START planner date 20030113
INFO planner Adding new disk emailbkup:/home.
START driver date 20030113
FINISH planner date 20030113
STATS driver startup time 1.594
ERROR taper no-tape [new tape not found in rack]
FAIL driver emailbkup /home 20030113 0 [can't switch to incremental dump]
FINISH driver date 20030113 time 60.863

Reply via email to