Bug 64968 - cpio doesn't work with large files
Summary: cpio doesn't work with large files
Keywords:
Status: CLOSED DUPLICATE of bug 105617
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: cpio
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-05-15 08:45 UTC by David Stevenson
Modified: 2007-11-30 22:06 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:48:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Stevenson 2002-05-15 08:45:51 UTC
Description of Problem: ls <3GB-file> | cpio -oaBcv > <tape> fails with


Version-Release number of selected component (if applicable): cpio-2.4.2-23


How Reproducible: every time


Steps to Reproduce:
1. ls <3GB-file> | cpio -oaBcv > <tape>
2. 
3. 

Actual Results:
cpio: oes01.dbf: Value too large for defined data type

Expected Results:
Successful copy to tape


Additional Information:
workaround:  use tar or dump

Comment 1 Bernhard Rosenkraenzer 2002-05-21 14:44:09 UTC
cpio has been built with large file support in 7.3.

Comment 2 Bastien Nocera 2003-02-13 10:12:58 UTC
Bug is reproduceable with Red Hat Linux 7.3 with cpio-2.4.2.-26 and under Phoebe
2, with cpio-2.5.-1.

Comment 4 Neal Hamlin 2003-05-14 10:09:07 UTC
Please can you tell me when this problem will be resolved as we have around 25 
unix platforms using cpio and have restore scripts built around this program.

Comment 5 Bastien Nocera 2003-05-15 09:54:24 UTC
This bug has already been fixed on Red Hat Linux 8.0 and 9, you can recompile
the source RPMs from these versions onto the release you are using.

Comment 6 Stuat J. Browne 2003-07-11 00:26:20 UTC
I grabbed both the 2.4.2-28 and 2.5-3 source RPM for cpio and re-compiled it on 
a RH7.3 box using:

rpmbuild --rebuild cpio-<ver>.src.rpm
rpm -Uvh /usr/src/redhat/RPMS/i386/cpio-<ver>.i386.rpm

and both versions returned the same error:

/bin/cpio: ./bigfile: Value too large for defined data type

Next thing to look at?
File was just over 3GB in size, using:

find . -mount -print0 | /bin/cpio -0 -H newc -o -C 10240 -O /dev/nst0


Comment 7 paulm 2004-04-02 18:16:13 UTC
I got same error on fedora core 1 (with a 4G file)
This is an old bug- any hope for some attention?

Comment 8 Peter Vrabec 2004-11-01 14:16:23 UTC

*** This bug has been marked as a duplicate of 105617 ***

Comment 9 Red Hat Bugzilla 2006-02-21 18:48:54 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.