Chris,
The attached patch fix the problem.
The problem is the two 'S', one of them should be 'h'.
The patch is already in the CVS.
Jean-Louis
Chris Stenton wrote:
Not sure if this is to do with the FreeBSD port but upgrading to
2.5.1p3 from p2 and the dump estimate has stopped working. Here is the
debug output from client sendsize.
sendsize[43898]: time 1.025: calculating for device /dev/da0s1a with ufs
sendsize[43898]: time 1.025: running "/sbin/dump 1SSsf 0 1048576 -
/dev/da0s1a"
sendsize[43898]: time 1.026: running /usr/local/libexec/amanda/killpgrp
sendsize[43898]: time 1.030: dump: tape size must be between 1 and 0
sendsize[43898]: time 1.030: .....
not sure why the extra argument "0" has been added. Any ideas?
Thanks
Chris
diff -u -r --show-c-function --new-file --exclude-from=/home/martinea/src.orig/amanda.diff --ignore-matching-lines='$Id:' amanda-2.5.1p3.new/client-src/sendsize.c amanda-2.5.1p3.new.krb4/client-src/sendsize.c
--- amanda-2.5.1p3.new/client-src/sendsize.c 2006-12-22 09:42:42.000000000 -0500
+++ amanda-2.5.1p3.new.krb4/client-src/sendsize.c 2007-02-08 15:13:57.000000000 -0500
@@ -1190,7 +1190,7 @@ getsize_dump(
# endif
dumpkeys = vstralloc(level_str,
PARAM_DUMP_ESTIMATE,
- PARAM_DUMP_ESTIMATE,
+ PARAM_HONOR_NODUMP,
"s", "f", NULL);
# ifdef HAVE_DUMP_ESTIMATE