Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-18-2004, 02:50 PM   #1
LQ Newbie
Registered: May 2004
Location: Florida
Posts: 1

Rep: Reputation: 0
Using cpio on a 26GB archive produces "File too large"

I'm using cpio to backup an Oracle applications base directory. The final archive file is 26GB. When I try to restore the file on another server I get cpio: File too large. Interesting enough, if I execute cpio on the destination box, referring to the original file on the remote box, it works: cpio -ivdmF user@host:/dir/file

Here's what I'm doing:
find . -print | cpio -oH crc > orahome$BKDATE.cpio

Then I secure copy archive to remote host

The following doesn't work:
cpio -ivdmF filename
cpio -idvmI filename
cpio: ../orahome2004-05-17.cpio: File too large

cpio -idvm < filename
cpio: standard input is closed: Value too large for defined data type

The following works:
cpio -idvmI user@host:/dir/filename
cpio -idvmF user@host:/dir/filename

Any thoughts? What am I doing wrong? Thanks in advance
Old 06-28-2004, 05:33 PM   #2
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
offen times in linux, it will say a file is too large, this may not be the case, the case is really that their are too many files in that directory, try moving the file to another directory, if this still doesnt work, its possible there are too many files on the partition, then i forget how to fix it :-D
Old 06-28-2004, 05:55 PM   #3
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
If you are using ext2/3 and you created the filesystem with 1k blocks then the file may be too large. You want 4k block size to get large files, and check the -T option as well when creating the filesystem... man mke2fs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ifconfig usb0 produces "Broken pipe" JohnKFT Slackware 0 11-13-2004 04:56 PM
Knetmapper produces "relocation" error when I try to run it Mel_P Mandriva 2 04-14-2004 05:12 PM
Knetmapper produces "relocation" error when I try to run it Mel_P Linux - Software 0 04-14-2004 03:48 AM
"Attempting create too large a file system" suguru Linux - Hardware 2 02-23-2004 01:16 AM
ls in /tmp produces "permission denied" even as root kpfeiffer Linux - Newbie 5 10-06-2002 12:40 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration