Closed ShahzadUmair closed 5 years ago
I figured it out. It's the grace period causing the initial delay.
Thanks for posting your resolution. I've never heard of the NFSv4 grace period. I'm going to see if there's a way that I can detect if the server is in the grace period and post a warning in the logs, just so others don't have to go through what you went through.
The first command run on the mounted directory on client seems to take around a minute and a half to execute (touch hello.txt). All the commands run after the 1st command seems to execute normal. Do you happen to know what is causing this?
Docker run command:
exports.txt
Mount command
Interestingly enough, the 1st command runs normal when mounted as nfs3 (if i run server as nfs3 too).