Configure Solaris NFS Server & Client

Share this article :

Configure NFS Server

1. Add an entry in /etc/vfstab

# vi /etc/vfstab
/dev/dsk/c0t0d0s7   /dev/rdsk/c0t0d0s7   /sharefolder   ufs  2  yes   -

2. Share the directory (/sharefolder)

# share -F nfs -o rw /sharefolder

3. Enable the sharing

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

4. Verify the sharing resource

# dfshares

Configure NFS Client

1. Create a new directory

# mkdir /clientfolder

2. Enable NFS client

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

3. Mount the NFS

# mount -F nfs :/sharefolder /clientfolder

Related posts

Configure DNS Client in Solaris
Create User That Can Only FTP in Solaris
Rebuild /etc/path_to_inst in Solaris
Delete Solaris Sendmail Queue
© 2017 ITsiti. All Rights Reserved
Powered by KEEM