Hi Everyone,

I have been using amanda to do backups to a tape drive for a while,
but we recently decided to start doing backups to a RAID system.
I downloaded amanda-242-tapeio from sourceforge, and the compile
and install went fine.  The only problem is I can't get it to work...
Sorry for the length of this message, but I am guessing that the best
way to get help is to provide as much (possibly) relevant info as possible.
Since I think the most likely source of error is my configuration, I am
including the config files at the top.  After that are various output from
amanda software.  Thanks in advance for any help...

dail


amanda.conf

org "test"
mailto "amanda"
dumpcycle 21 days
runspercycle 3
tapecycle 4 tapes
dumpuser "amanda"
netusage  1000 Kbps
labelstr "^test_[0-9]*$"
tapedev "file:/raid/backup"
tapetype RAID-FILE
infofile "/usr/local/etc/amanda/test/info"
logdir   "/usr/local/etc/amanda/test/log"
indexdir "/usr/local/etc/amanda/test/index"
maxdumps 4

holdingdisk hd1 {
  comment "main holding disk"
  directory "/home/amanda/backup"
  use 6 Gb
  chunksize 2 GB
}

define dumptype global {
  compress client fast
  dumpcycle 1 week
  maxdumps 4
  index on
}

define dumptype remote {
  global
  program "GNUTAR"
}

define tapetype RAID-FILE {
  comment "File on the raid disk"
  length 40000 mbytes
  filemark 0 kbytes
}

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

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

=========================================================================

disklist:

raid1 /alpha1/top remote eth0

=========================================================================

amcheck reports:

[amanda@raid1 test]$ /usr/local/sbin/amcheck test
Amanda Tape Server Host Check
-----------------------------
Holding disk /home/amanda/backup: 17427732 KB disk space available, that's plenty
NOTE: skipping tape-writable test
Tape test_0 label ok
WARNING: info file /usr/local/etc/amanda/test/info/raid1/_alpha1_top/info: does not 
exist
Server check took 0.002 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.023 seconds, 0 problems found

(brought to you by Amanda 2.4.2p2-tapeio)
[amanda@raid1 test]$

=========================================================================

I assume that the warning is not meaningful???  When I do

[amanda@raid1 test]$ /usr/local/sbin/amdump test

it returns in a couple of seconds, and the mail report is:

Date: Sat, 1 Sep 2001 11:22:05 -0400
From: Amanda Backup User <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: test AMANDA MAIL REPORT FOR September 1, 2001

These dumps were to tape test_0.
The next tape Amanda expects to use is: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
  raid1      /alpha1/top lev 0 FAILED [missing result for /alpha1/top in raid1 
response]


STATISTICS:
                          Total       Full      Daily
                        --------   --------   --------
Estimate Time (hrs:min)    0:00
Run Time (hrs:min)         0:00
Dump Time (hrs:min)        0:00       0:00       0:00
Output Size (meg)           0.0        0.0        0.0
Original Size (meg)         0.0        0.0        0.0
Avg Compressed Size (%)     --         --         --
Filesystems Dumped            0          0          0
Avg Dump Rate (k/s)         --         --         --

Tape Time (hrs:min)        0:00       0:00       0:00
Tape Size (meg)             0.0        0.0        0.0
Tape Used (%)               0.0        0.0        0.0
Filesystems Taped             0          0          0
Avg Tp Write Rate (k/s)     --         --         --

?
NOTES:
  planner: Adding new disk raid1:/alpha1/top.
  driver: WARNING: got empty schedule from planner
  taper: tape test_0 kb 0 fm 0 [OK]

?
DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS
HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
-------------------------- --------------------------------- ------------
raid1        /alpha1/top 0 FAILED ---------------------------------------

(brought to you by Amanda version 2.4.2p2-tapeio)

=========================================================================

Although the various files in /tmp/amanda don't show any errors that are obvious to
me, I included them below in the hopes that more experienced eyes will detect the
problem:

amandad.20010901121415.debug:

amandad: debug 1 pid 2885 ruid 505 euid 505 start time Sat Sep  1 12:14:15 2001
amandad: version 2.4.2p2-tapeio
amandad: build: VERSION="Amanda-2.4.2p2-tapeio"
amandad:        BUILT_DATE="Fri Aug 31 08:44:31 EDT 2001"
amandad:        BUILT_MACH="Linux raid1 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 
unknown"
amandad:        CC="gcc"
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="raid1" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="raid1"
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="amanda" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
got packet:
--------
Amanda 2.4 REQ HANDLE 000-506D0708 SEQ 999360855
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=4;hostname=raid1;
GNUTAR /alpha1/top 0 1970:1:1:0:0:0 0
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 000-506D0708 SEQ 999360855
----

bsd security: remote host raid1 user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/sendsize"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 000-506D0708 SEQ 999360855
OPTIONS maxdumps=4;
----

amandad: got packet:
----
Amanda 2.4 ACK HANDLE 000-506D0708 SEQ 999360855
----

amandad: pid 2885 finish time Sat Sep  1 12:14:15 2001


=========================================================================

amtrmidx.20010901121415.debug:

/usr/local/libexec/amtrmidx: version 2.4.2p2-tapeio
Keeping 5 index files
raid1 /alpha1/top
amtrmidx: pid 2927 finish time Sat Sep  1 12:14:15 2001

=========================================================================

amtrmlog.20010901121415.debug:

/usr/local/libexec/amtrmlog: version 2.4.2p2-tapeio
Keeping 8 log files
amtrmlog: pid 2926 finish time Sat Sep  1 12:14:15 2001

=========================================================================

sendsize.20010901121415.debug:

sendsize: debug 1 pid 2886 ruid 505 euid 505 start time Sat Sep  1 12:14:15 2001
/usr/local/libexec/sendsize: version 2.4.2p2-tapeio
sendsize: calculating for amname '/alpha1/top', dirname '/alpha1/top'
sendsize: pid 2886 finish time Sat Sep  1 12:14:15 2001



Reply via email to