Large Files become Corrupt when copied to cd or usbpen drive
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Large Files become Corrupt when copied to cd or usbpen drive
I am not really sure where to start but I suspect that I have a hardware problem with one of my boxes.
My laptop can transfer files to a usb drive which then can be loaded and installed on other systems. My second, older, "test" box can also transfer files to both the usbpen drive and can burn the files to a cd which then install correctly. If I download a file to my third, newest system the files (slackware *.tgz packages) install fine on the new box but when I try to transport those files to my laptop or the "test" box they do not install and give the error message that the files are corrupt. This is particulary evident with files larger than 4-5mb. Small files ~0.5mb seem less likely to become corrupted with transfer or burning.
I have a Gigabyte GA7-VTXH mobo, Athlon 1600XP, 256mb PC2100 ECC CAS 2 ram x 2 and a WD 7200 8mb cache 80gb HD.
I have set the CAS latency up in the BIOS from 2 -> 2.5 and have run memtest which shows no errors. I also have to repair my file system frequently (all files *ext3) with e2fsck.
I also changed out the cpu which did not fix the problem.
Yes, the new box has new WD hard drive. I had an IBM hard drive but It quit working altogether so I threw it out. I do not have a hard drive around to put a minimal slack install on but I have seen no messages regarding bad sectors etc.
I have a mini network (just the new box on a cisco dsl modem acting as a firewall.).
Oddly enough when I download an application to the hard drive of the new box it is intact and usable. It is only when I try to transfer the file from the harddrive to the usbpen drive or burn the file to a cd.
As I said the hard drive is relatively new but is there a way I can test the hard drive in linux? Last I looked Western Digital only had windoz based hard drive testing programs.
I just googled and found that Hitachi/IBM has a linux hard -drive interegator. It will work on other brands of drive but will do some additional things with Hitachi/IBM drives. My Western Digital did not have any errors..
In the future when I choose another HD IBM will get some points. I could not find any linux support on the WD support page.
Also read the man page for hdparm -v here is my output
Since both the CD burner and USB pen drive use SCSI emulation could this be a problem? One thing that suggests it may not be a SCSI problem is that I cannot copy (cp) large files to my /burnbuffer for XCDroast but can move (mv) them without a problem.
I think I may have fixed it. I selected optimized defaults in the bios and it disable s.m.a.r.t for hard drives. After doing that I was able to copy openoffice to the pen drive and cleanly extract it on a second computer. If anyone knows anything about s.m.a.r.t for hard drives I would not mind learning.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.