[rhn-users] Unable to mount NFS share

Mathew Snyder theillien at yahoo.com
Sat Nov 4 07:06:03 UTC 2006


I ran into the same problem after shutting the server down for the
night.  I ran rpc.mountd in the foreground and then attempted to mount
the directory being exported.  It proceeded to segfault.  I did a search
and it seems like nfs-utils has this problem in RHEL 3.

Mathew

E Azariah Jason-G20266 wrote:
> Hi,
> 
> NFS Server side - Check and issue following commands
> ------------------
> 1) check whether the Firewall is in ON for NFS and portmaps ( #iptables
> -L ).If yes, flush the firewall of both ports.
> 2) #chkconfig --list nfs and #chkconfig --list portmap , if the output
> is in off state for 3 and 5 runlevel. Please ON using #chkconfig --level
> 3 5 on.
> 3) service portmap restart
> 4) service nfs restart
> 5) exportfs -a . If everything is fine , you should not get any error
> messages.
> 6) Then ensure your exported directory using -- #showmount -e
> 
> Client Side
> ------------
> 
> 1) service portmap restart
> 2) Check for firewall . If its there flush off using #iptable -f (for
> needed ports)
> 3) Then create a directory called test ( its your wish ) - #mkdir -p
> /opt/test
> 4) mount -t nfs  192.168.4.115:/mnt/inst /opt/test
> 
> Now you should be able to mount your exported dir in your local machine
> . 
> 
> Feel free to revert back incase of issues..
> 
> -Jason
> Motorola.
> 
> 
> 
> 
> -----Original Message-----
> From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com]
> On Behalf Of Mathew Snyder
> Sent: Friday, November 03, 2006 3:14 PM
> To: rhn-users at redhat.com
> Subject: [rhn-users] Unable to mount NFS share
> 
> I have a server set up which I'm using to expand my Linux knowledge.  I
> currently have NFS running with a single share.  The entry in
> /etc/exports is thus: /mnt/inst       *(ro,sync)
> 
> I usually have to manually start NFS for some reason but that isn't
> what's important right now.  After I start it I try to mount the share
> to my local filesystem using `mount 192.168.4.115:/mnt/inst /mnt/nfs`.
> However, this doesn't work and instead gives me the following error:
> mount: RPC: Unable to receive; errno = Connection reset by peer
> 
> After I attempt to mount /mnt/inst and it fails I run `service nfs
> restart`.  For the most part this works normally.  However, shutting
> down mountd fails.  After the restart though, I can start and stop NFS
> and mountd won't have any problems.  It's only after I try to mount the
> share that it gets squirrely.
> 
> Anyone have any insight on how I can fix this problem?
> 
> Thanks
> Mathew
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 
> _______________________________________________
> rhn-users mailing list
> rhn-users at redhat.com
> https://www.redhat.com/mailman/listinfo/rhn-users
> 




More information about the rhn-users mailing list