9.5 Create NFSv4 Mount Points on Oracle Linux

Create NFSv4 mount points on Oracle Linux as follows:

  1. Create a new share on the storage appliance. In this example, it is assumed that the new share is accessible as el01sn01:/export/common/patches. This mount point is mounted on the compute node as /u01/common/patches.

  2. On the compute node, create a new directory as follows:

    # mkdir -p /u01/common/patches

  3. Edit the /etc/fstab configuration file:

    vi /etc/fstab

    Add the following line, and enter the correct values for nfs4 and proto=tcp

    el01sn01:/export/common/patches /u01/common/patches nfs4 rw,bg,hard,nointr,rsize=131072,wsize=131072,proto=tcp

  4. Mount all shared volumes by running the following command:

    # mount -a