Quote:
'Unable to end grace period' which always have been there since before I can remember.
|
The log spew is caused by a missing directory. I long ago modified /etc/rc.d/rc.nfsd at the end of the nfsd_start function with the following:
Code:
# Without this directory the logs will complain with
# 'NFSD: Unable to end grace period'.
NFSV4RECOVERYDIR=$(cat /proc/fs/nfsd/nfsv4recoverydir)
if [ -r /proc/fs/nfsd/nfsv4recoverydir ] && [ ! -d "$NFSV4RECOVERYDIR" ]; then
mkdir "$NFSV4RECOVERYDIR"
chown -R rpc:rpc "$NFSV4RECOVERYDIR"
fi
Been working nice for me for several years.