NetBSD Problem Report #24789

Received: (qmail 9400 invoked by uid 605); 15 Mar 2004 18:00:14 -0000
Message-Id: <>
Date: Mon, 15 Mar 2004 13:00:08 -0500 (EST)
Subject: tar(1) fails to back up large files.
X-Send-Pr-Version: 3.95

>Number:         24789
>Category:       bin
>Synopsis:       tar(1) fails to back up large files.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 15 18:01:00 +0000 2004
>Originator:     Mason Loring Bliss
>Release:        NetBSD 1.6.2_STABLE


System: NetBSD 1.6.2_STABLE NetBSD 1.6.2_STABLE (kern-acheron) #2: Mon Mar 8 02:58:47 EST 2004 i386
Architecture: i386
Machine: i386
tar(1) fails to back up large files.

Feeding this file to tar, via 'tar cvp 20040315-0411-0-6-SLASH.gz':

-rw-------  1 root   wheel  7266917518 Mar 15 04:45 20040315-0411-0-6-SLASH.gz

Stops rather quickly, and gives me this, via 'tar tv':

-rw------- root/wheel -1323017074 Mar 15 04:45 2004 20040315-0411-0-6-SLASH.gz

Try to use tar(1) to store a large file on tape. I have no tracked down the
exact size at which this breaks. Perhaps it's at some power of two. I have
noted failure with a 7,266,917,518 byte file, and success with a slightly
smaller 6,947,739,019 byte file, so it appears not to be a "32-bit" issue.
Unknown as yet. Given that tar(1) handles files with a filesize over 32 bits
cleanly, it's not immediately obvious what's breaking.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.