Steve wrote:
>
> Ok,
> I am new to NFS and have to get RH installed on a box by the end of the day or
> my butt is cooked. I keep getting the following error:
>
> mount: RPC: program not registered
>
> nfsd is running
>
> /procs/filesystems
> ext2
> nodev   proc
>         iso9660
> nodev   devpts
> nodev   nfs
>
> TIA
> Steve
>
> --
> Steve Gulick, Cornerstone Development, LLC.
> [EMAIL PROTECTED]
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.


Hi, Steve,

That message usually means that the directory isn't being exported
correctly.  First, make sure that you have all of the machines listed in
/etc/hosts.  Also, make sure that your network connection is OK, and
that you have nfs and nfs-server support built into your kernels.  Let's
say you have two machines, A and B, in your network.  If you want to nfs
mount A's /directory so that B has nfs access, you need this in A's
/etc/exports:

/directory      (rw)

This will export A's /directory to all machines in your local network
with read-write permission.  If you want to export /directory to only
certain machines, you need:

/directory      B(rw)
/directory      C(rw)
...

Then, on B create a mount point directory, like /directory.  Add this
line to B's /etc/fstab:

A:/directory    /directory      nfs     defaults

This means that A's /directory will be nfs mounted on B's /directory.
Then, just to be safe, restart nfs on both machines:

/etc/rc.d/init.d/inet stop
/etc/rc.d/init.d/portmap stop
/etc/rc.d/init.d/nfs stop
/etc/rc.d/init.d/inet start
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfs start

Next, on all machines which are exporting directories, do
'/usr/sbin/exportfs'.  Finally, on all machines, do 'mount -a'.  'df'
should then show all directories, including the nfs mounted ones.  Good
luck,



Hidong


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to