Hello

        I need a help, I don't know what to do...
        I installed amanda on Slackware 7.1, and use to work fine, for some
weeks. But now, I can do backups of any partitions or directories, less
the one I want... I use do backups with dump, now I use gnu-tar, but
nothing changes... 
 If I run amdump with /home/user and /etc/data, that are not root
partitions, it works fine, how you can see...
----------------------------------------------------------------------------
Subject: server AMANDA MAIL REPORT FOR June 25, 2001

These dumps were to tape Sky01.
The next tape Amanda expects to use is: Sky01.


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

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


NOTES:
  planner: Adding new disk server:/home/sulamita.
  planner: Adding new disk server:/etc/data.
  taper: tape Sky01 kb 230368 fm 2 [OK]


DUMP SUMMARY:
                                     DUMPER STATS            TAPER STATS 
HOSTNAME     DISK        L ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS 
KB/s
-------------------------- ---------------------------------
------------
server       -e/sulamita 0  231360 229344  99.1   1:522050.5  
1:452185.8
server       /etc/data   0   16610    960   5.8   0:13  75.0  
0:006956.9

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

But if I want do backup with /home/adfasdf, or /home, or /dev/sda3 (the
entire /home)... 
----------------------------------------------------------------------
Subject: server AMANDA MAIL REPORT FOR June 26, 2001

These dumps were to tape Sky01.
The next tape Amanda expects to use is: Sky01.

FAILURE AND STRANGE DUMP SUMMARY:
  server    /dev/sda3 lev 0 FAILED [Request to server timed out.]


STATISTICS:
                          Total       Full      Daily
                        --------   --------   --------
Estimate Time (hrs:min)    0:15
Run Time (hrs:min)         0:15
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 server:/dev/sda3.
  driver: WARNING: got empty schedule from planner
  taper: tape Sky01 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
-------------------------- ---------------------------------
------------
server     /dev/sda3   0 FAILED ---------------------------------------

(brought to you by Amanda version 2.4.2p2)
-------------------------------------------------------------------------
Those are log files...
------------------------------------------------------------------------
amdump: start at Tue Jun 26 16:01:08 BRT 2001
planner: pid 18995 executable /home/amanda/libexec/planner version
2.4.2p2
planner: build: VERSION="Amanda-2.4.2p2"
planner:        BUILT_DATE="Thu Jun 21 15:59:47 BRT 2001"
planner:        BUILT_MACH="Linux teste 2.4.5 #6 Wed Jun 20 16:01:16
/etc/localtime 2001 i686 unknown"
planner:        CC="gcc"
planner: paths: bindir="/home/amanda/bin" sbindir="/home/amanda/sbin"
planner:        libexecdir="/home/amanda/libexec"
planner:        mandir="/home/amanda/man" AMANDA_TMPDIR="/tmp/amanda"
planner:        AMANDA_DBGDIR="/tmp/amanda"
planner:        CONFIG_DIR="/home/amanda/etc/amanda" DEV_PREFIX="/dev/"
planner:        RDEV_PREFIX="/dev/" GNUTAR="/bin/tar"
planner:        COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
planner:        MAILER="/usr/bin/Mail"
planner:        listed_incr_dir="/home/amanda/var/amanda/gnutar-lists"
planner: defs:  DEFAULT_SERVER="teste" DEFAULT_CONFIG="DailySet1"
planner:        DEFAULT_TAPE_SERVER="teste"
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="amanda" FORCE_USERID HAVE_GZIP
planner:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
planner:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
planner: dgram_bind: socket bound to 0.0.0.0.551
READING CONF FILES...
startup took 0.002 secs

SETTING UP FOR ESTIMATES...
setting up estimates for server:/dev/sda3
server:/dev/sda3 overdue 11500 days for level 0
setup_estimate: server:/dev/sda3: command 0, options:
    last_level -1 next_level0 -11500 level_days 0
    getting estimates 0 (0) -1 (-1) -1 (-1)
setting up estimates took 0.000 secs

GETTING ESTIMATES...
driver: pid 18996 executable /home/amanda/libexec/driver version 2.4.2p2
driver: send-cmd time 0.003 to taper: START-TAPER 20010626
driver: started dumper0 pid 19000
taper: pid 18999 executable taper version 2.4.2p2
driver: started dumper1 pid 19001
driver: started dumper2 pid 19004
driver: started dumper3 pid 19005
dumper: dgram_bind: socket bound to 0.0.0.0.557
dumper: pid 19001 executable dumper version 2.4.2p2, using port 557
dumper: dgram_bind: socket bound to 0.0.0.0.556
dumper: pid 19000 executable dumper version 2.4.2p2, using port 556
taper: read label `Sky01' date `20010626'
dumper: dgram_bind: socket bound to 0.0.0.0.560
dumper: pid 19004 executable dumper version 2.4.2p2, using port 560
taper: wrote label `Sky01' date `20010626'
dumper: dgram_bind: socket bound to 0.0.0.0.561
dumper: pid 19005 executable dumper version 2.4.2p2, using port 561
error result for host server disk /dev/sda3: Request to server timed
out.
getting estimates took 900.027 secs
FAILED QUEUE:
  0: server   /dev/sda3
DONE QUEUE: empty

ANALYZING ESTIMATES...
planner: FAILED server /dev/sda3 0 [Request to server timed out.]
INITIAL SCHEDULE (size 64):

DELAYING DUMPS IF NEEDED, total_size 64, tape length 20480000 mark 0
  delay: Total size now 64.

PROMOTING DUMPS IF NEEDED, total_lev0 0, balanced_size 0...
analysis took 0.008 secs

GENERATING SCHEDULE:
--------
--------
driver: adding holding disk 0 dir /home/amanda size 512000
reserving 512000 out of 512000 for degraded-mode dumps
driver: start time 900.042 inparallel 4 bandwidth 2000 diskspace 512000
dir OBSOLETE datestamp 20010626 driver: drain-ends tapeq LFFO
big-dumpers 1
driver: result time 900.042 from taper: TAPER-OK
driver: state time 900.042 free kps: 2000 space: 512000 taper: idle
idle-dumpers: 4 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 86400
driver-idle: not-idle
driver: interface-state time 900.042 if : free 600 if LE0: free 400 if
LOCAL: free 1000
driver: hdisk-state time 900.042 hdisk 0: free 512000 dumpers 0
driver: QUITTING time 900.042 telling children to quit
driver: send-cmd time 900.042 to dumper0: QUIT
driver: send-cmd time 900.042 to dumper1: QUIT
driver: send-cmd time 900.042 to dumper2: QUIT
driver: send-cmd time 900.042 to dumper3: QUIT
driver: send-cmd time 900.042 to taper: QUIT
taper: DONE [idle wait: 899.828 secs]
taper: writing end marker. [Sky01 OK kb 0 fm 0]
driver: FINISHED time 900.069
amdump: end at Tue Jun 26 16:16:08 BRT 2001
---------------------------------------------------------------------------
START planner date 20010626
INFO planner Adding new disk server:/dev/sda3.
START driver date 20010626
START taper datestamp 20010626 label Sky01 tape 0
FAIL planner server /dev/sda3 0 [Request to server timed out.]
FINISH planner date 20010626
WARNING driver WARNING: got empty schedule from planner
STATS driver startup time 900.042
INFO taper tape Sky01 kb 0 fm 0 [OK]
FINISH driver date 20010626 time 900.069
---------------------------------------------------------------------------
amtrmidx: debug 1 pid 19106 ruid 1002 euid 1002 start time Tue Jun 26
16:16:09 2001
/home/amanda/libexec/amtrmidx: version 2.4.2p2
Keeping 2 index files
server /dev/sda3
could not open index directory
"/usr/adm/amanda/teste/index/server/_dev_sda3/"
amtrmidx: pid 19106 finish time Tue Jun 26 16:16:09 2001
---------------------------------------------------------------------------
amandad: debug 1 pid 18997 ruid 1002 euid 1002 start time Tue Jun 26
16:01:08 2001
amandad: version 2.4.2p2
amandad: build: VERSION="Amanda-2.4.2p2"
amandad:        BUILT_DATE="Thu Jun 21 15:59:47 BRT 2001"
amandad:        BUILT_MACH="Linux teste 2.4.5 #6 Wed Jun 20 16:01:16
/etc/localtime 2001 i686 unknown"
amandad:        CC="gcc"
amandad: paths: bindir="/home/amanda/bin" sbindir="/home/amanda/sbin"
amandad:        libexecdir="/home/amanda/libexec"
amandad:        mandir="/home/amanda/man" AMANDA_TMPDIR="/tmp/amanda"
amandad:        AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/home/amanda/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/" GNUTAR="/bin/tar"
amandad:        COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
amandad:        MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/home/amanda/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="teste" DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="teste"
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-28880708 SEQ 993582068
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=1;hostname=server;
GNUTAR /dev/sda3 0 1970:1:1:0:0:0 -1
exclude-list=/usr/local/lib/amanda/exclude.gtar
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 000-28880708 SEQ 993582068
----

bsd security: remote host server.mydomain user amanda local user amanda
amandahosts security check passed
amandad: running service "/home/amanda/libexec/sendsize"
amandad: got packet:
----
Amanda 2.4 REQ HANDLE 000-28880708 SEQ 993582068
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=1;hostname=server;
GNUTAR /dev/sda3 0 1970:1:1:0:0:0 -1
exclude-list=/usr/local/lib/amanda/exclude.gtar
----

amandad: received dup P_REQ packet, ACKing it
sending ack:
----
Amanda 2.4 ACK HANDLE 000-28880708 SEQ 993582068
----

amandad: got packet:
----
Amanda 2.4 REQ HANDLE 000-28880708 SEQ 993582068
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=1;hostname=server;
GNUTAR /dev/sda3 0 1970:1:1:0:0:0 -1
exclude-list=/usr/local/lib/amanda/exclude.gtar
----

amandad: received dup P_REQ packet, ACKing it
sending ack:
----
Amanda 2.4 ACK HANDLE 000-28880708 SEQ 993582068
------------------------------------------------------------------------------
runtar: debug 1 pid 19003 ruid 1002 euid 0 start time Tue Jun 26
16:01:08 2001
/bin/tar: version 2.4.2p2
running: /bin/tar: /bin/tar --create --file /dev/null --directory /home
--one-file-system --listed-incremental
/home/amanda/var/amanda/gnutar-lists/server_dev_sda3_0.new --sparse
--ignore-failed-read --totals . 
------------------------------------------------------------------------------
My configuration files
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 /home/amanda/etc/amanda/csd/amanda.conf.
#

org "server"            # your organization name for reports
mailto "amanda"         # space separated list of operators at your site
dumpuser "amanda"       # 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  600 Kbps      # maximum net bandwidth for Amanda, in KB per sec

dumpcycle 5             # the number of days in the normal dump cycle
runspercycle 5          # the number of amdump runs in dumpcycle days
                        # (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 1 tape        # 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
### ### ###
# WARNING: don't use `inf' for tapecycle, it's broken!
### ### ###

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.
#etimeout -600          # total number of seconds for estimates.
# a positive number will be multiplied by the number of filesystems on
# each host; a negative number will be taken as an absolute total
time-out.
# The default is 5 minutes per filesystem.

dtimeout 1800           # number of idle seconds before a dump is aborted.

ctimeout 120            # maximum number of seconds that amcheck waits
                        # for each client host
 
tapebufs 20
# A positive integer telling taper how many 32k buffers to allocate.
# WARNING! If this is set too high, taper will not be able to allocate
# the memory and will die.  The default is 20 (640k).


# Specify tape device and/or tape changer.  If you don't have a tape
# changer, and you don't want to use more than one tape per run of
# amdump, just comment out the definition of tpchanger.

# Some tape changers require tapedev to be defined; others will use
# their own tape device selection mechanism.  Some use a separate tape
# changer device (changerdev), others will simply ignore this
# parameter.  Some rely on a configuration file (changerfile) to
# obtain more information about tape devices, number of slots, etc;
# others just need to store some data in files, whose names will start
# with changerfile.  For more information about individual tape
# changers, read docs/TAPE.CHANGERS.

# At most one changerfile entry must be defined; select the most
# appropriate one for your configuration.  If you select man-changer,
# keep the first one; if you decide not to use a tape changer, you may
# comment them all out.

runtapes 1              # number of tapes to be used in a single run of amdump
#tpchanger "chg-manual" # the tape-changer glue script
tapedev "/dev/nst0"     # the no-rewind tape device to be used
#rawtapedev "/dev/null" # the raw device to be used (ftape only)
#changerfile "/usr/adm/amanda/DailySet1/changer"
#changerfile "/usr/adm/amanda/DailySet1/changer-status"
#changerfile "/home/amanda/etc/amanda/DailySet1/changer.conf"
#changerdev "/dev/null"

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

# Specify holding disks.  These are used as a temporary staging area for
# dumps before they are written to tape and are recommended for most
sites.
# The advantages include: tape drive is more likely to operate in
streaming
# mode (which reduces tape and drive wear, reduces total dump time);
multiple
# dumps can be done in parallel (which can dramatically reduce total
dump time.
# The main disadvantage is that dumps on the holding disk need to be
flushed
# (with amflush) to tape after an operating system crash or a tape
failure.
# If no holding disks are specified then all dumps will be written
directly
# to tape.  If a dump is too big to fit on the holding disk than it will
be
# written directly to tape.  If more than one holding disk is specified
then
# they will all be used round-robin.

holdingdisk hd1 {
    comment "main holding disk"
    directory "/home/amanda"    # where the holding disk is
    use 500 Mb          # 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
    }

# 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/adm/amanda/teste/curinfo"        # database DIRECTORY
logdir   "/usr/adm/amanda/teste"                # log directory
indexdir "/usr/adm/amanda/teste/index"  # index directory
#tapelist "/home/amanda/teste/tapelist" # list of used tapes

define tapetype Fuji{
        comment "Fita Fuji DDS4 20/40Gb"
        length 20000 mbytes
        filemark 0 bytes
        speed 2850 kbytes
}


define dumptype global {
    comment "Global definitions"
    # This is quite useful for setting global parameters, so you don't
have
    # to type them everywhere.  All dumptype definitions in this sample
file
    # do include these definitions, either directly or indirectly.
    # There's nothing special about the name `global'; if you create any
    # dumptype that does not contain the word `global' or the name of
any
    # other dumptype that contains it, these definitions won't apply.
    # Note that these definitions may be overridden in other
    # dumptypes, if the redefinitions appear *after* the `global'
    # dumptype name.
    # You may want to use this for globally enabling or disabling
    # indexing, recording, etc.  Some examples:
    # index yes
    # record no
}


define dumptype comp-high-tar {
        root-tar
        comment "user partitions with tar"
        compress client best
        priority high
}        


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

define interface le0 {
    comment "10 Mbps ethernet"
    use 400 kbps
}
-----------------------------------------
disklist:
server /dev/sda3 comp-high-tar

---------------------------------------
tapelist
20010626 Sky01 reuse


uff..........
 
       |\_____/|
       /#######\
     _|#(!) (!)#|_
     --\#( Y )#/--
        /#' `#\
        [#   #]
      /\||   ||/\
      |#||   ||#|
      |#||###||#|#####
      00OOO OOO00     #
====================###=======
---->SuLamItA GaRciA <----
   Analista de Suporte
 [EMAIL PROTECTED]
   [EMAIL PROTECTED]

      ICQ 16465301
http://www.inf.ufsc.br/~sulamita

"Nossa gera��o n�o lamenta tanto 
os crimes dos perversos quanto o 
estarrecedor sil�ncio dos bondosos"
Martin L. King                       

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

Reply via email to