Trond Endrestøl
2007-Feb-03 07:08 UTC
AMANDA 2.5.1p2 and GNU tar 1.16.1, the latter returning 1
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, This discussion may not belong here on -stable, but I take my chances anyway. Does anybody besides me have problems with AMANDA 2.5.1p2 and GNU tar 1.16.1? The problem is that gtar exits with an exit status of 1 after creating the archive. This leeds to AMANDA dumping the affected filesystems at least twice. On my FreeBSD systems running with GNU tar 1.15.1 or older (say, 1.13.25), this problem does not occur at all. Here's an exerpt from an AMANDA mail report: /-- monitor.fig.ol.no / lev 0 FAILED [/usr/local/bin/gtar returned 1] sendbackup: start [monitor.fig.ol.no:/ level 0] sendbackup: info BACKUP=/usr/local/bin/gtar sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f - ... sendbackup: info end ? GNUTAR: ./proc: file changed as we read it | Total bytes written: 173752320 (166MiB, 3.0MiB/s) sendbackup: error [/usr/local/bin/gtar returned 1] \-------- monitor.fig.ol.no runs GNU tar 1.16.1. Trond. - -- - ---------------------------------------------------------------------- Trond Endrest?l | trond@fagskolen.gjovik.no Patron of The Art of Computer Programming| FreeBSD 6.2-S & Pine 4.64 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFxDT7bYWZalUoElsRAhzdAJ4jDB295VwOqkoOPJsn1LoQmol6UACeMreU v0k9yBmMI0GCM7xQTX9l4oE=tdQr -----END PGP SIGNATURE-----
Wolfgang Zenker
2007-Feb-03 08:33 UTC
AMANDA 2.5.1p2 and GNU tar 1.16.1, the latter returning 1
Hi,> Does anybody besides me have problems with AMANDA 2.5.1p2 and GNU tar > 1.16.1? The problem is that gtar exits with an exit status of 1 after > creating the archive. This leeds to AMANDA dumping the affected > filesystems at least twice. > [..] > Here's an exerpt from an AMANDA mail report:> /-- monitor.fig.ol.no / lev 0 FAILED [/usr/local/bin/gtar returned 1] > sendbackup: start [monitor.fig.ol.no:/ level 0] > sendbackup: info BACKUP=/usr/local/bin/gtar > sendbackup: info RECOVER_CMD=/usr/local/bin/gtar -f - ... > sendbackup: info end > ? GNUTAR: ./proc: file changed as we read it > | Total bytes written: 173752320 (166MiB, 3.0MiB/s) > sendbackup: error [/usr/local/bin/gtar returned 1] > \--------the exit status of 1 is due to "./proc: file changed as we read it". As you probably don't want to backup /proc anyway, exclude it from your backup config. Wolfgang