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

Update Sun System Firmware Using Flash Update
Repair a Corrupt Repository in Solaris
Manually Mount CDROM in Solaris
Configure & Administer USB Devices in Solaris
© 2017 ITsiti. All Rights Reserved
Powered by KEEM