Tuesday, November 17, 2015

OVM : use NFS version 3 by default on Oracle VM environment

To use NFS version 3 by default on Oracle VM environment, please log into Oracle VM servers:
- Please change the lines below in /etc/nfsmount.conf with "3":
[root@tz1 ~]# cat /etc/nfsmount.conf |grep -i "Defaultvers"
Defaultvers=3
[root@tz1 ~]# cat /etc/nfsmount.conf |grep -i "NFSvers"
Nfsvers=3

- Please change the line below in /etc/sysconfig/nfs with "yes":
[root@tz1 ~]# cat /etc/sysconfig/nfs |grep -i "MOUNTD_NFS_V3"
MOUNTD_NFS_V3="yes"

- Restart NFS service on OVS:
[root@tz1 ~]# service nfs restart

- Re-present the NFS share on OVM manager GUI.
- [root@tz1 ~]# mount -t nfs
xx.oracle.com:/mnt on /OVS/Repositories/0004fb00000300004b3974397e1a9d17 type nfs (rw,nosharecache,soft,fg,retry=1,nfsvers=3,addr=xx.xx.xx.xx.xx)

Note: Need to do the changes on all Oracle VM servers if you wants all NFS share to be mounted as version 3.

OVM 3.3.3

No comments:

Post a Comment