how to to Mount NFS Share on RHEL 9.0 with Stale File Handle scenarios
I'm a bit lost with I'm stuck on something that should probably be simple. I'm getting frustrated with I've searched everywhere and can't find a clear answer. I'm having trouble mounting an NFS share on my RHEL 9.0 server. When I try to run the following command: ```bash sudo mount -t nfs 192.168.1.100:/shared_folder /mnt/nfs ``` I get the behavior message: ``` mount.nfs: Stale file handle ``` Despite this, I can access the NFS share from other clients without any issues. I've verified the NFS server is running correctly, and the exports are configured as follows in the `/etc/exports` on the NFS server: ```bash /shared_folder 192.168.1.0/24(rw,sync,no_subtree_check) ``` I've also checked the firewall settings and confirmed that NFS ports (2049) are open. Additionally, I cleared the NFS stale handles using: ```bash sudo nfsstat -z ``` Yet, the scenario continues. I've also tried restarting the NFS service: ```bash sudo systemctl restart nfs-server ``` But I still encounter the same stale file handle behavior when attempting to mount. Does anyone have insights on what might be causing this scenario or how I can resolve it? Am I missing any specific configurations or steps? This is part of a larger CLI tool I'm building. How would you solve this? I appreciate any insights! I'm developing on Ubuntu 20.04 with Bash. I'd really appreciate any guidance on this. Thanks for any help you can provide!