We're having a problem with a combination of NFS and Samba that I'm hoping someone here has seen before and knows the solution for. In this case, the Samba server is an NFS client, and the Samba share is actually an NFS mount to an NFS server. The problem we see is when a Windows client tries to open a file on the Samba share, the application hangs, and eventually comes back saying something to the effect that it couldn't open the file. Doesn't matter whether the application is notepad, Word, Excel, etc. Windows client is XP SP 2 Samba server/NFS client - tried a couple of different systems, both show the same symptoms: Fedora Core release 5, Samba 3.0.24-7.FC5, nfs-utils-lib-1.0.8.4.FC5, kernel: 2.6.20-1.2320.fc5 Fedora Core release 2, Samba 3.0.7-2.FC2, nfs-utils-lib-1.0.6-22, kernel: 2.6.11-7.1smp NFS Server Red Hat Enterprise ES release 4 update 5, nfs-utils-lib-1.0.6-8, kernel: 2.6.9-4.ELsmp We've been doing this for years using a different NFS server. We've recently upgrade to new hardware and OS on this NFS server, and this has been a problem ever since. Any thoughts? Thanks, in advance. David Harfst Senior Systems Engineer - Information Systems CMS, Inc. - cmsrtp.com
David Harfst wrote:> We're having a problem with a combination of NFS and Samba that I'm hoping someone here has seen before and knows the solution for. > > In this case, the Samba server is an NFS client, and the Samba share is actually an NFS mount to an NFS server. > > The problem we see is when a Windows client tries to open a file on the Samba share, the application hangs, and eventually comes back saying something to the effect that it couldn't open the file. Doesn't matter whether the application is notepad, Word, Excel, etc. > > Windows client is XP SP 2 > > Samba server/NFS client - tried a couple of different systems, both show the same symptoms: > Fedora Core release 5, Samba 3.0.24-7.FC5, nfs-utils-lib-1.0.8.4.FC5, kernel: 2.6.20-1.2320.fc5 > Fedora Core release 2, Samba 3.0.7-2.FC2, nfs-utils-lib-1.0.6-22, kernel: 2.6.11-7.1smp > > NFS Server > Red Hat Enterprise ES release 4 update 5, nfs-utils-lib-1.0.6-8, kernel: 2.6.9-4.ELsmp > > We've been doing this for years using a different NFS server. We've recently upgrade to new hardware and OS on this NFS server, and this has been a problem ever since. > > > Any thoughts? > > Thanks, in advance. > > > > David Harfst > Senior Systems Engineer - Information Systems > CMS, Inc. - cmsrtp.com >Have you tried dropping the firewall on the Red Hat 4 NFS server to see if the problem goes away?
On Wed, Sep 26, 2007 at 09:14:21AM -0500, David Harfst wrote:> We've been doing this for years using a different NFS > server. We've recently upgrade to new hardware and OS on > this NFS server, and this has been a problem ever since. > > Any thoughts?Just DON'T re-export NFS imports with Samba. See a thread a couple of weeks ago. If you are really desperate, try "posix locking = no" and "kernel oplocks = no". Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : lists.samba.org/archive/samba/attachments/20070926/0aef794c/attachment.bin