BladeSystem Forums have moved here
To make BladeSystem information easier to find, we have moved the BladeSystem forums here, to Servers and Operating Systems.
Showing results for 
Search instead for 
Do you mean 

NFS Configuration

Go to Solution
Frequent Contributor

NFS Configuration

Dear all,
Please explain how to configure the nfs server and client in hpux 11iv3.
Acclaimed Contributor

Re: NFS Configuration

Have you looked at share_nfs(1M) and mount_nfs(1M)?
You may want to use SMH to configure it for you.
Respected Contributor

Re: NFS Configuration

Frequent Advisor

Re: NFS Configuration

For NFS Server you need to edit the File /etc/rc.config.d/nfsconf and make entries look like below
To start NFS server daemons :
# /etc/init.d/nfs.server start

Configuration Files :
/etc/exports - Contains a list of exportable file systems. This file is available in upto HP-UX 11i v2
/etc/dfs/dfstab - Contains a list of sharable file systems. This file is available from HP-UX 11i v3

To export or share a file system :
# exportfs /data <--- Upto HP-UX 11i v2
# share /data <--- From HP-UX 11i v3

To unexport or unshaer a file system :
# exportfs -u /data <--- Upto HP-UX 11i v2
# unshare /data <--- From HP-UX 11i v3

To export or share all the filesystems defined in /etc/exports or /etc/dfs/dfstab :
# exportfs -a <--- Upto HP-UX 11i v2
# shareall <--- From HP-UX 11i v3

On the client Side

edit the file /etc/rc.config.d/nfsconf and make the entry look like below

start the service

/sbin/init.d/nfs.client start

Regular Advisor

Re: NFS Configuration

make sure that you also look at the dfstab file and restrict the share to only those servers that you want to have access.

Doing a man on "share" and then looking at the dfstab file will help explain.
Esteemed Contributor

Re: NFS Configuration

Hi AbuBakkar,

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

Well I guess there is a typo there.

/sbin/init.d/nfs.server start is the script...

Ismail Azad
Read, read and read... Then read again until you read "between the lines".....