2003-08-06 09:21:56

by Wichert Akkerman

[permalink] [raw]
Subject: mountd getfh failure

I'm struggling with a problem with nfsd in 2.6.0-test2. Yesterday I had
some problems with nfsd, but trying to reproduce them today I found that
mountd no longer works: when I try to mount a NFS export from another
machine I get the following in my syslog:

Aug 6 11:11:34 thunder rpc.mountd: authenticated mount request from tornado.home.wiggy.net:857 for /home (/home)
Aug 6 11:11:34 thunder rpc.mountd: getfh failed: Operation not permitted

A strace of rpc.mountd confirms the problem:

nfsservctl(0x8, 0xbfffdcb0, 0x8057ba0) = -1 EPERM (Operation not permitted)

I'm a bit at a loss as to what the problem is here..

Wichert.

--
Wichert Akkerman <[email protected]> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2003-08-08 01:14:07

by NeilBrown

[permalink] [raw]
Subject: Re: mountd getfh failure

On Wednesday August 6, [email protected] wrote:
> I'm struggling with a problem with nfsd in 2.6.0-test2. Yesterday I had
> some problems with nfsd, but trying to reproduce them today I found that
> mountd no longer works: when I try to mount a NFS export from another
> machine I get the following in my syslog:
>
> Aug 6 11:11:34 thunder rpc.mountd: authenticated mount request from tornado.home.wiggy.net:857 for /home (/home)
> Aug 6 11:11:34 thunder rpc.mountd: getfh failed: Operation not permitted
>
> A strace of rpc.mountd confirms the problem:
>
> nfsservctl(0x8, 0xbfffdcb0, 0x8057ba0) = -1 EPERM (Operation not permitted)
>
> I'm a bit at a loss as to what the problem is here..

Can you send me the contents of /proc/net/*/content and let me know
the IP address of tornado....

NeilBrown


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs