Step by Step NFS Server & NFS Client Configuration in HP-UX

Step by Step NFS Server and Client Configuration in HP-UX

This post will help you with Step by Step NFS Server & NFS Client Configuration in HP-UX.

If you are interested in learning, Request you to go through the below recommended tutorial.

NFS allows a client computer to access a file system that resides on another computer’s disks, as though the file system were installed locally.

The NFS server is the computer to which the disk is physically attached. NFS clients are the computers that use the file system remotely. Before an NFS client can mount a file system that resides on the NFS server’s disks, the NFS server must share it.

My Scenario:
NFS Server : and share folder /mydata
NFS Client : and mount point /mnt

Steps involved to configure the NFS Server

1. Make sure both server( and client( are accessible.
Make an entry in /etc/hosts or Configure it in DNS to resolve the IP if you use server name instead of IP address.
But we use IP Address for reference.

2. Identify the folder to be export from server to the client.
For example: As per my scenario, I am going to export the folder /mydata.

3. Change full permission (777) to the share folder.

#chmod 777 /mydata

4. Change the NFS_SERVER=1 to enable your server to act as a NFS Server in the configuration file /etc/rc.config.d/nfsconf

#vi /etc/rc.config.d/nfsconf

Change the NFS_SERVER parameter as follow.


Save and exit the file.

5. Add an entry of your share folder in the export file /etc/dfs/dfstab  with proper permission.

#vi /etc/dfs/dfstab

Add the entry as below.

#/usr/sbin/share -F nfs -o rw -d “Test directory” /mydata

6. Restart nfs service on server.

#/sbin/init.d/nfs.server stop
#/sbin/init.d/nfs.server start
#/usr/sbin/exportfs -av

Steps involved to access the NFS volumes or shares to the NFS clients

1. Login into the client.

2. Decide the mount point to where we have to mount the NFS volume /mydata which we exported from NFS Server
For example, we will mount it on /mnt.

3. Verify the list of shares available.

#showmount -e
export list for

If we get the output, server side export configuration doesnt have any problem between nfs server and client.

3. Mount the nfs share locally on your desintation mount point folder.

#mount /mnt

4. Final step is to check the ‘bdf’ output and try to create any file on /mnt.

Related Content on Linux might be useful to you to improve your Linux Skills.

Keep practicing and have fun. Leave your comments if any.

Support Us: Share with your friends and groups.

Stay connected with us on social networking sites, Thank you.

nfs configuration hpux, HP-UX NFS Configuration, Step by Step NFS configuration in HP-UX, hp ux nfs configuration, configure nfs hpux, Steps to configure a NFS server on hpunix, how to configure the nfs server and client in hpux, hpux 11iv3, hpux 11iv1