Wednesday 22 February 2012

Solaris - Creating a persistent mount point

On the Host server do the following:
cd /etc/dfs
vi dfstab

Add the following
share -F nfs /<directory>

Restart the NFS service (if the service is running)
Solaris 9
/etc/init.d/nfs.server stop;/etc/init.d/nfs.server start
Solaris 10
svcadm restart network/nfs/server

On the Client do the following:
mkdir /<mount point>
vi /etc/vfstab

Add the following
<host server>:/<shared directory>   -       /<mount point>     nfs     -       yes     rw,bg

After the Client server is rebooted the mount point will appear.

No comments:

Post a Comment