I’ve been encountering some very odd behavior with Samba 3.2.7-11.4.1 running on Kernel 2.6.32-38-pae.
Background:
Server A hosts a samba share for other servers in our environment. To enforce uniform access to the files hosted on the share, all servers ( including Server A ) need to access the files via the share. Technically, since the files are hosted on Server A, the files could be accessed directly but as mentioned above, to ensure uniform access, Server A needs to access these files via the share just like all the other servers.
Problem:
All other servers in our environment are able to access the share without issue. Server A is able to mount the share locally and via basic “cat” & “touch” tests I can confirm that files are being read/modified with the appropriate permissions.
The files hosted on the share are used by an application that runs on all of the servers. Every server, other than Server A is able to run the application and access the files without issue. However, when running the application on Server A, it hangs while attempting to access the files on the locally mounted share.
I’ve increased Samba’s logging level to 2 but no obvious problems seem to be reported. The client application starts accessing files on the share to a certain point and seems to “stop”.
Summary:
Has anyone else experienced a problem accessing files via a locally mounted share when the share is hosted on the same server as the mount point?
I tried to keep the above explanation as general as possible since the issue doesn’t seem to be related to the application ( VMware ) that uses the files hosted via Samba.
If any additional info is needed, just let me know.
Thanks in advance for any input.