My problem is that whenever I try to copy a large file from a client machine to a fat32 partition (ext3 works fine) mounted under samba, the host linux machine will lock up completely. I can, however, copy small files to the fat32 partition just fine (ie. 1 KB to 1 MB size file), it's only when I copy files that are about 200 MB and larger, that the computer will lockup. NAT still functions, but telnet will no longer work and the host keyboard becomes completely unresponsive. All the host processes lock up (web server, swat, etc), and I can only press the reset button to get the machine up again. I've searched the mailing archives for a solution, but only found a person with a similar problem who received no responses. I've used the linux kernels 2.5.30 to 2.5.43, and have tried samba 2.2.5-2.2.6, and the problem exists through all of them. I can ftp large files to the fat32 partition just fine, so I really believe the issue lies in samba. I cannot switch the partition to a different filesystem, because I need the data on the drive to be accessible by Windows 2000 as well. Also, I need to use the linux 2.5.x kernel, because 2.4.x does not correctly support my network cards, and ide controller. I'd really appreciate anyone's help on this issue.
On Fri, Oct 18, 2002 at 04:14:37AM -0400, dmarcelino@cox.net wrote:> My problem is that whenever I try to copy a large file from a client machine to a fat32 partition (ext3 works fine) mounted under samba, the host linux machine will lock up completely. I can, however, copy small files to the fat32 partition just fine (ie. 1 KB to 1 MB size file), it's only when I copy files that are about 200 MB and larger, that the computer will lockup. > NAT still functions, but telnet will no longer work and the host keyboard becomes completely unresponsive. All the host processes lock up (web server, swat, etc), and I can only press the reset button to get the machine up again. >Kernel bug - definately. You might want to bring it to the attention of the FAT32 maintainer in the 2.5 kernel. Jeremy.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 18 Oct 2002 dmarcelino@cox.net wrote:> My problem is that whenever I try to copy a large file from a client > machine to a fat32 partition (ext3 works fine) mounted under samba, the > host linux machine will lock up completely. I can, however, copy small > files to the fat32 partition just fine (ie. 1 KB to 1 MB size file), > it's only when I copy files that are about 200 MB and larger, that the > computer will lockup. NAT still functions, but telnet will no longer > work and the host keyboard becomes completely unresponsive. All the > host processes lock up (web server, swat, etc), and I can only press the > reset button to get the machine up again. >...> > I've used the linux kernels 2.5.30 to 2.5.43, and have tried samba > 2.2.5-2.2.6, and the problem exists through all of them. I can ftp > large files to the fat32 partition just fine, so I really believe the > issue lies in samba. I cannot switch the partition to a different > filesystem, because I need the data on the drive to be accessible by > Windows 2000 as well. Also, I need to use the linux 2.5.x kernel, > because 2.4.x does not correctly support my network cards, and ide > controller.By definition, the 2.5.x kernel tree is a development tree. Network cards are cheap. I would recommend buying a card supported by a 2.4 Linux kernel and trying to reproduce the issue in that setup. I don't think spending time trying to track down an interop bug with 2.5 would be the most effective thing for us to do right now. cheers, jerry --------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed "I never saved anything for the swim back." Ethan Hawk in Gattaca -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE9sAt4IR7qMdg1EfYRAhcIAJ9QfNvGyooxhwT+cuyJzQXDOsEbTACg7dbQ /fFFVjk54JD/fmrJDcWLkIA=XbzA -----END PGP SIGNATURE-----
On Fri, 18 Oct 2002 dmarcelino@cox.net wrote:> My problem is that whenever I try to copy a large file from a client > machine to a fat32 partition (ext3 works fine) mounted under samba, > the host linux machine will lock up completely. I can, however, copy > small files to the fat32 partition just fine (ie. 1 KB to 1 MB size > file), it's only when I copy files that are about 200 MB and larger, > that the computer will lockup. NAT still functions, but telnet will > no longer work and the host keyboard becomes completely unresponsive. > All the host processes lock up (web server, swat, etc), and I can only > press the reset button to get the machine up again. > > I've searched the mailing archives for a solution, but only found a > person with a similar problem who received no responses.Whay are you mounting a FAT32 filesystem? If you want your clients to see the filespace as having FAT symantics then all you need to do on your shared resource (ie: in the share definition in smb.conf) is say "fstype = FAT". It is far preferable to use native Linux file system types that have a higher level of integrity than to use native FAT32. Have you tried this option? - John T. -- John H Terpstra Email: jht@samba.org