From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Mount a simple NFS share

Mount a simple NFS share

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

Mount a simple NFS share

- Now we have an export ready for the client side. Let's log in to our rhhost2 VM and open a terminal. First, let's make a mount point. Type in sudo space mkdir space slash home slash usermount and hit enter. Type in your password if prompted. Now, let's mount it. Type in sudo space mount space dash t space nfs space rhhost1 colon slash home slash usershare space slash home slash usermount and hit enter. Now, type in mount again to verify that it's mounted. The very last line of this output shows the export is mounted. In later chapters, we'll spend more time looking into the client side mount options. If your export doesn't mount, there are a couple things to troubleshoot. The main one is that your host name resolution on both virtual machines is correct. Since we're using host names, they need to resolve to the correct IP addresses. Double check this in the etc host files on both VMs. Also, verify that the nfs dash server service is running. On rhhost2, use showmount space dash e…

Contents