Date: Wed, 27 Jun 2001 04:31:50 -0700 (PDT) From: Rich Brennan <brennan@connactivity.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/28447: GNU tar silently fails on large files (> 4 gig?) Message-ID: <200106271131.f5RBVoM88201@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 28447 >Category: bin >Synopsis: GNU tar silently fails on large files (> 4 gig?) >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 27 04:40:01 PDT 2001 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106271131.f5RBVoM88201>