O'Reilly logo

Oracle VM Implementation and Administration Guide by Edward Whalen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Configuring the NFS Server

Configuring NFS consists of two parts: setting directory permissions and enabling NFS. Configuring permissions is done in the /etc/exports file. The /etc/exports file consists of two fields: the directory and the permissions. The directory field contains the top-level directory being exported. The second field consists of a username (or *) and the permissions:

<directory> <user>(<permissions>)

An example is shown here. The root_squash permission prohibits root access; no_ root_squash allows root access. Here is an example of an /etc/exports file:

/u01/stage *(rw,no_root_squash)

/u01/apps oracle(rw)

In addition to /etc/exports, the NFS service must be enabled. To enable it by default, use chkconfig:

# chkconfig ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required