From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 SUSE/1.0.4-1.1 Description of problem: cpio lacks support for files larger than 2 GB: [root@em2:test]$dd if=/dev/zero of=large_file bs=1024 count=2100000 [root@em2:test]$ls -lah total 2.1G drwxr-xr-x 2 root root 4.0K Jun 14 13:58 . drwxrwxrwt 7 root root 4.0K Jun 14 13:55 .. -rw-r--r-- 1 root root 2.1G Jun 14 13:33 large_file [root@em2:test]$ls | cpio -ov > test.cpio cpio: large_file: Value too large for defined data type cpio: test.cpio: truncating inode number test.cpio 1 block [root@em2:test]$ls -lah total 2.1G drwxr-xr-x 2 root root 4.0K Jun 14 13:58 . drwxrwxrwt 7 root root 4.0K Jun 14 13:55 .. -rw-r--r-- 1 root root 2.1G Jun 14 13:33 large_file -rw-r--r-- 1 root root 512 Jun 14 13:58 test.cpio Version-Release number of selected component (if applicable): cpio-2.5-7.EL4.1 How reproducible: Always Steps to Reproduce: 1. create a large file (dd if=/dev/zero of=large_file bs=1024 count=2100000) 2. do ls | cpio -ov > test.cpio Actual Results: cpio shows an error message and the resulting file is way too small Expected Results: No error and a complete cpio-file Additional info:
I think you're testing with cpio-2.5-7, this was fixed in cpio-2.5-7.EL4.1 and I can run those commands just fine without problems.
Well, "rpm -q -f /bin/cpio" says, it belongs to cpio-2.5-7.EL4.1, which should be the fixed one. But the problem remains, just checked it again.
It's fixed in cpio-2.5-7.EL4.2. *** This bug has been marked as a duplicate of 154507 ***