Changes

Jump to: navigation, search

OPS335 NFS Lab

3 bytes removed, 17:19, 5 September 2011
Setting up the NFS Server on the Host
===Setting up the NFS Server on the Host===
*On your Fedora host machine edit /etc/exports so that it contains ONLY the following line(where 192.168.122.yyy is the IP address of your guest VM):
/home 192.168.122.yyy(rw,root_squash)
 
*where 192.168.122.yyy is the IP address of your guest VM.
 
#Start your nfs server with the command 'service nfs start'. NOTE: You'll have to adjust your firewall on the host to get NFS to work, so do this before you go on to the next step.
#Start up vm01 and login as joker and run and record the output of the 'df -Th' command.
#Back on your host PC run and record the output of the 'exportfs' and 'showmount -e' commands.
#As joker on vm01, create an empty file using the touch command:
# touch empty_fileNow shutdown vm01.
Now shutdown vm01.
Back on your host PC, as joker, run and record the output of the 'ls -l' command.
Shutdown the nfs server with the command "service nfs stop".
1
edit

Navigation menu