Fedora Arm Secondary Architecture/Storage performance
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.
3. Create a folder where you would like to mount the NFS share. In these examples i will be using "/nfsshare" as the mounting point.
4. Run the command "mount 192.168.122.1:/var/www/html/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 choice
5. If it mounts correctly it will give no output. Run the "mount" command to check that it has been successful.
6. Add the following line to "/etc/fstab" to auto mount the share every time the VM boots.
"192.168.122.1:/var/www/html/yum/arm_built /nfsshare nfs defaults 0 0"
7. Reboot your vm to make sure the nfs share is properly mounted at boot. To restart your vm log into hongkong as root and run the following commands. As an example i will use arm-001-002, replace this with your VM.
- virsh destory arm-001-002
- virsh start arm-001-002