Hi, Jean-Louis, thank you for all your work and efforts to update the Amanda code and
make it better.
I'm very reluctant to promise to try the snapshot, because of my inexperience. I've
never downloaded a snapshot from a CVS system and installed it on any of my systems.
I'm not sure how I would set it up so that I could easily and quickly revert to the
working system I have now. My Amanda systems are all production systems, no
prototyping or trial systems, which my whole organization relies on for backups of our
internet-facing servers.
If trying the snapshot is an easy and simple thing to do, with very little risk to my
existing system, I'd be happy to try it. If there are some web pages describing how to
try CVS snapshots out, please let me know a URL and I'll read through them and see if
I can do it.
Thank you, again, for all your work.
-Kevin
>>> Jean-Louis Martineau <[EMAIL PROTECTED]> 09/16/04 07:29AM >>>
Hi Kevin,
The latest amanda snapshot should have a fix for this, could you try it?
Jean-Louis
On Fri, Sep 10, 2004 at 09:56:45AM -0400, KEVIN ZEMBOWER wrote:
> I just noticed these errors in the output of amstatus, from a run last night:
> [EMAIL PROTECTED]:/etc/amanda/Outside$ amstatus Outside
> Using /var/amanda/Outside/amdump.1 from Fri Sep 10 00:45:02 EDT 2004
>
> www:sda1 1 0k finished (0:51:14)
> www:sda10 2 1919k finished (0:51:51)
> www:sda11 0 3319737k finished (4:42:52)
> www:sda12 1 150k wait for dumping driver: (aborted)
> Use of uninitialized value in printf at /usr/local/sbin/amstatus line 742.
> www:sda14 0 0k failed to tape (7:20:40)
> Use of uninitialized value in addition (+) at /usr/local/sbin/amstatus line 757.
> Use of uninitialized value in addition (+) at /usr/local/sbin/amstatus line 767.
> www:sda2 2 104343k finished (0:56:14)
> www:sda5 1 120k finished (0:52:07)
> www:sda6 1 3094k wait for dumping driver: (aborted)
> www:sda7 0 5295676k finished (3:01:40)
> www:sda8 2 50437k finished (1:02:50)
>
> SUMMARY part real estimated
> size size
> partition : 10
> estimated : 10 14068515k
> flush : 0 0k
> failed : 0 0k ( 0.00%)
> wait for dumping: 2 3244k ( 0.02%)
> dumping to tape : 0 0k ( 0.00%)
> dumping : 0 0k 0k ( 0.00%) ( 0.00%)
> dumped : 8 13847339k 14065271k ( 98.45%) ( 98.43%)
> wait for writing: 1 0k 5075107k ( 0.00%) ( 0.00%)
> wait to flush : 0 0k 0k (100.00%) ( 0.00%)
> writing to tape : 0 0k 0k ( 0.00%) ( 0.00%)
> failed to tape : 1 0k 5075107k ( 0.00%) ( 0.00%)
> taped : 7 8772232k 8990164k ( 97.58%) ( 62.35%)
> tape 1 : 7 8772232k 8990164k ( 53.47%) Outside-04
> 4 dumpers idle : not-idle
> taper idle
> network free kps: 5800
> holding space : 3392k (100.00%)
> dumper0 busy : 6:29:10 ( 99.93%)
> taper busy : 6:27:14 ( 99.43%)
> 0 dumpers busy : 0:00:16 ( 0.07%) start-wait: 0:00:16 (100.00%)
> 1 dumper busy : 6:29:10 ( 99.93%) not-idle: 6:27:14 ( 99.50%)
> start-wait: 0:00:59 ( 0.25%)
> no-bandwidth: 0:00:56 ( 0.24%)
> [EMAIL PROTECTED]:/etc/amanda/Outside$
>
> Has the bahavior of amstatus changed? I thought you couldn't get an amstatus after
> the run was completed.
>
> Here's the section of the code:
> 737 elsif($taper_finished{$hostpart} <
> 0) {
> 738 if( defined $opt_failed ||
> 739 (defined
> $opt_waittaper && ($taper_finished{$hostpart} == -1))) {
> 740 printf "%8s ",
> $datestamp if defined $opt_date;
> 741 printf
> "%-${maxnamelength}s%2d", "$host:$partition", $level{$hostpa
> 741 rt};
> 742 printf "%9dk",
> $size{$hostpart};
> 743 if($in_flush == 0) {
> 744 print "
> failed to tape";
> 745 }
> 746 else {
> 747 print "
> failed to flush";
> 748 }
> 749 print " (will
> retry)" unless $taper_finished{$hostpart} < -1;
> 750 if( defined
> $starttime ) {
> 751 print " (",
> &showtime($taper_time{$hostpart}), ")";
> 752 }
> 753 print "\n";
> 754 }
> 755
> 756 $tfpartition++;
> 757 $tfsize += $size{$hostpart};
> 758 if(defined
> $esize{$hostpart}) {
> 759 $tfesize +=
> $esize{$hostpart};
> 760 }
> 761 else {
> 762 $tfesize +=
> $size{$hostpart};
> 763 }
> 764
> 765 if($in_flush == 0) {
> 766 $twpartition++;
> 767 $twsize +=
> $size{$hostpart};
> 768 if(defined
> $esize{$hostpart}) {
> 769 $twesize +=
> $esize{$hostpart};
> 770 }
> 771 else {
> 772 $twesize +=
> $size{$hostpart};
> 773 }
> 774 }
>
> I'm not much of a coder, but these don't seem significant; just complaining about
> output strings which can't be printed.
>
> Here's the version info:
> [EMAIL PROTECTED]:/etc/amanda/Outside$ amadmin Outside version
> build: VERSION="Amanda-2.4.4p3"
> BUILT_DATE="Wed Aug 18 16:27:23 EDT 2004"
> BUILT_MACH="Linux www.jhuccp.org 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST
> 2002 i686 unknown"
> CC="gcc"
> CONFIGURE_COMMAND="'./configure' '--with-user=amanda' '--with-group=disk'
> '--with-owner=amanda' '--with-tape-device=/dev/nst0' '--prefix=/usr/local'
> '--with-portrange=10080,10083' '--with-tcpportrange=10080,10083'
> '--with-udpportrange=850,854' '--with-debugging=/tmp/amanda-dbg/'
> '--with-configdir=/etc/amanda'"
> paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
> libexecdir="/usr/local/libexec" mandir="/usr/local/man"
> AMANDA_TMPDIR="/tmp/amanda"
> AMANDA_DBGDIR="/tmp/amanda-dbg/" CONFIG_DIR="/etc/amanda"
> DEV_PREFIX="/dev/" RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
> RESTORE="/sbin/restore" VDUMP=UNDEF VRESTORE=UNDEF
> XFSDUMP=UNDEF XFSRESTORE=UNDEF VXDUMP=UNDEF VXRESTORE=UNDEF
> SAMBA_CLIENT=UNDEF GNUTAR="/bin/tar"
> COMPRESS_PATH="/bin/gzip" UNCOMPRESS_PATH="/bin/gzip"
> LPRCMD=UNDEF MAILER="/usr/bin/Mail"
> listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
> defs: DEFAULT_SERVER="www.jhuccp.org" DEFAULT_CONFIG="DailySet1"
> DEFAULT_TAPE_SERVER="www.jhuccp.org"
> DEFAULT_TAPE_DEVICE="/dev/nst0" HAVE_MMAP HAVE_SYSVSHM
> LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE
> AMANDA_DEBUG_DAYS=4 BSD_SECURITY USE_AMANDAHOSTS
> CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
> COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
> COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
> [EMAIL PROTECTED]:/etc/amanda/Outside$
>
> Thanks for your thoughts on this. Let me know if there's anything else I can to to
> help solve this problem.
>
> -Kevin
>
--
Jean-Louis Martineau email: [EMAIL PROTECTED]
D�partement IRO, Universit� de Montr�al
C.P. 6128, Succ. CENTRE-VILLE Tel: (514) 343-6111 ext. 3529
Montr�al, Canada, H3C 3J7 Fax: (514) 343-5834