LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 03-17-2004, 06:36 PM   #1
mickey_kamer
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
Angry IO Error when transferring files.


When trying to copy large files from one directory to a Samba share that is mounted I get an IO error and it is not consistant with any one size.

Sometimes I get the error at more then 200 MB and sometimes 1.1 GB of the file will transfer but in all attempts from the command line the transfer will error.

Using the command line FTP and using "PUT" I still get errors. If I use gFTP from KDE it works fine.

If I am useing the KDE desktop and I Drag and Drop the file from one folder to another it works fine as well.

It only fails when trying to use "cp" or "ftp" from the command line.

I am running Red Hat 9 on the machine I want to transfer files from and Red Hat 8 on the machine I want to store the files on.

Since the files start and some of them get copied there shouldn't be an issue with permissions.

I use the same script to transfer 53 log files every hour. They transfer fine and are not larger than 12MB each. So I doubt that I have a problem with the script.

I am thinking the errors are a result of such a large file, they are 1.2 GB. Still the storage location has over 200 GB available to this process.
 
Old 03-17-2004, 10:31 PM   #2
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
you will want to look into maxfilesizes
 
Old 03-18-2004, 07:35 AM   #3
mickey_kamer
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Do I worry about this on both machines?

Is it more of an issue on the sending side or on the receiving side?

Thanks for the reply.
 
Old 03-18-2004, 08:00 AM   #4
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
well, if you are sending the file and its at its original size, that wouldnt be an issue.
obviously the recieving side would be the problem, unless you are meaning that your network is going down, skipping out between transfers. hmm. maybe however you got the file on the computer that it resides on , just put it on the other computer like that/configuration


What kernel version are you running on both machines type 'uname -r' at the shell .

Last edited by AutOPSY; 03-18-2004 at 08:09 AM.
 
Old 03-19-2004, 09:29 AM   #5
mickey_kamer
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I have decided to use FTP since it is much faster. We now use lftp and start the transfer from Cron using a script that was created using autoexpect.

This solution seems to fit our needs better than a plan copy as we can transfer 10 GB in about 20 Mins. This allows us to maintain large backups of whatever we want.

CRON emails us errors while the ftp log shows us the detail we need for bandwidth usage. It is just an added benefit.

Thank you for you time.

Mickey
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
transferring files to other disk.. bschiett Linux - Newbie 3 03-24-2005 07:04 PM
Transferring 40000+ files with FTP (mget) shows 0 files tim1235 Linux - Software 5 10-17-2004 06:06 PM
chroot Problem with transferring files + groups/id error niall0s Linux - General 7 08-11-2004 12:21 AM
transferring files across a lan broxys Linux - Networking 2 06-23-2003 08:26 PM
Transferring Files From VMware? Crickit Linux - Software 5 04-17-2003 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:10 AM.

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
Open Source Consulting | Domain Registration