How To Export Nfs Share In Linux?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1. On the NFS server, create the directory where you will store the exported files.
2. Use the “exportfs” command to export the directory.
exportfs -o rw,sync,no_root_squash <directory>
3. On the NFS client, mount the exported directory.
mount -t nfs <server-ip-address>:<directory> <mount-point>
4. Now the NFS share is exported and can be accessed by the NFS client.