Changes

Jump to: navigation, search

OPS335: File Servers

16 bytes added, 11:34, 21 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'''<br><br></li><li>Logout of vm03 and shut it down.</li></olli====Testing NFS mounts on your client====*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 using by issuing the touch 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>
===Setting up Automount on the VM===
13,420
edits

Navigation menu