From nobody@FreeBSD.org  Wed Jun 27 04:31:50 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 9B7BB37B406
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2001 04:31:50 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.3/8.11.3) id f5RBVoM88201;
	Wed, 27 Jun 2001 04:31:50 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200106271131.f5RBVoM88201@freefall.freebsd.org>
Date: Wed, 27 Jun 2001 04:31:50 -0700 (PDT)
From: Rich Brennan <brennan@connactivity.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: GNU tar silently fails on large files (> 4 gig?)
X-Send-Pr-Version: www-1.0

>Number:         28447
>Category:       bin
>Synopsis:       GNU tar silently fails on large files (> 4 gig?)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 04:40:01 PDT 2001
>Closed-Date:    Sat Nov 10 12:19:40 PST 2001
>Last-Modified:  Sat Nov 10 12:22:02 PST 2001
>Originator:     Rich Brennan
>Release:        4.2-Release
>Organization:
Connactivity
>Environment:
[backup:root]22% uname -a
FreeBSD backup.connactivity.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000     jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386

>Description:
I was using /usr/bin/tar to write a directory full of files written
by dump onto tape, and dd reported much less data written than was
proper.

The BIG problem is that no error is flagged -- I thought I was making
a backup tape I could take offsite for safety, but nearly all of my
data was missing from the tape!

pax seems to handle the file.
>How-To-Repeat:
[backup:root]19% ls -l
total 9117867
drwxr-xr-x  2 admin  staff         512 Jun 25 06:26 1
drwxr-xr-x  2 admin  staff         512 Jun 26 06:34 2
drwxr-xr-x  2 admin  staff         512 Jun 27 07:13 3
-rw-r--r--  1 admin  staff  4431093760 Jun 24 04:11 home.dump
-rw-r--r--  1 admin  staff    66836480 Jun 24 05:52 root.dump
-rw-r--r--  1 admin  staff  1869967360 Jun 24 05:37 usr.dump
-rw-r--r--  1 admin  staff  2245253120 Jun 24 05:02 var.dump
-rw-r--r--  1 admin  staff   718919680 Jun 24 05:51 var.mail.dump
[backup:root]20% tar --version
GNU tar version 1.11.2
[backup:root]21% tar -cvf - home.dump | dd of=/dev/null bs=512k
home.dump
0+13294 records in
0+13294 records out
136130560 bytes transferred in 0.938017 secs (145125897 bytes/sec)
[backup:root]22% uname -a
FreeBSD backup.connactivity.com 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Mon Nov 20 13:02:55 GMT 2000     jkh@bento.FreeBSD.org:/usr/src/sys/compile/GENERIC  i386

>Fix:
Just discovered.
>Release-Note:
>Audit-Trail:

From: Mark Stosberg <mark@summersault.com>
To: freebsd-gnats-submit@FreeBSD.org, brennan@connactivity.com
Cc:  
Subject: Re: bin/28447: GNU tar silently fails on large files (> 4 gig?)
Date: Wed, 26 Sep 2001 15:24:12 -0500

 This appears to be a duplicate of bug #28820
 
   -mark
State-Changed-From-To: open->closed 
State-Changed-By: bmah 
State-Changed-When: Sat Nov 10 12:19:40 PST 2001 
State-Changed-Why:  
PR 28820 covers the same issue.  It looks like at least a little 
progress was made on analyzing that PR, so we'll close this PR as a 
duplicate. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28447 
>Unformatted:
