LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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
 
LinkBack Search this Thread
Old 03-17-2006, 02:10 AM   #1
SvenJ
LQ Newbie
 
Registered: Mar 2006
Location: Sweden/Lund
Distribution: Red Hat
Posts: 3

Rep: Reputation: 0
Unable to copy a 6 GB file with cpio


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?
 
Old 03-17-2006, 02:19 AM   #2
perfect_circle
Senior Member
 
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware
Posts: 1,782

Rep: Reputation: 52
What filesystem is the /backup folder in?
 
Old 03-17-2006, 04:04 AM   #3
SvenJ
LQ Newbie
 
Registered: Mar 2006
Location: Sweden/Lund
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: 0
/dev/sdd1 on /backup type ext3 (rw)
It's on an external disk cabinet with RAID 10.
 
Old 03-17-2006, 04:33 AM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,684

Rep: Reputation: 54
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?
 
Old 03-17-2006, 07:28 AM   #5
SvenJ
LQ Newbie
 
Registered: Mar 2006
Location: Sweden/Lund
Distribution: Red Hat
Posts: 3

Original Poster
Rep: Reputation: 0
There are no proceses that has the file opened. So the error message is wrong.
/SvenJ
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 03:24 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration