Enabling NFS

From Peter Pap's Technowiki
Jump to: navigation, search

Solaris 10

Solaris 10 uses the Service Management Facility (SMF) to manage services. As such you need to do the following to enable NFS.

To enable the NFS server daemon:

  svcadm enable network/nfs/server

To enable the NFS client daemon:

  svcadm enable network/nfs/client

Solaris pre-10

Earlier releases of Solaris use classic System V init scripts. As such, to permanently enable the NFS daemons, do the following.


  cd /etc/rc3.d
  ln -s ../init.d/nfs.server S90nfs.server
  cd /etc/rc1.d
  ln -s ../init.d/nfs.server K10nfs.server


  cd /etc/rc3.d
  ln -s ../init.d/nfs.client S50nfs.client
  cd /etc/rc1.d
  ln -s ../init.d/nfs.client K50nfs.client

To start these daemons manually:

  /etc/init.d/nfs.server start
  /etc/init.d/nfs/client start