2004-10-26 09:22:31

by mrg

[permalink] [raw]
Subject: NFS Server problem (kernel > 2.6.5 ?)

Hi,

I've had a server running FC2 for a while. I recently upgraded the kernel to
2.6.8.1, and then the NFS server stopped working.
I only get a 'Permission denied' on the client side, but the server writes a
'rpc.mountd: authenticated mount request from ...' in the message log.
I've tried al kinds of kernel options without any luck. I've also tried
2.6.8, 2.6.9-rc4 and 2.6.9, but the only kernel that works is the
2.6.5-1.358 which comes with FC2. However, the client can run both FC2 stock
kernel and 2.6.9 and still connect to the server (when run with kernel
2.6.5-1.358).

Some config info:
/etc/exports:
/rootfs 192.168.1.0/24(rw,sync,no_root_squash)

/etc/hosts.deny is empty, /etc/hosts.allow: ALL:ALL


Does anybody know what the problem is ?

TIA,
Geir Rastad



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs


2004-10-26 17:48:24

by Jason Holmes

[permalink] [raw]
Subject: Re: NFS Server problem (kernel > 2.6.5 ?)

mrg wrote:
> Hi,
>
> I've had a server running FC2 for a while. I recently upgraded the kernel to
> 2.6.8.1, and then the NFS server stopped working.
> I only get a 'Permission denied' on the client side, but the server writes a
> 'rpc.mountd: authenticated mount request from ...' in the message log.
> I've tried al kinds of kernel options without any luck. I've also tried
> 2.6.8, 2.6.9-rc4 and 2.6.9, but the only kernel that works is the
> 2.6.5-1.358 which comes with FC2. However, the client can run both FC2 stock
> kernel and 2.6.9 and still connect to the server (when run with kernel
> 2.6.5-1.358).
>
> Some config info:
> /etc/exports:
> /rootfs 192.168.1.0/24(rw,sync,no_root_squash)
>
> /etc/hosts.deny is empty, /etc/hosts.allow: ALL:ALL
>
>
> Does anybody know what the problem is ?

I had a similar problem when replacing the RedHat kernel on Enterprise 3
Update 3. The problem was that the RedHat nfs-utils package didn't work
properly with the vanilla kernels (even though it's version 1.0.6, it's
a very much patched version of 1.0.6). After replacing the nfs-utils
package with a vanilla 1.0.6, things worked fine.

Thanks,

--
Jason Holmes



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2004-10-26 17:54:35

by J. Bruce Fields

[permalink] [raw]
Subject: Re: NFS Server problem (kernel > 2.6.5 ?)

On Tue, Oct 26, 2004 at 01:48:42PM -0400, Jason Holmes wrote:
> I had a similar problem when replacing the RedHat kernel on Enterprise 3
> Update 3. The problem was that the RedHat nfs-utils package didn't work
> properly with the vanilla kernels (even though it's version 1.0.6, it's
> a very much patched version of 1.0.6). After replacing the nfs-utils
> package with a vanilla 1.0.6, things worked fine.

That doesn't really explain what the problem was. Would it be possible
to narrow down which patch exactly from the redhat rpm caused the
problem?

--Bruce Fields


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs