LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools
Old 03-17-2006, 02:10 AM   #1
SvenJ
LQ Newbie
 
Registered: Mar 2006
Location: Sweden/Lund
Distribution: Red Hat
Posts: 3
Thanked: 0
Unable to copy a 6 GB file with cpio


[Log in to get rid of this advertisement]
I’m using Red Hat Enterprise Linux ES release 4 (Nahant Update 2).

When I try to copy a 6 GB file it fails:
find /data/TMP -print|cpio -padmuv /backup/bu0/
/backup/bu0//data/TMP
cpio: File /data/TMP/TMP.TMP grew, 0 new bytes not copied
/backup/bu0//data/TMP/TMP.TMP
3899392 blocks

There is a lot of space in /backup, and using cp instead of cpio works fine.

Is there a size limit on how big files cpio can handle?

Is there a better way to make a disk-to-disk backup?
SvenJ is offline     Reply With Quote
Old 03-17-2006, 02:19 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 1,773
Thanked: 0
What filesystem is the /backup folder in?
perfect_circle is offline     Reply With Quote
Old 03-17-2006, 04:04 AM   #3
SvenJ
LQ Newbie
 
Registered: Mar 2006
Location: Sweden/Lund
Distribution: Red Hat
Posts: 3
Thanked: 0

Original Poster
/dev/sdd1 on /backup type ext3 (rw)
It's on an external disk cabinet with RAID 10.
SvenJ is offline     Reply With Quote
Old 03-17-2006, 04:33 AM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Gentoo
Posts: 1,672
Thanked: 16
Quote:
cpio: File /data/TMP/TMP.TMP grew, 0 new bytes not copied
is the file still written to while you want to copy it?
jomen is offline     Reply With Quote
Old 03-17-2006, 07:28 AM   #5
SvenJ
LQ Newbie
 
Registered: Mar 2006
Location: Sweden/Lund
Distribution: Red Hat
Posts: 3
Thanked: 0

Original Poster
There are no proceses that has the file opened. So the error message is wrong.
/SvenJ
SvenJ is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
how to copy-in cpio archive to temp directory jxi Slackware 2 03-08-2006 05:32 PM
video file copy (linux unable) Ammad Linux - General 1 01-19-2006 07:49 AM
root user unable to copy file Ammad Linux - General 4 01-16-2006 02:08 PM
unable to cpio the file ashley75 Linux - General 2 06-03-2005 09:29 AM
Fresh Suse 9.1 trying to install VMWare 4.5.1 - Unable to copy the source file DeathCab for 2D Linux - Software 2 10-14-2004 07:24 PM


All times are GMT -5. The time now is 12:25 AM.

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