13,420
edits
Changes
no edit summary
#Since the nfs package was installed when you cloned the machine, you are not required to install the '''nfs''' or '''nfs-utils''' package.
#Add the following line to the bottom of the '''/etc/fstab''' file on your VM3 machine:<br>'''192.168.x.3:/home /home nfs4 defaults 0 0'''
{{Admon/important|Warning:|Do not change any other lines in this file. |Do not change any lines in '''/etc/fstab on ''' file contained for your host VM3 machine. Doing so can make cause your VM3 machine fail not to bootproperly.}}
<ol><li value="5">Run the following command to avoid an error that would be caused by logging in while root_squash is active:<br>'''setsebool -P use_nfs_home_dirs 1'''</li><li>Logout of vm03 and shut it down.</li><li>Restart vm03 and login using your learnid.</li><li>Check that the home directory is mounted:<br>'''mount | grep /home'''</li><li>If it is not, try running 'mount /home' as root and observe any errors.</li><li>On vm03, create an empty file by issuing the following command:<br>'''touch empty_file_created_on_vm03'''</li><li>Now shutdown vm03.</li><li>Now on the NFS server, us ls -l in your learnid's home directory to check for the file you just created.</li></ol>