7

When a samba server shares NFS4 mount directory, window clients cannot copy file. ERROR: 0x80070021

view full story
linux-howto

http://serverfault.com – 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 the samba bug report 8481 . Which is very similar to this problem. Another link also says the 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, it said no such option "nolock". nolock is only valid for NFSv3, not NFSv4. fileserver: an OpenSolaris file server. Linux server: Debian Lenny. (HowTos)