At work, I often use NFS service and also encounter some problems. Luckily, I also fix them and record here.
1. wrong minorversion
NFS: bad mount option value specified: minorversion=1
fixed: specify correct minorversion, not use default value
mount -t nfs -o nolock ${SERVER_IP}:/rootfs/wb /mnt/nfs
change to:
mount -t nfs -o nfsvers=3,nolock ${SERVER_IP}:/rootfs/wb /mnt/nfs
2. prints "NFSD: client x.x.x.x testing state ID with incorrect client ID" on NFS server side
[ 4824.740317] NFSD: client 192.168.100.24 testing state ID with incorrect client ID
[ 4824.898897] NFSD: client 192.168.100.24 testing state ID with incorrect client ID
[ 4824.899860] NFSD: client 192.168.100.24 testing state ID with incorrect client ID
[ 4829.158029] nfsd4_validate_stateid: 22 callbacks suppressed
[ 4829.158030] NFSD: