Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

NFS configuration

SOLVED
Go to solution
ln_unix
Frequent Advisor

NFS configuration

Hello All,

need your help.

Want to configure / share a file system via NFS.

Can you please explain simple steps to be done on both nodes....


Thanks for your ever support.....

Best Regards,
LN
5 REPLIES
Patrick Wallek
Honored Contributor

Re: NFS configuration

What operating systems and what versions are you using on the server and the client?
ln_unix
Frequent Advisor

Re: NFS configuration

Hello Patrick,

I am using HP-UX 11iv1

Thanks for your quick response.

LN
Suraj K Sankari
Honored Contributor
Solution

Re: NFS configuration

Hi,
Add a line to the /etc/exports file for each directory you want to
make available to NFS clients

Edit the exports file vi /etc/exports and add:
/dir/to/export host1.mydomain.com(ro,root_squash)
/dir/to/export host2.mydomain.com(ro,root_squash)


Where:

/dir/to/export is the directory you want to export.
host#.mydomain.com is the machine allowed to log in this directory.
The ro option mean mounting read-only.
The root_squash option for not allowing root write access in this directory.

For this change to take effect you will need to run the following command on your terminal:
[root@deep]# /usr/sbin/exportfs -a


Then make changes in /etc/rc.config.d/nfsconf

NFS_SERVER=1
START_MOUNTD=1

one more think to check /etc/inetd.conf file on NFS server does not contain
a line to start rpc.mountd. If it does, make sure the START_MOUNTD
variable in /etc/rc.config.d/nfsconf is set to 0.

allows to start and stop the daemons processes using
# /sbin/init.d/nfs.server start
# /sbin/init.d/nfs.server stop

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
on the NFS-Client demons are

rpc.lockd and rpc.statd for file locking
biod I/O Organization
automountd if you like or need it

make changes in /etc/rc.config.d/nfsconf

NFS_CLIENT=1

for allows to start and stop the daemons processes using

# /sbin/init.d/nfs.client start or
# /sbin/init.d/nfs.client stop

Suraj
ln_unix
Frequent Advisor

Re: NFS configuration

Hello Suraj,

Thanks for your help and reply...

got your points...

Best Regards,
LN

ln_unix
Frequent Advisor

Re: NFS configuration

closing the thread....Thanks All...