Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13th June 2004, 09:24 PM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
rpc.mountd: bad path on nfs mount...

Hello all,

I've just upgraded a couple of my older RH9/FC1 servers to FC2.
While most of the upgrades were uneventful, I've got a weird problem. I cannot mount any of the shares on one of the NFS servers.
When I try to mount a share, be that local (on the server itself) or remote, I get (in the syslog)
Jun 13 11:15:00 nnn-nnnn-nnn rpc.mountd: bad path in mount request from x.x
.x.x: "/mnt/share name"

I disabled the firewall, tried mount with -o nfsvers=2 and 3. Nothing seem to work.

This happens with the vanilla kernel and with linux 2.6.6.

NFS kernel configuration:
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
CONFIG_NFS_DIRECTIO=y
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_V4=y
CONFIG_NFSD_TCP=y

I tried both nfs-utils-1.0.6-20 and nfs-utils-1.0.6-22

Any ideas?

Cheers,
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #2  
Old 15th June 2004, 03:28 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
No-one?
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #3  
Old 25th June 2004, 02:00 AM
arnuschky Offline
Registered User
 
Join Date: Jun 2004
Posts: 1
Hey, gilboa!

I have exactly the same problem. Upgraded from RedHat 9.0, and rpc.mountd -d all says:

rpc.mountd: bad path in mount request from ...

Did you find a solution?

Regards
Arne
Reply With Quote
  #4  
Old 25th June 2004, 02:01 AM
flea's Avatar
flea Offline
Registered User
 
Join Date: Apr 2004
Location: raleigh, NC
Age: 31
Posts: 97
did the config files get overwritten during upgrades
__________________
fleabags. :cool:
gangster in training.
Reply With Quote
  #5  
Old 25th June 2004, 02:11 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
arnuschky,

Sadly enough... nope
I tried enabling and disabling the NFSv3 and v4... didn't help.

Flea,
I'm using a fresh kernel with a fresh configuration.

Cheers,
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #6  
Old 1st July 2004, 11:02 PM
McChaos
Guest
 
Posts: n/a
Hi,

can the NFS-Server resolve the hostnames given in /etc/exports? You can test it with 'dig hostname' on servers console.

Greetings...
Reply With Quote
  #7  
Old 5th July 2004, 09:04 PM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
Yep. Reverse lookup works.
The hostname sits within the /etc/hosts

Cheers,
Gibloa
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #8  
Old 6th July 2004, 12:52 AM
bradthemad's Avatar
bradthemad Offline
Registered User
 
Join Date: May 2004
Location: Atlanta, GA
Posts: 101
The only way I know for that particular error to ever happen is if the path you're trying to mount on the client doesn't start with a '/', e.g. "mount server:some/path" instead of "mount server:/some/path". If that doesn't explain the cause of your problem, can you post exactly what your mount command is, the corresponding export entry from /etc/exports, and the actual, unedited syslog message?
__________________
?
Reply With Quote
  #9  
Old 6th July 2004, 01:10 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
Server: (gilboa-work-dev)

$ cat /etc/exports
/mnt/Install/ 172.168.2.0/255.255.255.224(rw,sync)

$ cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
portmap: 172.16.2.0/255.255.255.224
lockd: 172.16.2.0/255.255.255.224
rquotad: 172.16.2.0/255.255.255.224
mountd: 172.16.2.0/255.255.255.224
statd: 172.16.2.0/255.255.255.224

$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
172.16.2.1 gilboa-work-dev
172.16.2.2 gilboa-work-disp

Client: (gilboa-work-disp)
$ cd ~
$ mkdir temp
$ mount gilboa-work-dev:/mnt/Install tmp
mount: gilboa-work-dev:/mnt/Install failed, reason given by server: Permission denied

(Server: )
$ cat /var/log/messages | grep mountd
Jul 5 15:05:18 gilboa-work-dev rpc.mountd: bad path in mount request from 172.1
6.2.2: "/mnt/Install"
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #10  
Old 6th July 2004, 05:32 PM
bradthemad's Avatar
bradthemad Offline
Registered User
 
Join Date: May 2004
Location: Atlanta, GA
Posts: 101
What filesystem/device is /mnt/Install? Can you export another directory, such as /home, from this machine and mount it on that client? Can that client mount anything else from another server (if you have another)?
__________________
?
Reply With Quote
  #11  
Old 6th July 2004, 08:58 PM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
$ cat /proc/mounts | grep Install
/dev/sda4 /mnt/Install ext3 rw 0 0

I tried exporting the different directory. Same response.
The client can mount directories on another servers.

Cheers,
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #12  
Old 7th July 2004, 10:06 PM
bradthemad's Avatar
bradthemad Offline
Registered User
 
Join Date: May 2004
Location: Atlanta, GA
Posts: 101
I looked at the source to mountd, and there is literally only one check that can possibly result in that error, and it is whether the first character is '/' or not. And it sure looks like a '/' to me. Are these machines all using UTF-8? I'd be curious to see the environments that are being used:

Code:
gilboa-work-dev$ echo $LANG
gilboa-work-dev$ grep ^LANG /etc/sysconfig/i18n
gilboa-work-dev$ ps aex | grep '[r]pc.mountd'
gilboa-work-disp$ echo $LANG
gilboa-work-disp$ grep ^LANG /etc/sysconfig/i18n
Also, if you could run:

Code:
gilboa-work-dev# strace -v -o /tmp/nfs.out -p `pidof rpc.mountd`
...on the server just before trying to mount the share, hit Ctrl-C to kill it right afterward, and attach the output file to a post, that might provide a clue. If it doesn't, I give up.
__________________
?
Reply With Quote
  #13  
Old 20th July 2004, 01:56 AM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
Lang is en_US (had to disable the en_US.UTF-8 in the i18n due to console display problems on both client and servers)
rpc.mountd is running on the sever.

Am I losing it?
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
  #14  
Old 9th August 2004, 01:17 PM
Sneff Offline
Registered User
 
Join Date: Aug 2004
Location: Liverpool, England
Age: 44
Posts: 1
Had a similar problem - I removed the host restriction, in your case 172.168.2.0/255.255.255.224, and replaced it with * (any host) - it worked... I use firewall rules now instead...

--
Keith
Reply With Quote
  #15  
Old 9th August 2004, 01:24 PM
gilboa Offline
Registered User
 
Join Date: Jun 2004
Posts: 82
Unfriggin believable! it works.
I was actually in the middle of building a debug version of monutd to try and debug the problem.... weird!

I'm in your debt! Thanks man!
__________________
DEV: Intel S5520SC, 2xL5530, 12GB, 5x320GB, GTX470, F17/x86_64, U2711.
SRV: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F17/x86-64, 2408WFP.
VCR: Gigabyte GA-M61PME-S2P, A64/5000X2, 2GB, 1x320GB, 8600GT, F17/x86-64.
LAP: ASUS 1201N, A330, 2GB, 250GB, ION, F17/x86_64.
Reply With Quote
Reply

Tags
bad, mount, nfs, path, rpcmountd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mounting permissions (maybe rpc.mountd) zzybaloobah Servers & Networking 7 3rd December 2008 04:14 AM
Path to Nautilus Mount plazman30 Using Fedora 0 25th January 2008 04:50 AM


Current GMT-time: 19:21 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat