How to use rpc.portmap, rpc.mountd, rpc.nfsd?

How to use rpc.portmap, rpc.mountd, rpc.nfsd?

Post by Salem Rey » Fri, 09 Sep 1994 06:55:34



[Q2] Stupid but non-FAQ NFS question #2:
Thanks for the help of finding out the rpc.portmap, rpc.mountd, rcp.nfsd.  
Still, after reading the NFS-FAQ, Linux Network Admin Guide, none of these guys
seem to work at all.  I still get the message of RPC fault: program is not
registered.  I guess I really need a cookbook example.

Let's say I have machines A and B which both of them can telnet and ftp to each
other.  In other words, they are properly connected.  Now, this is how I did.
I add three statements at the begninning of the rc.inet2 at machine A:

/usr/sbin/rpc.portmap
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
/bin/mount -t nfs B:/home /mnt

Then, I add /mnt B[rw] at /etc/exports at machine A.
Then, reboot machine A, and it prompts RPC fault: program is not registered.
Can anyone provide me an idiot-proof way of attacking this?  Thanks.
BTW, someone mention "premeter".  What is that?

--

Salem

 
 
 

How to use rpc.portmap, rpc.mountd, rpc.nfsd?

Post by Chris Rad » Sat, 10 Sep 1994 06:35:56



>Let's say I have machines A and B which both of them can telnet and ftp to each
>other.  In other words, they are properly connected.  Now, this is how I did.
>I add three statements at the begninning of the rc.inet2 at machine A:
>/usr/sbin/rpc.portmap
>/usr/sbin/rpc.mountd
>/usr/sbin/rpc.nfsd
>/bin/mount -t nfs B:/home /mnt

rpc.portmap, rpc.mountd, and rpc.nfsd need to be running on the machine
whose drives you want to NFS mount.  If I follow your explanation, you
need them running on machine B.  Then, from machine A, issue the
mount -t nfs B:/home /mnt
command.  Also, you need the line:
/home      A(rw)
in B's /etc/exports file.

'perfmeter' is an X program that resembles 'xload'.  If you wish to use
perfmeter, you need to also run 'rpc.rstatd'.