Amanda-Users

warnings from NetBSD gzip about > 4GB saved files

2005-11-02 11:34:34
Subject: warnings from NetBSD gzip about > 4GB saved files
From: Greg Troxel <gdt AT ir.bbn DOT com>
To: amanda-users AT amanda DOT org
Date: 02 Nov 2005 11:29:22 -0500
NetBSD's gzip currently warns about output files > 4 GB, because the
gzip format can't store such lengths.  Also, it sets the exit status
to 1 and prints EOPNOTSUPP, which is just plain wrong.  I'm discussing
how to fix this with other NetBSD people.  I think the real issue is
whether gzip should warn about this condition.

I'd like to know if others have seen this error, how GNU gzip behaves,
and if anyone has wisdom about what the right behavior is from the
amanda viewpoint.

FAILED AND STRANGE DUMP DETAILS:

/-- [redacted].ir.b wd0e lev 0 STRANGE
sendbackup: start [[redacted].ir.bbn.com:wd0e level 0]
sendbackup: info BACKUP=/sbin/dump
sendbackup: info RECOVER_CMD=/usr/bin/gzip -dc |/sbin/restore -f... -
sendbackup: info COMPRESS_SUFFIX=.gz
sendbackup: info end
|   DUMP: Found /dev/rwd0e on /usr in /etc/fstab
|   DUMP: Date of this level 0 dump: Wed Nov  2 00:47:19 2005
|   DUMP: Date of last level 0 dump: the epoch
|   DUMP: Dumping /dev/rwd0e (/usr) to standard output
|   DUMP: Label: none
|   DUMP: mapping (Pass I) [regular files]
|   DUMP: mapping (Pass II) [directories]
|   DUMP: estimated 22480798 tape blocks.
|   DUMP: Volume 1 started at: Wed Nov  2 00:47:22 2005
|   DUMP: dumping (Pass III) [directories]
|   DUMP: dumping (Pass IV) [regular files]
|   DUMP: 4.33% done, finished in 1:50
|   DUMP: 8.60% done, finished in 1:46
|   DUMP: 12.90% done, finished in 1:41
|   DUMP: 16.85% done, finished in 1:38
|   DUMP: 21.78% done, finished in 1:29
|   DUMP: 24.95% done, finished in 1:30
|   DUMP: 30.30% done, finished in 1:20
|   DUMP: 34.04% done, finished in 1:17
|   DUMP: 42.42% done, finished in 1:01
|   DUMP: 54.08% done, finished in 0:42
|   DUMP: 65.94% done, finished in 0:28
|   DUMP: 77.79% done, finished in 0:17
|   DUMP: 89.03% done, finished in 0:08
|   DUMP: 99.92% done, finished in 0:00
|   DUMP: 22484268 tape blocks
|   DUMP: Volume 1 completed at: Wed Nov  2 01:57:29 2005
|   DUMP: Volume 1 took 1:10:07
|   DUMP: Volume 1 transfer rate: 5344 KB/s
|   DUMP: Date of this level 0 dump: Wed Nov  2 00:47:19 2005
|   DUMP: Date this dump completed:  Wed Nov  2 01:57:29 2005
|   DUMP: Average transfer rate: 5344 KB/s
|   DUMP: level 0 dump on Wed Nov  2 00:47:19 2005
|   DUMP: DUMP IS DONE
? gzip: input file size >= 4GB cannot be saved: Operation not supported
??error [compress returned 1]? dumper: strange [missing size line from 
sendbackup]
? dumper: strange [missing end line from sendbackup]
\--------



-- 
        Greg Troxel <gdt AT ir.bbn DOT com>

<Prev in Thread] Current Thread [Next in Thread>
  • warnings from NetBSD gzip about > 4GB saved files, Greg Troxel <=