1833760 Members
2306 Online
110063 Solutions
New Discussion

Setting up NFS

 
SOLVED
Go to solution
Dirk Moolman
Frequent Advisor

Setting up NFS

Hi, I am busy searching through the manuals, and Googling, but I was hoping someone could give me a quicker answer.
I need to set up NFS on an HP server (10.20), pointing to a Solaris server (on the same network).
I am not very familiar with NFS, except for the vfstab entries. I know there are NFS daemons, and that I need to somewhere "allow" the NFS mounts I want to set up (server/directory?)

What are the files I need to set up (and daemons to start), for my NFS to work ?

Dirk
6 REPLIES 6
Steven E. Protter
Exalted Contributor
Solution

Re: Setting up NFS

Shalom,

Standard note: HP-UX 10.20 is out of support.

NFS is core to the OS functionality.

/etc/rc.config/nfsconf

Contains the start parameters for NFS. If the HP-UX machine is to be a server make sure the NFS_SERVER variable is set to 1.

To manually start nfs server:
/sbin/init.d/nfs.server start


The configuration control file is /etc/exports

To share /tmp

/tmp *(rw,async)
# shares /tmp read write asyncronous write mode. All hosts (*)
/home galactica(ro)
# Shares /home read only, only to the host named galactica

exportfs -av
#re-exports nfs shares without restarting the NFS daemons.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dirk Moolman
Frequent Advisor

Re: Setting up NFS

Yes, this is a very old opsys - the client does not want to spend money to upgrade, unfortunately.

Thank you very much for the reply (with example) - very easy to understand

Much appreciated.

Dirk
Jaime Bolanos Rojas.
Honored Contributor

Re: Setting up NFS

Dirk!

Do not forget to assign steve points for that excellent answer, is the way that we show appreciation in this community.

Regards,

Jaime.
Work hard when the need comes out.
Dirk Moolman
Frequent Advisor

Re: Setting up NFS

Thanks Jaime. Yes, this has been a very helpful forum for me, and also always friendly and willing to assist.

Sorry for posts I have not given points to yet. This is a hectic shop I'm in, and some of my problem tasks I have not completed yet.

And also apologies if I sometimes ask stupid questions, but due to the pressure here, I often get answers from the forum before I find them in the manuals.

Thanks everyone.
Dirk Moolman
Frequent Advisor

Re: Setting up NFS

Hi Steven. I followed your instructions, starting the nfs.server etc.
I tried using SAM to do the NFS mount for me, but when I type in the remote host name, I get the error: RPC_PROG_NOT_REGISTERED

I did some searching on Google, but so far everything looks ok to me. (from what I could find: rpc.mountd started, nfsd started)

I must still be missing something here.

Dirk
Dave Olker
Neighborhood Moderator

Re: Setting up NFS

Hi Dirk,

Did you get this working or do you still need help?

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo