Amanda-Users

tar returned 2 error???

2005-08-24 15:17:16
Subject: tar returned 2 error???
From: Jean-Francois Malouin <Jean-Francois.Malouin AT bic.mni.mcgill DOT ca>
To: AMANDA users <amanda-users AT amanda DOT org>
Date: Wed, 24 Aug 2005 14:59:03 -0400
Hi,

In the last few days I've been getting this error:

    [/usr/freeware/bin/tar returned 2]

in the sendbackup report on a client running 2.4.4p3-20040805 and the 
whole backup run fails. This is the system disk "/" on the client.
Anyone has run into this before?
The client is an O200 SGI running irix-6.5.x and the tar version
seems ok:

shadow::~> /usr/freeware/bin/tar --version
tar (GNU tar) 1.13.25

Here's the relevent parts from the sendbackup and sendsize debug file
on the client: [sorry for the long lines)

sendbackup: debug 1 pid 144399 ruid 666 euid 666: start at Wed Aug 24 06:14:50 
2005
/opt/amanda/amanda2/libexec/sendbackup: version 2.4.4p3-20040805
  parsed request as: program `GNUTAR'
                     disk `/'
                     device `/'
                     level 0
                     since 1970:1:1:0:0:0
                     options 
`|;bsd-auth;index;exclude-list=.amanda-gnutar-exclude-list.txt;exclude-optional;'

[...] irrelevent connections/port stuff deleted

sendbackup-gnutar: time 0.018: doing level 0 dump as listed-incremental to 
/opt/amanda/amanda2/var/amanda/gnutar-lists/shadow__0.new
sendbackup-gnutar: time 2.824: doing level 0 dump from date: 1970-01-01  
0:00:00 GMT
sendbackup: time 2.874: started index creator: "/usr/freeware/bin/tar -tf - 
2>/dev/null | sed -e 's/^\.//'"
sendbackup: time 2.874: spawning /opt/amanda/amanda2/libexec/runtar in pipeline
sendbackup: argument list: gtar --create --file - --directory / 
--one-file-system --listed-incremental 
/opt/amanda/amanda2/var/amanda/gnutar-lists/shadow__0.new --sparse 
--ignore-failed-read --totals 
--exclude-from /tmp/amanda-conf2/sendbackup._.20050824061452.exclude .
sendbackup-gnutar: time 2.880: /opt/amanda/amanda2/libexec/runtar: pid 147118
sendbackup: time 4.949: 124: strange(?): gtar: ./dev/fd: Cannot savedir: 
Function not implemented
sendbackup: time 80.884: 124: strange(?): gtar: ./dev/fd: Warning: Cannot 
savedir: Function not implemented
sendbackup: time 122.999:  60:  normal(|): gtar: ./dev/entropy: socket ignored
sendbackup: time 238.346:  60:  normal(|): gtar: ./opt/prngd/egd-pool: socket 
ignored
sendbackup: time 1520.322: 124: strange(?): gtar: ./var/adm/MAILOG: file 
changed as we read it
sendbackup: time 1806.327: index created successfully
sendbackup: time 1806.359:  53:    size(|): Total bytes written: 3067299840 
(2.9GB, 1.6MB/s)
sendbackup: time 1806.365: 124: strange(?): gtar: Error exit delayed from 
previous errors
sendbackup: time 1806.382: error [/usr/freeware/bin/tar returned 2]
sendbackup: time 1806.382: pid 144399 finish time Wed Aug 24 06:44:56 2005

--------------
sendsize debug:

sendsize[133766]: time 9086.776: calculating for amname '/', dirname '/', 
spindle 4
sendsize[133766]: time 9086.777: getting size via gnutar for / level 0
sendsize[100526]: time 9086.778: waiting for any estimate child: 1 running
sendsize[133766]: time 9086.972: spawning /opt/amanda/amanda2/libexec/runtar in 
pipeline
sendsize[133766]: argument list: /usr/freeware/bin/tar --create --file 
/dev/null --directory / 
--one-file-system --listed-incremental /opt/amanda/amanda2/var/amanda/gnutar-lis
ts/shadow__0.new --sparse --ignore-failed-read --totals --exclude-from
/tmp/amanda-conf2/sendsize._.20050824054635.exclude .
sendsize[133766]: time 9091.379: /usr/freeware/bin/tar: ./dev/fd: Cannot 
savedir: Function not implemented
sendsize[133766]: time 9165.900: /usr/freeware/bin/tar: ./dev/fd: Warning: 
Cannot savedir: Function not implemented
sendsize[133766]: time 9184.276: /usr/freeware/bin/tar: ./dev/entropy: socket 
ignored
sendsize[133766]: time 9185.984: /usr/freeware/bin/tar: ./opt/prngd/egd-pool: 
socket ignored
sendsize[133766]: time 9253.967: Total bytes written: 3067514880 (2.9GB, 18MB/s)
sendsize[133766]: time 9253.975: /usr/freeware/bin/tar: Error exit delayed from 
previous errors
sendsize[133766]: time 9253.975: .....
sendsize[133766]: estimate time for / level 0: 167.003
sendsize[133766]: estimate size for / level 0: 2995620 KB
sendsize[133766]: time 9253.975: waiting for /usr/freeware/bin/tar "/" child
sendsize[133766]: time 9253.993: after /usr/freeware/bin/tar "/" wait
sendsize[133766]: time 9254.068: getting size via gnutar for / level 1
sendsize[133766]: Can't open exclude file '//.amanda-gnutar-exclude-list.txt': 
No such file or directory
sendsize[133766]: time 9254.419: spawning /opt/amanda/amanda2/libexec/runtar in 
pipeline
sendsize[133766]: argument list: /usr/freeware/bin/tar --create --file
/dev/null --directory / --one-file-system --listed-incremental
/opt/amanda/amanda2/var/amanda/gnutar-lis
ts/shadow__1.new --sparse --ignore-failed-read --totals --exclude-from
/tmp/amanda-conf2/sendsize._.20050824054922.exclude .
sendsize[133766]: time 9256.158: /usr/freeware/bin/tar: ./dev/fd: Cannot 
savedir: Function not implemented
sendsize[133766]: time 9320.977: /usr/freeware/bin/tar: ./dev/fd: Warning: 
Cannot savedir: Function not implemented
sendsize[133766]: time 9339.794: /usr/freeware/bin/tar: ./dev/entropy: socket 
ignored
sendsize[133766]: time 9341.834: /usr/freeware/bin/tar: ./opt/prngd/egd-pool: 
socket ignored
sendsize[133766]: time 9391.997: /usr/freeware/bin/tar: 
./var/spool/pbs/server_priv/jobs/70009.shado.JB: Warning: Cannot stat: No such 
file or directory
sendsize[133766]: time 9392.004: /usr/freeware/bin/tar: 
./var/spool/pbs/server_priv/jobs/70009.shado.SC: Warning: Cannot stat: No such 
file or directory
sendsize[133766]: time 9393.124: Total bytes written: 3056629760 (2.8GB, 21MB/s)
sendsize[133766]: time 9393.131: /usr/freeware/bin/tar: Error exit delayed from 
previous errors
sendsize[133766]: time 9393.131: .....
sendsize[133766]: estimate time for / level 1: 138.712
sendsize[133766]: estimate size for / level 1: 2984990 KB
sendsize[133766]: time 9393.132: waiting for /usr/freeware/bin/tar "/" child
sendsize[133766]: time 9393.139: after /usr/freeware/bin/tar "/" wait
sendsize[133766]: time 9393.443: getting size via gnutar for / level 2
sendsize[133766]: Can't open exclude file '//.amanda-gnutar-exclude-list.txt': 
No such file or directory
sendsize[133766]: time 9393.585: spawning /opt/amanda/amanda2/libexec/runtar in 
pipeline
sendsize[133766]: argument list: /usr/freeware/bin/tar --create --file
/dev/null --directory / --one-file-system --listed-incremental
/opt/amanda/amanda2/var/amanda/gnutar-lis
ts/shadow__2.new --sparse --ignore-failed-read --totals --exclude-from
/tmp/amanda-conf2/sendsize._.20050824055142.exclude .
sendsize[133766]: time 9395.075: /usr/freeware/bin/tar: ./dev/fd: Cannot 
savedir: Function not implemented
sendsize[133766]: time 9458.503: /usr/freeware/bin/tar: ./dev/fd: Warning: 
Cannot savedir: Function not implemented
sendsize[133766]: time 9477.462: /usr/freeware/bin/tar: ./dev/entropy: socket 
ignored
sendsize[133766]: time 9479.274: /usr/freeware/bin/tar: ./opt/prngd/egd-pool: 
socket ignored
sendsize[133766]: time 9550.026: /usr/freeware/bin/tar: 
./var/spool/pbs/server_priv/jobs/70085.shado.JB: Warning: Cannot stat: No such 
file or directory
sendsize[133766]: time 9550.034: /usr/freeware/bin/tar: 
./var/spool/pbs/server_priv/jobs/70085.shado.SC: Warning: Cannot stat: No such 
file or directory
sendsize[133766]: time 9551.503: Total bytes written: 3056629760 (2.8GB, 18MB/s)
sendsize[133766]: time 9551.510: /usr/freeware/bin/tar: Error exit delayed from 
previous errors
sendsize[133766]: time 9551.510: .....
sendsize[133766]: estimate time for / level 2: 157.925
sendsize[133766]: estimate size for / level 2: 2984990 KB
sendsize[133766]: time 9551.510: waiting for /usr/freeware/bin/tar "/" child
sendsize[133766]: time 9551.527: after /usr/freeware/bin/tar "/" wait
sendsize[133766]: time 9551.644: done with amname '/', dirname '/', spindle 4
sendsize[100526]: time 9551.646: child 133766 terminated normally


Any clue?
jf

<Prev in Thread] Current Thread [Next in Thread>