On 07/04/2013 09:33 AM, Karsten Fuhrmann wrote:
Hello,
using Amanda 3.3.3 on FreeBSD 9.1-RELEASE i got this strange message in the 
system of the system which should be backuped via amzfs_sendrecv,
and the backup of this filesystem failed.


Jul  3 16:55:26 trac Amzfs_sendrecv[303]: Argument "1.00x" isn't numeric in 
multiplication (*) at /usr/local/libexec/amanda/application/amzfs-sendrecv line 292.

Greetings,
Karsten Fuhrmann

Amanda expect numerical value but your command append a 'x'.

Apply the attached patch and retry a backup, post the resulting amzfs-snapshot debug file.
The patch add more debugging so I can see which command append the 'x'.

Jean-Louis
diff --git a/application-src/amzfs-sendrecv.pl b/application-src/amzfs-sendrecv.pl
index 44b91cf..37bc1a0 100644
--- a/application-src/amzfs-sendrecv.pl
+++ b/application-src/amzfs-sendrecv.pl
@@ -291,6 +291,7 @@ sub estimate_snapshot
 	    $self->print_to_server_and_die("cannot estimate snapshot '$self->{snapshot}\@$self->{snapshot}': unknown reason", $Amanda::Script_App::ERROR);
 	}
     }
+Amanda::Debug::debug("estimate_snapshot: $msg");
     if ($level == 0) {
 	my $compratio = $self->get_compratio();
 	chop($compratio);
@@ -327,7 +328,8 @@ sub get_compratio
 	    $self->print_to_server_and_die("cannot read compression ratio '$self->{snapshot}\@$self->{snapshot}': unknown reason", $Amanda::Script_App::ERROR);
 	}
     }
-    return $msg
+Amanda::Debug::debug("get_compratio: $msg");
+    return $msg;
 }
 
 sub command_index_from_output {

Reply via email to