Skip to contentSkip to conversation

NFS server problem with kernel 2.6.8.1

DISCUSSION Yuan Xu 2 participants 3 messages May 17, 2005 – May 18, 2005 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Yuan Xu

author
#0 lore raw

Dear all
This problem is caused by running up2date of Redhat linux!!!

When I was running kernel 2.4.21-27.0.2.ELsmp my nfs server worked fine and after upgrading to 2.6.x via Redhat RHN my NFS sever no longer works.
Right now the NFS server is running kernel 2.6.8.1 SMP, x86_64 and I can mount to all other machines from this server and got no problems but when try to mount other machines to the server via NFS I always got error messages such that:
mount: carnot:/home/people failed, reason given by server: Permission denied.
I have NFS servers running on kernel 2.4.x and 2.6.11-1.14_FC3 machines and they all work fine but this 2.6.8.1 machine
The permission of people directory is fine as comparing with the directories exported on other NFS servers.

On my 2.6.8.1 server I checked via rpcinfo and got:

   100000    2   tcp    111  portmapper
   100000    2   udp    111  portmapper
   100024    1   udp  32768  status
   100024    1   tcp  32768  status
   100021    1   udp  32769  nlockmgr
   100021    3   udp  32769  nlockmgr
   100021    4   udp  32769  nlockmgr
   100021    1   tcp  32769  nlockmgr
   100021    3   tcp  32769  nlockmgr
   100021    4   tcp  32769  nlockmgr
   391002    2   tcp  32770  sgi_fam
   100011    1   udp    931  rquotad
   100011    2   udp    931  rquotad
   100011    1   tcp    934  rquotad
   100011    2   tcp    934  rquotad
   100003    2   udp   2049  nfs
   100003    3   udp   2049  nfs
   100003    2   tcp   2049  nfs
   100003    3   tcp   2049  nfs
   100005    1   udp    945  mountd
   100005    1   tcp    948  mountd
   100005    2   udp    945  mountd
   100005    2   tcp    948  mountd
   100005    3   udp    945  mountd
   100005    3   tcp    948  mountd
   300019    1   tcp    956  amd
   300019    1   udp    957  amd

It looks fine comparing with other NFS servers.

But I could not see sunrpc loaded when I ran lsmod on this server, and all other NFS server show:
lsmod | grep sun
sunrpc 91880 1 (autoclean) [nfs nfsd lockd]

It seems the sunrpc module is not loaded. Checked the server's /boot and found config-2.4.21-27.0.2.ELsmp but do not see file like config-2.6.8.1.x . Checked modprobe and it returned:

modprobe sunrpc
FATAL: Module sunrpc not found.
FATAL: Error running install command for sunrpc

Is the NFS problem caused by this sunrpc? and if so
do I have to recompile the kernel to load this sunrpc or any quick fix of the problem

Any help will be much appreciated

Yuan

Signature · 21 lines
Have a good day

Yuan
4097476805(O), 2816145220(H)
[email protected]
http://www.scsb.utmb.edu
http://www.scsb.utmb.edu/Compu_Core/index.html
http://pauli.utmb.edu/yuan





-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
#1 lore raw

On Tue, 17 May 2005 at 3:44pm, Yuan Xu wrote

Quoted 2 lines

Dear all
This problem is caused by running up2date of Redhat linux!!!

There is no Redhat Linux. There is Red Hat Enterprise Linux, and there is Fedora. Which you are running makes a big difference.

Quoted 3 lines

When I was running kernel 2.4.21-27.0.2.ELsmp my nfs server worked fine and after upgrading to 2.6.x via Redhat RHN my NFS sever no longer works.

The first kernel is from RHEL3, which has no option for a 2.6 kernel via RHN. Did you try to up2date the server to RHEL4? In general, that is not recommended.

Quoted 1 line

Right now the NFS server is running kernel 2.6.8.1 SMP, x86_64 and I can

That's not a Red Hat kernel.

Signature · 13 lines
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Please keep replies on the list so that all can chip in.

On Tue, 17 May 2005 at 4:19pm, Yuan Xu wrote

Quoted 4 lines

All I did was upgrading via RHN and yes I was running Enterprise AS3 EHEL3 before. I even did not know I got a new kernel till I booted the machine after running RHN. Believe me that 2.6.x was what I got from running up2date.

I'm sorry, but no, you didn't. There isn't and there never will be a 2.6 kernel release from Red Hat for RHEL3.

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

When I was running kernel 2.4.21-27.0.2.ELsmp my nfs server worked fine and after upgrading to 2.6.x via Redhat RHN my NFS sever no longer works.

That doesn't surprise me, as there are lots of differences between 2.4 and 2.6 and RHEL3 isn't a 2.6 ready distro out of the box.

Quoted 8 lines
Quoted 3 lines

The first kernel is from RHEL3, which has no option for a 2.6 kernel via RHN. Did you try to up2date the server to RHEL4? In general, that is not recommended.

No, I did not try to upgrade to RHEL4 via up2date since I support expired not long ago. It sees to me FC3 works much better.
I do not want to go into FC3 on this machine b/c it loaded with lots of stuff (3rd party programs). Just want to make NFS server work again

Quoted 1 line
Quoted 4 lines
Quoted 3 lines
Quoted 1 line

Right now the NFS server is running kernel 2.6.8.1 SMP, x86_64 and I can

That's not a Red Hat kernel.

So it is a FC3 kernel?

No. 2.6.8.1 is a vanilla kernel, i.e. from kernel.org. Someone else must have installed that, b/c RHN sure didn't. Your best bet is to move the system back to the most recent official RH kernel you have access to (the most recent RHEL3 kernel is 2.4.21-27.0.4.EL).

Signature · 13 lines
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
NFS maillist  -  [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs