Open main menu

CDOT Wiki β

Changes

OPS335 NFS Lab

9 bytes removed, 10:01, 23 February 2016
no edit summary
#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 your host machine. Doing so can make your machine fail to boot.}}
<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'''<br>'''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>
'''Record steps, commands, and your observations in INVESTIGATION 1 in your OPS335 lab log-book'''
13,420
edits