由Windows客户端报告的错误是这样的ERROR: 0x80070021 The process cannot access the file because another process has locked a portion of the file.
我谷歌,打桑巴巴报告8481 。 这与这个问题非常相似。 另一个链接也提到了类似的问题。
但是,我的NFS后端使用的是由OpenSolaris ZFS文件系统提供的NFSv4,而不是NFSv3。
我尝试mount -t nfs4 -o nolock fileserver:/export/home /home ,但是它说no such option "nolock" 。 nolock仅对NFSv3有效,不适用于NFSv4。
samba服务并将/home挂载到fileserver:/export/home 从我发现谷歌search,这是一个问题造成的NFS级别,解决它编辑/ /etc/samba/smb.cfg和在[global]部分添加选项:
strict locking = no