Bug 10647 - Mount fails with NFS
Summary: Mount fails with NFS
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mount   
(Show other bugs)
Version: 6.2
Hardware: i386 Linux
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Brian Brock
: 10657 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2000-04-07 19:36 UTC by Red Hat Bugzilla
Modified: 2008-03-13 19:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-03-11 17:26:33 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Red Hat Bugzilla 2000-04-07 19:36:20 UTC
The mount package from Red Hat 6.2/i386 generates errors when trying to
mount NFS volumes.

mount: mount: RPC: Unable to receive; errno = Connection refused

This was not a server issue.  Reverting to the package from 6.1
(mount-2.9u-4) aleviates the problem.

I have installed kernel 2.2.15pre17.

Comment 1 Red Hat Bugzilla 2000-04-07 19:44:59 UTC
Make sure the portmapper is running.

Comment 2 Red Hat Bugzilla 2000-04-07 20:09:59 UTC
Portmap is running.

 1372 ?        S      0:00 portmap

mount-2.9u-4.i386.rpm works just fine.
mount-2.10f-1.i386.rpm and mount-2.10h-1.i386.rpm both behave identically.

Apr  7 16:09:51 lul1168 automount[1637]: attempting to mount entry /emc/rgramc
Apr  7 16:09:51 lul1168 automount[5188]: >> mount: RPC: Unable to receive; errno
= Connection refused
Apr  7 16:09:51 lul1168 automount[5188]: mount(nfs): nfs: mount failure
emcnfs412:/mnt_1203/ucode/rgramc on /emc/rgramc

I see the same behavior when trying to mount manually from the command line, so
it shouldn't be related to the automounter.

The NFS server is an EMC Celerra.

[Note, though the symptoms are different, it could be related to but 10428.]

Comment 3 Red Hat Bugzilla 2000-05-05 21:30:59 UTC
I had the same problem and realized that even though you select NFS server
in the install, the NFS related servers are not automatically run. You have
to start them through init.d via Linuxconf. Just start them up automatically
(or manually) from there and you'll be fine. Not a bug.

Comment 4 Red Hat Bugzilla 2000-05-08 19:50:59 UTC
mchampig@110.net: It has nothing to do with running the NFS server.  I'm not
exporting file systems.  This is entirely a client issue.

I see bug 10657 reports a similar problem; I suspect it's a duplicate of this

So just to be clear, here's exactly what I'm observing (actual cut-and-paste):

root% rpm -q mount
root% mkdir /tmp/mnt
root% mount emcnfs412:/mnt_1203/ucode/rgramc /tmp/mnt
root% umount /tmp/mnt
root% rpm --upgrade mount-2.10f-1.i386.rpm
root% mount emcnfs412:/mnt_1203/ucode/rgramc /tmp/mnt
mount: RPC: Unable to receive; errno = Connection refused
root% rpm --upgrade --force mount-2.9u-4.i386.rpm
root% mount emcnfs412:/mnt_1203/ucode/rgramc /tmp/mnt
root% umount /tmp/mnt
root% rmdir /tmp/mnt

Comment 5 Red Hat Bugzilla 2000-05-09 06:59:59 UTC
I'd like to report a (more or less) identical problem. The 6.2
version of mount failed an NFS mount of a PC directory exported
by Sun Solstice Network Client 3.2. However, it had no trouble
with NFS mounts from other systems (AIX4.14, and various Linux
systems). The 6.1 version of mount (and prior versions) worked
fine with Sun Solstice Network Client, as well as the other
operating systems.
  Good luck,

Comment 6 Red Hat Bugzilla 2000-05-15 14:59:59 UTC
*** Bug 10657 has been marked as a duplicate of this bug. ***

Comment 7 Red Hat Bugzilla 2000-05-15 15:08:59 UTC
What do
	rpcinfo -e <your_server_here>
	rpcinfo -p <your_server_here>
have to say?

Can you also supply "rpm -q knfsd initscripts kernel mount" info as well?

Comment 8 Red Hat Bugzilla 2000-05-15 15:09:59 UTC
Apologies, that should have been
	showmount -e <your_server_here>

Comment 9 Red Hat Bugzilla 2000-05-15 15:27:59 UTC
Here's the info requested above (and a little more):

% showmount -e emcnfs410
Export list for emcnfs410:
/mnt_1004 (everyone)
/mnt_1006 (everyone)
/mnt_1005 (everyone)
/mnt_1003 (everyone)
/mnt_1002 (everyone)
% rpm -q knfsd initscripts kernel mount nfs-utils portmap
package knfsd is not installed
% uname -a
Linux lul1168 2.2.15pre17 #1 Thu Apr 6 12:02:29 EDT 2000 i686 unknown

(As you can see, I've bypassed the RPM system to install my own custom-built

Comment 10 Red Hat Bugzilla 2000-05-15 15:40:59 UTC
Note that this is apparently a bug that VA Linux noticed and fixed for their
"VA-enhanced Load."  Check out
http://www.valinux.com/software/vaload/6.2/comparison.html for references.
Their mount-2.10f-1.1.i386.rpm seems to work fine on my system.

Comment 11 Red Hat Bugzilla 2000-05-15 16:59:59 UTC
Just to make the point that it isn't Preson's updated kernel which is causing
the problem:
$ showmount -e
Export list for
/public (everyone)
$ rpm -q knfsd initscripts kernel mount nfs-utils portmap
package knfsd is not installed

Comment 12 Red Hat Bugzilla 2000-05-15 18:56:59 UTC
Just thought I'd add - the VA Linux mount _doesn't_ fix my problem.
Preston, are you able to mount on your system? If so, it
might show that there is an interaction of mount and kernel version, since the
only difference I can see between us is our kernels. Or it might be a problem
with this specific NFS server.

Comment 13 Red Hat Bugzilla 2000-05-16 18:24:59 UTC
Building a 'mount' program using the tarball in mount-2.10f-1.src.rpm works with
EMC servers.  After patching with 'util-linux-2.10f-realpath.patch', 'mount'
still works.

After adding 'util-linux-2.9o-mount-nfsv3.patch', 'mount' fails:

mount: wrong fs type, bad option, bad superblock on
phxc2d4-e2:/users117c2/e021597, or too many mounted file systems

After adding 'util-linux-2.9w-mount-nfsv3try.patch', the 'mount' program fails
to mount from EMC servers, as reported originally.

Note You need to log in before you can comment on or make changes to this bug.