Re: dump largee than tape

2003-03-12 Thread Konrad Dienst
Hi!

Here are the debugs of one run.
amandad: debug 1 pid 1888 ruid 501 euid 501: start at Wed Mar 12 09:13:11 2003
amandad: version 2.4.4
amandad: build: VERSION="Amanda-2.4.4"
amandad:BUILT_DATE="Mon Mar 3 09:53:03 CET 2003"
amandad:BUILT_MACH="Linux corellia 2.4.18-3 #1 Thu Apr 18 07:32:41 EDT 2002 
i686 unknown"
amandad:CC="gcc"
amandad:CONFIGURE_COMMAND="'./configure' '--with-user=amanda' 
'--with-group=amanda'"
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" GNUTAR="/bin/gtar"
amandad:COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
amandad:MAILER="/usr/bin/Mail"
amandad:listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="corellia" DEFAULT_CONFIG="DailySet1"
amandad:DEFAULT_TAPE_SERVER="corellia"
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"
amandad: time 0.000: got packet:

Amanda 2.4 REQ HANDLE 000-00560508 SEQ 1047460425
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9ffe0f;


amandad: time 0.000: sending ack:

Amanda 2.4 ACK HANDLE 000-00560508 SEQ 1047460425


amandad: time 0.000: bsd security: remote host altair user amanda local user amanda
amandad: time 0.001: amandahosts security check passed
amandad: time 0.001: running service "noop"
amandad: time 0.001: sending REP packet:

Amanda 2.4 REP HANDLE 000-00560508 SEQ 1047460425
OPTIONS features=feff9ffe0f;


amandad: time 0.001: got packet:

Amanda 2.4 ACK HANDLE 000-00560508 SEQ 1047460425


amandad: time 0.001: pid 1888 finish time Wed Mar 12 09:13:11 2003
killpgrp: debug 1 pid 1893 ruid 501 euid 0: start at Wed Mar 12 09:13:11 2003
/usr/local/libexec/killpgrp: version 2.4.4
sending SIGTERM to process group 1893
child process exited with status 0
selfcheck: debug 1 pid 1886 ruid 501 euid 501: start at Wed Mar 12 09:11:53 2003
/usr/local/libexec/selfcheck: version 2.4.4
selfcheck: time 0.000: checking disk /export
selfcheck: time 0.011: device /dev/sda3
selfcheck: time 0.011: disk "/export" OK
selfcheck: time 0.011: amdevice "/export" OK
selfcheck: time 0.011: device "/dev/sda3" OK
selfcheck: time 0.011: pid 1886 finish time Wed Mar 12 09:11:53 2003
sendsize: debug 1 pid 1890 ruid 501 euid 501: start at Wed Mar 12 09:13:11 2003
sendsize: version 2.4.4
sendsize[1890]: time 0.023: waiting for any estimate child
sendsize[1892]: time 0.024: calculating for amname '/export', dirname '/export', 
spindle -1
sendsize[1892]: time 0.024: getting size via dump for /export level 0
sendsize[1892]: time 0.025: calculating for device '/dev/sda3' with 'ext2'
sendsize[1892]: time 0.025: running "/sbin/dump 0Ssf 1048576 - /dev/sda3"
sendsize[1892]: time 0.025: running /usr/local/libexec/killpgrp
sendsize[1892]: time 0.168:   DUMP: Warning: unable to translate LABEL=/
sendsize[1892]: time 0.169:   DUMP: Warning: unable to translate LABEL=/boot
sendsize[1892]: time 0.170:   DUMP: Warning: unable to translate LABEL=/var
sendsize[1892]: time 0.171:   DUMP: Added inode 7 to exclude list (resize inode)
sendsize[1892]: time 5.212: 133587968
sendsize[1892]: time 5.236: .
sendsize[1892]: estimate time for /export level 0: 5.211
sendsize[1892]: estimate size for /export level 0: 130457 KB
sendsize[1892]: time 5.236: asking killpgrp to terminate
sendsize[1892]: time 6.238: getting size via dump for /export level 1
sendsize[1892]: time 6.239: calculating for device '/dev/sda3' with 'ext2'
sendsize[1892]: time 6.239: running "/sbin/dump 1Ssf 1048576 - /dev/sda3"
sendsize[1892]: time 6.240: running /usr/local/libexec/killpgrp
sendsize[1892]: time 6.249:   DUMP: Warning: unable to translate LABEL=/
sendsize[1892]: time 6.250:   DUMP: Warning: unable to translate LABEL=/boot
sendsize[1892]: time 6.251:   DUMP: Warning: unable to translate LABEL=/var
sendsize[1892]: time 6.259:   DUMP: SIGSEGV: ABORTING!
sendsize[1892]: time 6.260: .
sendsize[1892]: estimate time for /export level 1: 0.020
sendsize[1892]: no size line match in /sbin/dump output for "/export"
sendsize[1892]: .
sendsize[1892]: estimate size for /export level 1: -1 KB
sendsize[1892]: time 6.260: asking killpgrp to terminate
sendsize[1892]: time 7.268: done with amname '/export', dirname '/export', spindle -1
sendsize[1890]: time 7.269: child 1892 terminated normally
sendsize: time 7.269: pid 1

Re: dump larger than tape

2003-03-07 Thread Konrad Dienst
Hi!
Amanda server is a FreeBSD 4.7, the problem child is a RedHat (Kernel 
2.4.18-3). Backup on FreeBSD and Solaris clients is not a problem. 
amcheck does not find any problems with the RedHat client, either but 
amdump doesn't like him.

Attached are my xinetd.from the client as well as amanda.conf and 
disklist from the server (corellia is the RedHat machine).

I've set the disk devices, as well as the raw disk devivces to owner 
group amanda, also the /etc/dumpdates. services also has the appropriate 
enries.

Thanks in advance

Konni
#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
instances   = 60
log_type= SYSLOG authpriv
log_on_success  = HOST PID
log_on_failure  = HOST
cps = 25 30
}

service amanda
{
flags   = REUSE NAMEINARGS
socket_type = dgram
protocol= udp
wait= yes
user= amanda
server  = /usr/local/libexec/amandad
server_args = amandad
}

includedir /etc/xinetd.d
###  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  ###
###  ###
###  This file is not meant to be installed "as is", and in fact, it ###
###  WILL NOT WORK!  You must go through it and make changes appropriate ###
###  to your own situation.  See the documentation in this file, in the  ###
###  "man amanda" man page, in the "docs" directory and at the Amanda###
###  web page (www.amanda.org).  ###
###  ###
###  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  !!! WARNING !!!  ###

#
# 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 /usr/local/etc/amanda/csd/amanda.conf.
#

org "test"  # your organization name for reports
mailto "amanda" # space separated list of operators at your site
dumpuser "amanda"   # the user to run dumps under

inparallel 1# 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
dumporder "sssS"# specify the priority order of each dumper
#   s -> smallest size
#   S -> biggest size
#   t -> smallest time
#   T -> biggest time
#   b -> smallest bandwitdh
#   B -> biggest bandwitdh
# try "BTBTBTBTBTBT" if you are not holding
# disk constrained
netusage  1 Kbps# maximum net bandwidth for Amanda, in KB per sec

dumpcycle 19 days   # the number of days in the normal dump cycle
runspercycle 19 # the number of amdump runs in dumpcycle days
# (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 19 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
### ### ###
# 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 30 # 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 wil

Re: results missing

2003-02-26 Thread Konrad Dienst
Hello Josh. Here is the output of the debug file 
/tmp/amanda/amandad.20030226103633.debug:

amandad: debug 1 pid 30977 ruid  euid : start at Wed Feb 26 
10:36:33 200
3
amandad: version 2.4.3
amandad: build: VERSION="Amanda-2.4.3"
amandad:BUILT_DATE="Sat Jan 25 19:50:43 GMT 2003"
amandad:BUILT_MACH="FreeBSD gohan15.freebsd.org 4.7-STABLE 
FreeBSD 4.7-S
TABLE #0: Sun Apr 1 02:34:56 PST 2002 
[EMAIL PROTECTED]:/usr/src/sys/compi
le/BENTO i386"
amandad:CC="cc"
amandad:CONFIGURE_COMMAND="'./configure' 
'--libexecdir=/usr/local/libexe
c/amanda' '--with-amandahosts' '--with-fqdn' '--with-dump-honor-nodump' 
'--with-
buffered-dump' '--without-server' '--disable-libtool' 
'--prefix=/usr/local' '--w
ith-gnutar=/usr/local/bin/gtar' '--with-user=operator' 
'--with-group=operator'"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad:libexecdir="/usr/local/libexec/amanda"
amandad:mandir="/usr/local/man" AMANDA_TMPDIR="/tmp/amanda"
amandad:AMANDA_DBGDIR="/tmp/amanda"
amandad:CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
amandad:RDEV_PREFIX="/dev/r" DUMP="/sbin/dump"
amandad:RESTORE="/sbin/restore" GNUTAR="/usr/local/bin/gtar"
amandad:COMPRESS_PATH="/usr/bin/gzip"
amandad:UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail"
amandad:listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="gohan15.freebsd.org"
amandad:DEFAULT_CONFIG="DailySet1"
amandad:DEFAULT_TAPE_SERVER="gohan15.freebsd.org"
amandad:DEFAULT_TAPE_DEVICE="/dev/null" HAVE_SYSVSHM
amandad:LOCKING=POSIX_FCNTL DEBUG_CODE AMANDA_DEBUG_DAYS=4
amandad:BSD_SECURITY USE_AMANDAHOSTS CLIENT_LOGIN="operator"
amandad:FORCE_USERID HAVE_GZIP COMPRESS_SUFFIX=".gz"
amandad:COMPRESS_FAST_OPT="--fast" COMPRESS_BEST_OPT="--best"
amandad:UNCOMPRESS_OPT="-dc"
amandad: time 0.000: got packet:

Amanda 2.4 REQ HANDLE 000-00850708 SEQ 1046252193
SECURITY USER amanda
SERVICE noop
OPTIONS features=feff9f00;


amandad: time 0.000: sending ack:

Amanda 2.4 ACK HANDLE 000-00850708 SEQ 1046252193

amandad: time 0.000: bsd security: remote host altair.wirecard.com user 
amanda l
ocal user amanda
amandad: time 0.000: amandahosts security check passed
amandad: time 0.000: running service "noop"
amandad: time 0.034: sending REP packet:

Amanda 2.4 REP HANDLE 000-00850708 SEQ 1046252193
OPTIONS features=feff9f00;


amandad: time 0.034: got packet:

Amanda 2.4 ACK HANDLE 000-00850708 SEQ 1046252193

The other files do not exist
The system is a freebsd 4.7 server trying to backup itself.



results missing

2003-02-25 Thread Konrad Dienst
Hi!

does anybody know, what this is supposed to mean? (amcheck doesn't come 
up with any errors)

   Subject: test AMANDA MAIL REPORT FOR BogusMonth 0, 0

*** THE DUMPS DID NOT FINISH PROPERLY!

The next tape Amanda expects to use is: a new tape.

FAILURE AND STRANGE DUMP SUMMARY:
 altair.wir aacd0s1f RESULTS MISSING
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.00.00.0
Original Size (meg) 0.00.00.0
Avg Compressed Size (%) -- -- --
Filesystems Dumped0  0  0
Avg Dump Rate (k/s) -- -- --
Tape Time (hrs:min)0:00   0:00   0:00
Tape Size (meg) 0.00.00.0
Tape Used (%)   0.00.00.0
Filesystems Taped 0  0  0
Avg Tp Write Rate (k/s) -- -- --
^L
DUMP SUMMARY:
DUMPER STATSTAPER STATS
HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS  KB/s MMM:SS  KB/s
-- - 
altair.wirec aacd0s1f  MISSING --
(brought to you by Amanda version 2.4.3)




Re: no-rewind pass0 on FreeBSD

2003-02-24 Thread Konrad Dienst
> Does your kernel include "device sa"?
>
> Your tape should be recognized as /dev/.*sa[0-9]
>
> For instance :
>
> Waiting 5 seconds for SCSI devices to settle
> sa0 at ahc0 bus 0 target 5 lun 0
> sa0:  Removable Sequential Access SCSI-2 device
> sa0: 10.000MB/s transfers (10.000MHz, offset 8)
> sa1 at ahc0 bus 0 target 10 lun 0
> sa1:  Removable Sequential Access SCSI-2 device
> sa1: 20.000MB/s transfers (10.000MHz, offset 15, 16bit)
>
Sa0 is included in the Kernel, but the only thing I get is:
pass0 at ahc0 bus 0 target 0 lun 0
pass0:  Removable Changer SCSI-3 device
pass0: 3.300MB/s transfers
The system recognizes only a passthrough device.

Konni