1752689 Members
5144 Online
108789 Solutions
New Discussion юеВ

Re: NFS Configuration

 
SOLVED
Go to solution
Abubakkar
Frequent Contributor

NFS Configuration

Dear all,
Please explain how to configure the nfs server and client in hpux 11iv3.
5 REPLIES 5
Dennis Handly
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.
P Arumugavel
Respected Contributor

Re: NFS Configuration

suvy12
Frequent Advisor
Solution

Re: NFS Configuration

For NFS Server you need to edit the File /etc/rc.config.d/nfsconf and make entries look like below
NFS_CORE=1
NFS_SERVER=1
START_MOUNTD=1
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
NFS_CLIENT=1

start the service

/sbin/init.d/nfs.client start








Mike Miller_8
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.
Ismail Azad
Esteemed Contributor

Re: NFS Configuration

Hi AbuBakkar,

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

Well I guess there is a typo there.

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

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