NFS Troubleshooting Kodekloud

Question:















Here, i used /appdata. You may get /webdata, or /opt. You should use what you will get.

Solution:

Login to storage server


Enable nfs-server and rpcbind. Then check




Start nfs server and rpcbind and check status



Now edit exports file


Press i button and write

/appdata 172.16.238.10(rw,sync,no_root_squash)
/appdata 172.16.238.11(rw,sync,no_root_squash)
/appdata 172.16.238.12(rw,sync,no_root_squash)

Press ESC button and then type :wq!

Now type this command


Then run show mount command to check the listed servers



Open 3 new terminals for 3 appservers and do the followings in every app server

Repeat enable, check config and start, status commands for nfs-server and rpcbind like you did in storage server

Next, mount and check nfs


Do this in all app servers and make sure that you have found nfs on mount with rw, realtime finally.

Download Coding Interview Book and Get More Tutorials for Coding and Interview Solution: Click Here

Download System Design Interview Book and Get More Tutorials and Interview Solution: Click Here

Do you need more Guidance or Help? Then Book 1:1 Quick Call with Me: Click Here

Share on Google Plus

About Ashadullah Shawon

I am Ashadullah Shawon. I am a Software Engineer. I studied Computer Science and Engineering (CSE) at RUET. I Like To Share Knowledge. Learn More: Click Here
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment