Amanda-Users

index file problem

2003-06-11 08:14:50
Subject: index file problem
From: Moliere Christian <christian.moliere AT wanadooportails DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 11 Jun 2003 14:11:18 +0200
Hello,

        When I did an amdump my_conf, I have a data timeout failed
Here it is my config file :

fext01ft                /home/ftp/unix_accounts comp-serveur-tar
fext01ft                /etc                    comp-serveur-tar

After investigation on the client, I looked in the sendsize file debug :

sendsize.20030611103201.debug
sendsize: debug 1 pid 9987 ruid 33 euid 33: start at Wed Jun 11 10:32:01
2003
sendsize: version 2.4.4
sendsize[9987]: time 0.014: waiting for any estimate child
sendsize[9989]: time 0.014: calculating for amname
'/home/ftp/unix_accounts', dirname '/home/ftp/unix_accounts', spindle -1
sendsize[9989]: time 0.014: getting size via gnutar for
/home/ftp/unix_accounts level 0
sendsize[9989]: time 0.016: spawning /usr/local/amanda/libexec/runtar in
pipeline
sendsize[9989]: argument list: /bin/gtar --create --file /dev/null
--directory /home/ftp/unix_accounts --one-file-system
--listed-incremental
/usr/local/amanda/gnutar-lists/fext01ft_home_ftp_unix_accounts_0.new
--sparse --ignore-failed-read --totals --exclude-from
/tmp/amanda/sendsize._home_ftp_unix__accounts.20030611103201.exclude .
sendsize[9989]: time 1.243: Total bytes written: 5498501120 (5.1GB, 2.6GB/s)
sendsize[9989]: time 1.244: .....
sendsize[9989]: estimate time for /home/ftp/unix_accounts level 0: 1.228
sendsize[9989]: estimate size for /home/ftp/unix_accounts level 0:
5369630 KB
sendsize[9989]: time 1.244: waiting for /bin/gtar
"/home/ftp/unix_accounts" child
sendsize[9989]: time 1.245: after /bin/gtar "/home/ftp/unix_accounts" wait
sendsize[9989]: time 1.245: done with amname '/home/ftp/unix_accounts',
dirname '/home/ftp/unix_accounts', spindle -1
sendsize[9987]: time 1.245: child 9989 terminated normally
sendsize[9987]: time 1.245: waiting for any estimate child
sendsize[10008]: time 1.245: calculating for amname '/etc', dirname
'/etc', spindle -1
sendsize[10008]: time 1.245: getting size via gnutar for /etc level 0
sendsize[10008]: time 1.248: spawning /usr/local/amanda/libexec/runtar
in pipeline
sendsize[10008]: argument list: /bin/gtar --create --file /dev/null
--directory /etc --one-file-system --listed-incremental
/usr/local/amanda/gnutar-lists/fext01ft_etc_0.new --sparse
--ignore-failed-read --totals --exclude-from
/tmp/amanda/sendsize._etc.20030611103203.exclude .
sendsize[10008]: time 1.274: Total bytes written: 2662400 (2.5MB, ?B/s)
sendsize[10008]: time 1.276: .....
sendsize[10008]: estimate time for /etc level 0: 0.028
sendsize[10008]: estimate size for /etc level 0: 2600 KB
sendsize[10008]: time 1.276: waiting for /bin/gtar "/etc" child
sendsize[10008]: time 1.276: after /bin/gtar "/etc" wait
sendsize[10008]: time 1.276: done with amname '/etc', dirname '/etc',
spindle -1
sendsize[9987]: time 1.277: child 10008 terminated normally
sendsize: time 1.277: pid 9987 finish time Wed Jun 11 10:32:03 2003


As you can see, everything looks like ok. The
usr/local/amanda/gnutar-lists/fext01ft_home_ftp_unix_accounts_0.new file
was created but there is no data inside. It is empty.

When I make this command manualy on the client :
/bin/gtar --create --file /dev/null --directory /home/ftp/unix_accounts
--one-file-system --listed-incremental
/usr/local/amanda/gnutar-lists/fext01ft_home_ftp_unix_accounts_0.new
--sparse --ignore-failed-read --totals --exclude-from
/tmp/amanda/sendsize._home_ftp_unix__accounts.20030611103201.exclude

I have this error :
/bin/gtar: Cowardly refusing to create an empty archive
Try `/bin/gtar --help' for more information.

if I do this same command but in adding --files-from, I have some data
in the /usr/local/amanda/gnutar-lists/fext01ft_home_ftp_unix_accounts_0.new

In my config file I have two entries. The result of my amdump command
for /etc entry was ok the other for home/ftp/unix_accounts wasn't ok.

Is someone has some answers  to this problem ?

--


Sincerely,
Cordialement,

Christian MOLIERE

Tél : +33 1 43 60 11 50
Mobile : +33 6 73 37 36 33



<Prev in Thread] Current Thread [Next in Thread>
  • index file problem, Moliere Christian <=