The error reported by windows client is like this
ERROR: 0x80070021 The process cannot access the file because another process has locked a portion of the file.
I google it and hit samba bug report 8481 . Which is very similar to this problem. Another link also mentions a similar issue.
But, instead of NFSv3, my NFS backend is using NFSv4, provided by OpenSolaris ZFS file system.
I try to
mount -t nfs4 -o nolock fileserver:/export/home /home, but it says
no such option "nolock".
nolock is only valid for NFSv3, not NFSv4.
sambaservice and mount
From what I found googling, this is a problem caused on NFS level, to fix it edit
/etc/samba/smb.cfg and in the
[global] section add the option:
strict locking = no
User contributions licensed under CC BY-SA 3.0