Samba Problem: Fedora crashes when transferring large files
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Samba Problem: Fedora crashes when transferring large files
First off, I'm fairly new to linux so bare with me.
The box is running Fedora Core 3 with Samba version 3.0.10-1. It's a 3.0 GHz box with a gig of ram. It's got 2 120gig SATA HDDs and 1 120gig IDE HDD. The MOBO is a Gigabyte GA-8INXP.
I can connect to the samba shares just fine, but I'm having a problem transferring large files. Small files will transfer just fine, but larger files (50MB or more) cause the server to crash.
When transferring a file from an XP box to the Fedora server, the transfer will stall (it doesn't always stall at the same point). The HDD light on the fedora server will become steadily lit (the hdds go crazy) and the GNOME GUI will lock up. I have to then cycle power to restart the box.
I haven't seen or heard of this problem before (I searched here and many other forums). Any ideas or advice?
Originally posted by apsivam have you tried the CLI smbclient?
Yes, I've tried smbclient. smbclient connects to the XP machine and transfers part of the file (~24MB out of 120MB). smbclient reports the entire file has transferred (when it really hasn't) and the HDD light becomes steadily lit. The GNOME GUI is frozen and I have to cycle the power. Perhaps this isn't a samba bug, but a hardware bug?
I had that problem a while back. In my case, it was caused by a conflict between my 2 network cards. I think I fixed it by just removing one. Sorry I can't be more specific, but it was a long time ago and I don't really remember exactly what the problem was. I remember it drove me nuts until I figured it out, though.
Alright, I figured out why Samba would crash and it wasn't a Samba problem - it was hardware. The SATA drives and a portion of the PATA drive made up the Logical Volume where samba was storing the transferred files. After reading around, I discovered that SATA support under linux is spotty so I pulled the SATA drives and did a clean install (I needed to reinstall anyway) with just the single PATA drive. I reconfigured Samba as before and, now, have no problems transferring large files anymore. So the problem was the SATA drives - drivers or something.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.