LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-27-2006, 12:24 PM   #1
mhodson
LQ Newbie
 
Registered: Mar 2006
Location: Cowifornia
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
mknod and compress corrupting large files


To conserve space when backing up projects on our third-party Oracle-based data interpretation system I create a named pipe, hook it up to compress, and feed the backup to the pipe:
mknod <project_name>.pipe p
cat <project_name>.pipe | compress > <project_name>.dmp.Z&
owbackup <project_name> <project_name>.pipe

This works for our smaller projects and works for huge schemas on our HP-UX systems, but we have problems with a project that creates a 65 Gb backup file. Using the above, we get a 45 Gb file that uncompresses to a 46 Gb file and which the import utility reports an Oracle error indicating the file is probably from an aborted export. I can ftp the 65 Gb file to another server with lotsa space and compress and uncompress it with no ill effects on its usability.

Are there any limits on Red Hat Linux mknod pipes or compress that might be causing this?

Thanks!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary files keep corrupting stryka Slackware 9 11-19-2005 10:54 AM
CD-Burning corrupting files? logosys Linux - Newbie 2 08-08-2005 12:53 AM
FTP corrupting files on web... Raggit Linux - Software 3 02-23-2005 12:04 PM
proftpd corrupting files linux_terror Linux - Software 1 10-19-2004 07:21 PM
Compress large files deweirdt Linux - Software 1 02-11-2004 08:18 AM


All times are GMT -5. The time now is 11:06 PM.

Main Menu
Advertisement
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 Google+: linuxquestions
Open Source Consulting | Domain Registration