Amanda-Users

Re: Reiserfs?

2005-01-26 21:38:16
Subject: Re: Reiserfs?
From: Nick Danger <nick AT hackermonkey DOT com>
To: amanda users <amanda-users AT amanda DOT org>
Date: Wed, 26 Jan 2005 21:28:28 -0500

You were right about  the tar versions. It was 1.14. (Default with SuSE 9.2?) I have since replaced it with 1.3.25 (from SuSE 8.2)

tesla:/etc/amanda/hackermonkey # tar --version
tar (GNU tar) 1.13.25
Copyright © 2001 Free Software Foundation, Inc.
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by John Gilmore and Jay Fenlason.


Paul Bijnens wrote:
Are there more error messsages in the debug file on the client:
/tmp/amanda/sendbackup.<datetimestamp>.debug

Just ran it again, so all this info is fresh, including whatever tweaks you've all suggested.

FAILURE AND STRANGE DUMP SUMMARY:
  tesla.hack / lev 0 FAILED [/bin/tar returned 2]
  tesla.hack / lev 0 FAILED [dump to tape failed]

There is the backup tar, then a few lines of errors for various files as below.

sendbackup: time 0.008: spawning /usr/lib/amanda/runtar in pipeline
sendbackup: argument list: gtar --create --file - --directory / --one-file-system --listed-incremental /var/lib/amanda/gnu
tar-lists/tesla.hackermonkey.com__0.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendbackup._.200
50126203414.exclude .
sendbackup-gnutar: time 0.009: /usr/lib/amanda/runtar: pid 30737
sendbackup: time 1.358: 124: strange(?): gtar: ./media/floppy: Cannot savedir: No medium found
sendbackup: time 14.494: 124: strange(?): gtar: ./media/floppy: Warning: Cannot savedir: No medium found
sendbackup: time 28.362:  60:  normal(|): gtar: ./dev/log: socket ignored
sendbackup: time 157.164:  60:  normal(|): gtar: ./tmp/ksocket-root/klauncher7dmaQb.slave-socket: socket ignored
....more socket ignored lines...
sendbackup: time 521.621:  60:  normal(|): gtar: ./var/spool/postfix/public/flush: socket ignored
sendbackup: time 521.622:  60:  normal(|): gtar: ./var/spool/postfix/public/showq: socket ignored
sendbackup: time 522.637:  53:    size(|): Total bytes written: 3229050880 (3.0GB, 5.9MB/s)
sendbackup: time 522.637: 124: strange(?): gtar: Error exit delayed from previous errors
sendbackup: time 522.703: index created successfully
sendbackup: time 522.775: error [/bin/tar returned 2]
sendbackup: time 522.775: pid 30732 finish time Wed Jan 26 20:42:56 2005


Oddly,  the sendbackup...exclude tells it to exclude the /var/spool/postfix so Im not sure they are even in the error list. The man page for tar says it should be '--exclude-from=file', so maybe there needs to be an '=' in the argument list above?

amanda@tesla:/tmp/amanda>  more sendbackup._.20050126203414.exclude
/media
/tmp
/var/spool/postfix

Or try running tar by hand (you'll find the exact command in
one of those debug files too), and piping the output through cat:
  gtar --<most-options-as-invoked-by-amanda> . | cat > /dev/null
Done, listing is below...

amanda@tesla:/tmp/amanda> tar  --create --file - --directory / --one-file-system --listed-incremental /var/lib/amanda/gnutar-lists/tesla.hackermonkey.com__0.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendbackup._.20050126203414.exclude . | cat > /dev/null
tar: ./etc/apache2/ssl.key: Cannot savedir: Permission denied
Ok, didnt work as user amanda, trying as root

tesla:/etc/amanda/hackermonkey # tar  --create --file - --directory / --one-file-system --listed-incremental /var/lib/amanda/gnutar-lists/tesla.hackermonkey.com__0.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendbackup._.20050126203414.exclude . | cat > /dev/null
tar: ./media/floppy: Cannot savedir: No medium found
tar: ./media/floppy: Warning: Cannot savedir: No medium found
Total bytes written: 16496640 (16MB, 177kB/s)
tar: Error exit delayed from previous errors

So whats that mean? :-)

What do you mean by "dump" error?  from the dump program or from
tar?  The above  message strongly indicates you're using /bin/tar

That was a mistake on my part, sorry. I misread some of the comments as dump errors when they were not. The files still contain lines like ' time 0.004: doing level 0 dump as listed-incremental ' and so I panic'd for no good reason :-)


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