The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
To mount an NFS file system on a client:
Install the
nfs-utilspackage:#
yum install nfs-utilsUse showmount -e to discover what file systems an NFS server exports, for example:
#
showmount -e host01.mydom.comExport list for host01.mydom.com /var/folder 192.0.2.102 /usr/local/apps * /var/projects/proj1 192.168.1.0/24 mgmtpcUse the mount command to mount an exported NFS file system on an available mount point:
#
mount -t nfs -o ro,nosuid host01.mydoc.com:/usr/local/apps /appsThis example mounts
/usr/local/appsexported byhost01.mydoc.comwith read-only permissions on/apps. Thenosuidoption prevents remote users from gaining higher privileges by running asetuidprogram.By default, mount assumes NFS v4. To mount an NFS v3 volume (the default in Oracle Linux 5), use the following mount options:
-o vers=3,mountproto=tcp
To configure the system to mount an NFS file system at boot time, add an entry for the file system to
/etc/fstab, for example:host01.mydoc.com:/usr/local/apps /apps nfs ro,nosuid 0 0
        For more information, see the mount(8),
        nfs(5), and showmount(8)
        manual pages.
      

