Bug 105617
Summary: | cpio does not support large files > 2GB | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Chris Kloiber <ckloiber> | ||||
Component: | cpio | Assignee: | Peter Vrabec <pvrabec> | ||||
Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | CC: | d.j.stevenson, dlehman, kandyvel, laroche, pamadio, tao | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2005-02-18 15:28:34 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 132991 | ||||||
Attachments: |
|
Description
Chris Kloiber
2003-09-25 23:38:56 UTC
*** This bug has been marked as a duplicate of 64698 *** What does cpio not handling large files have to do with 64698? That's a forced fsck on an ext3 filesystem? $ find ~/plop | ./cpio -o -v -C 100000 -F foo /home/bnocera/plop 1 block $ ls -l foo 107k -rw-rw-rw- 1 bnocera bnocera 100k Jun 1 17:42 foo $ ls -l /home/bnocera/plop 2.2G -rw-r--r-- 1 bnocera bnocera 2.2G Jun 1 16:47 /home/bnocera/plop This is with the latest CVS HEAD cpio, compiled with "-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE" as CFLAGS. It looks like even cpio itself doesn't support compress files > 2GB. Created attachment 105244 [details]
patch allow copy-out with large (> 2GB) input files
This fixes the behavior outlined in the last comment.
Adding "-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE" to CFLAGS (which can be done from the specfile), combined with the above patch, seems to provide reasonable support for large files. So is this making it into EL4? Tweeks Please try the Red Hat Enterprise Linux Beta 4 and let us know. I don't currently have it installed anywhere. But I might next week again. It's in cvs for devel. *** Bug 64968 has been marked as a duplicate of this bug. *** i have just built update(RHEL3-U5) with large files support. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2005-080.html |