Is there a reason you don't recommend defaults,bg in your /etc/fstab? In previous RHCSA's it was always best practice to add, so that if the nfs server is down, the system won't halt on boot simply because it can't mount an nfs drive.
At the end, after you've unmounted the nfs server, is it mandatory to remove the entries in /etc/fstab ? I think i didn't before & it caused my VM to crash & go into reboot mode
when i type showmount -e and ip number, i get this response "clnt_create: RPC: Program not registered" can you help me resolve this please. i have tried restarting nfs but i still get same error code
Hi, did you check if there are any logs within /var/log/messages is there anything in there?Also might be worth a reboot as it could be holding something open?
Is there a reason you don't recommend defaults,bg in your /etc/fstab?
In previous RHCSA's it was always best practice to add, so that if the nfs server is down, the system won't halt on boot simply because it can't mount an nfs drive.
Thats a very good point and something I hadn't considered!
At the end, after you've unmounted the nfs server, is it mandatory to remove the entries in /etc/fstab ? I think i didn't before & it caused my VM to crash & go into reboot mode
when i enter the /home/nfs-share ipadd entry into the exports file I get a red colour error on the word "share", do you know why?
When I try to create a file, "mount-success" in your case, I keep getting the error: "read-only file system". How do I fix this?
What are you mounting in this case. Either you are mounting as read-only or you are mounting something that is read-only such as a CD-ROM or the like?
Do you have to run exportfs before the share can become available to the client?
That or reboot the service.
@@compsecgadgets That clears things up! Thank you!
when i type showmount -e and ip number, i get this response
"clnt_create: RPC: Program not registered" can you help me resolve this please. i have tried restarting nfs but i still get same error code
Hi, did you check if there are any logs within /var/log/messages is there anything in there?Also might be worth a reboot as it could be holding something open?
@@compsecgadgets yes I did. I will work on it again this week n Hope's all goes well
Hi there, I got this message too and after starting both rpc-statd and nfs-idmapd via the systemctl command, it worked.
What about Samba or Automounting NFS?
Automating is covered in another video. Samba isn't part of the current objectives for the rhcsa.