NFS V4 locking problem
Posted: 2011/07/17 23:43:36
I upgraded two servers to CentOS 6 over the weekend (re-installed actually) and am having a problem with locking over NFS but only for NFS V4 mounts (which seems to be the default now). Both my NFS client and server are running CentOS 6.
On a filesystem mounted with NFS V4 locking fails:
-bash-4.1$ flock x date
flock: x: Input/output error
On the same filesystem mounted with NFS V3 it works:
-bash-4.1$ flock x date
Mon Jul 18 09:35:08 EST 2011
The NFS server is running both lockd and rpc.statd so what am I missing here?
On a filesystem mounted with NFS V4 locking fails:
-bash-4.1$ flock x date
flock: x: Input/output error
On the same filesystem mounted with NFS V3 it works:
-bash-4.1$ flock x date
Mon Jul 18 09:35:08 EST 2011
The NFS server is running both lockd and rpc.statd so what am I missing here?