1,885
edits
Changes
no edit summary
There are a couple of steps you must perform to be able to use the NFS share on hong kong.
1. Edit your "/etc/fstab" and change the following lines file system to "auto" from "nfs":" /dev/root / nfs defaults 1 1"
2. Use yum to install "rpcbind" and "nfs-utils" and make sure that the "rpcbind" and "nfs" services are started at boot.: yum install rpcbind nfs-utils chkconfig rpcbind on chkconfig nfs on
3. Create a the <code>/share</code> folder where you would like to mount the HongKong NFS share. In these examples i will be using " mkdir /nfsshare" as the mounting point.share
4. Run Create an <code>/etc/hosts</code> entry for HongKong using both the command hostname and the FQDN: echo "mount 192.168.122.1:hongkong hongkong.proximity.on.ca" >>/varetc/wwwhosts # VMs only echo "192.168.1.254 hongkong hongkong.proximity.on.ca" >>/htmletc/yum/arm_built /nfsshare" to test that you can successfully mount the share. Where ever I use this directory, replace it with the mount point of your choicehosts # physical hardware only
5. If it mounts correctly it will give no output. Run Create an fstab entry to mount the <code>/share</code> directory from HongKong: echo "mounthongkong:/share /share nfs defaults,noauto 0 0" command to check that it has been successful.>>/etc/fstab
6. Add Test that you can successfully mount the following line to "share: mount /etc/fstab" to auto mount the share every time the VM boots.