Difference between revisions of "Enabling NFS"
From Peter Pap's Technowiki
(Created page with "== 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:...") |
(→Solaris pre-10) |
||
Line 14: | Line 14: | ||
== Solaris pre-10== | == Solaris pre-10== | ||
− | Earlier releases of Solaris use classic System V init scripts. As such, to permanently enable the NFS daemons, do the following | + | Earlier releases of Solaris use classic System V init scripts. As such, to permanently enable the NFS daemons, do the following. |
Server: | Server: |
Latest revision as of 02:03, 20 September 2010
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.
Server:
cd /etc/rc3.d ln -s ../init.d/nfs.server S90nfs.server cd /etc/rc1.d ln -s ../init.d/nfs.server K10nfs.server
Client:
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