Results 1 to 2 of 2

Thread: I can't make a backup, but I don't know why...

  1. #1

    Default I can't make a backup, but I don't know why...

    I'm trying to make a backup, but I don't know why, it doesn't works, please could you help me, here you have the log files:

    Thanks!

    cat amdump.1
    ================================================== =
    amdump: start at Wed Jun 8 18:16:23 CEST 2011
    amdump: datestamp 20110608
    amdump: starttime 20110608181623
    planner: pid 32396 executable /usr/lib/amanda/planner version 2.5.2p1
    planner: build: VERSION="Amanda-2.5.2p1"
    driver: pid 32397 executable /usr/lib/amanda/driver version 2.5.2p1
    planner: BUILT_DATE="Thu Feb 26 08:35:22 UTC 2009"
    planner: BUILT_MACH="Linux porrada 2.6.27 #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux"
    planner: CC="gcc" CONFIGURE_COMMAND="'./configure' 'linux' 'gnu'"
    planner: paths: bindir="/usr/bin" sbindir="/usr/sbin"
    planner: libexecdir="/usr/lib/amanda" mandir="/usr/share/man"
    planner: AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
    planner: CONFIG_DIR="/etc/amanda" DEV_PREFIX="/dev/"
    planner: RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
    planner: RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
    planner: XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
    planner: SAMBA_CLIENT="/usr/bin/smbclient" GNUTAR="/bin/tar"
    planner: COMPRESS_PATH="/usr/bin/gzip"
    planner: UNCOMPRESS_PATH="/usr/bin/gzip" LPRCMD="/usr/bin/lpr"
    planner: MAILER="/usr/bin/Mail"
    planner: listed_incr_dir="/var/lib/amanda/gnutar-lists"
    planner: defs: DEFAULT_SERVER="localhost" DEFAULT_CONFIG="DailySet1"
    planner: DEFAULT_TAPE_SERVER="localhost" HAVE_MMAP NEED_STRSTR
    planner: HAVE_SYSVSHM LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
    planner: AMANDA_DEBUG_DAYS=4 BSD_SECURITY RSH_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"
    READING CONF FILES...
    planner: timestamp 20110608181623
    planner: time 0.002: startup took 0.002 secs

    SENDING FLUSHES...
    ENDFLUSH

    SETTING UP FOR ESTIMATES...
    planner: time 0.002: setting up estimates for XCAPIR.TSH.THOMSON.COM:/data
    XCAPIR.TSH.THOMSON.COM:/data overdue 15134 days for level 0
    setup_estimate: XCAPIR.TSH.THOMSON.COM:/data: command 0, options: none last_level -1 next_level0 -15134 level_days 0 getting estimates 0 (-2) -1 (-2) -1 (-2)
    planner: time 0.002: setting up estimates took 0.000 secs

    GETTING ESTIMATES...
    driver: tape size 790626304
    reserving 0 out of 0 for degraded-mode dumps
    driver: send-cmd time 0.011 to taper: START-TAPER 20110608181623
    driver: started dumper0 pid 32399
    driver: send-cmd time 0.012 to dumper0: START 20110608181623
    driver: started dumper1 pid 32400
    driver: send-cmd time 0.012 to dumper1: START 20110608181623
    driver: start time 0.012 inparallel 2 bandwidth 2600 diskspace 0 dir OBSOLETE datestamp 20110608181623 driver: drain-ends tapeq FIRST big-dumpers ttt
    dumper: pid 32399 executable dumper0 version 2.5.2p1
    dumper: pid 32400 executable dumper1 version 2.5.2p1
    taper: pid 32398 executable taper version 2.5.2p1
    taper: page size = 4096
    taper: buffer size is 32768
    planner: time 0.026: got partial result for host XCAPIR.TSH.THOMSON.COM disk /data: 0 -> -2K, -1 -> -2K, -1 -> -2K
    read label `TEST01', date `20110603180037'
    cannot overwrite active tape TEST01

    driver: result time 0.038 from taper: TAPE-ERROR <nohandle> "[read label `TEST01', date `20110603180037'\012cannot overwrite active tape TEST01\012]"
    driver: state time 0.038 free kps: 2600 space: 0 taper: idle idle-dumpers: 2 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 0 driver-idle: not-idle
    driver: interface-state time 0.038 if default: free 800 if local: free 1000 if eth0: free 800
    driver: hdisk-state time 0.038
    planner: time 901.026: getting estimates took 901.024 secs
    FAILED QUEUE:
    0: XCAPIR.TSH.THOMSON.COM /data
    DONE QUEUE: empty

    ANALYZING ESTIMATES...
    errstr:disk /data, all estimate timed out:
    planner: FAILED XCAPIR.TSH.THOMSON.COM /data 20110608181623 0 [disk /data, all estimate timed out]
    INITIAL SCHEDULE (size 64):

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

    PROMOTING DUMPS IF NEEDED, total_lev0 0, balanced_size 0...
    planner: time 901.026: analysis took 0.000 secs

    GENERATING SCHEDULE:
    --------
    --------
    driver: flush size 0
    dump of driver schedule before start degraded mode:
    --------
    --------
    dump of driver schedule after start degraded mode:
    --------
    --------
    driver: state time 901.026 free kps: 2600 space: 0 taper: DOWN idle-dumpers: 2 qlen tapeq: 0 runq: 0 roomq: 0 wakeup: 0 driver-idle: no-dumpers
    driver: interface-state time 901.026 if default: free 800 if local: free 1000 if eth0: free 800
    driver: hdisk-state time 901.026
    driver: QUITTING time 901.027 telling children to quit
    driver: send-cmd time 901.027 to dumper0: QUIT
    driver: send-cmd time 901.027 to dumper1: QUIT
    driver: send-cmd time 901.027 to taper: QUIT
    taper: DONE [idle wait: 900.988 secs]
    driver: FINISHED time 902.027
    amdump: end at Wed Jun 8 18:31:25 CEST 2011
    Warning: no log files found for tape TEST01 written 2011-06-03 18:00:37
    Warning: no log files found for tape TEST01 written 2011-06-03 18:00:37
    0
    0
    0
    0
    0

    cat log.20110608181623.0
    ================================================== ====
    DISK planner XCAPIR.TSH.THOMSON.COM /data
    START planner date 20110608181623
    INFO planner Adding new disk XCAPIR.TSH.THOMSON.COM:/data.
    START driver date 20110608181623
    STATS driver hostname XCAPIR
    STATS driver startup time 0.012
    ERROR taper no-tape [No writable valid tape found]
    WARNING taper read label `TEST01', date `20110603180037'
    WARNING taper cannot overwrite active tape TEST01
    ERROR planner Request to XCAPIR.TSH.THOMSON.COM failed: timeout waiting for REP
    WARNING planner disk XCAPIR.TSH.THOMSON.COM:/data, estimate of level 0 timed out.
    FAIL planner XCAPIR.TSH.THOMSON.COM /data 20110608181623 0 [disk /data, all estimate timed out]
    FINISH planner date 20110608181623 time 901.026
    WARNING driver WARNING: got empty schedule from planner
    FINISH driver date 20110608181623 time 902.027

  2. #2
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    1,049

    Default

    Put a tape in the drive that amanda can use. You can relabel you tape with amlabel.
    Increase etimeout, or check the client debug files XCAPIR.TSH.THOMSON.COM to find why it didn't reply in 900 seconds?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •