我有一个Solaris 11盒子,可以作为一个小型虚拟化环境(通过iSCSI和NFS)以及全球团队的中央文件存储(通过SMB)充当NAS / SAN。 对于大多数人来说,它的工作很好,但是我每隔一段时间都会收到美国(我在英国)几个家伙的报告,说他们无法达到networking份额。
Windows报告的特定消息是: \\10.1.1.1\share is not accessible [...] The semaphore timeout period has expired.
在Solaris中,我启用了一些debugging日志logging,并注意到发生这种情况时,我在/var/adm/messages看到类似于以下内容的项:
Sep 7 00:02:48 lonsbrndnas01 smbd[24587]: [ID 208731 daemon.debug] WORKGROUP <1D> flags=0x0 Sep 7 00:02:48 lonsbrndnas01 smbd[24587]: [ID 370951 daemon.debug] 10.13.111.34 ttl=300 flags=0x0 port=35328 Sep 7 00:04:39 lonsbrndnas01 smbsrv: [ID 421734 kern.notice] NOTICE: [LONSBRNDNAS01\guest]: filestream.hdr share not found Sep 7 00:04:39 lonsbrndnas01 smbsrv: [ID 421734 kern.notice] NOTICE: [LONSBRNDNAS01\guest]: filestream.hdr share not found
和
Sep 6 20:53:12 lonsbrndnas01 smbsrv: [ID 421734 kern.notice] NOTICE: [NT Authority\Anonymous]: share access denied: IPC only Sep 6 20:53:12 lonsbrndnas01 smbsrv: [ID 421734 kern.notice] NOTICE: [NT Authority\Anonymous]: share access denied: IPC only Sep 6 20:53:46 lonsbrndnas01 last message repeated 2 times
通过重新启动Solaris服务器上的smb服务器守护进程来解决此问题。 WinXP客户端可以访问它。
我有两个问题: