Skip to contentSkip to conversation

nfs problem: nfs could be mounted and viewed but errors on file opening

DISCUSSION ronald rojas 3 participants 3 messages Sep 10, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

i'm having problems opening my nfs mounted files on the client machine. Mounting the nfs share on the client goes ok. the user and group permissions are ok. i could even ls -l and cd into the mounted directory and subdirectories but when i open a file (cat somefile.txt) i get a segmentation fault. after that, umounting the nfs share seems to hang.

i noticed this problem when i upgraded the kernel on the client machine from 2.4 to 2.6. (is there any relation?)

server config: client config:
nfs-utils version 1.0.1 nfs-utils version 1.0.1
kernel ver. 2.4.18-14 kernel ver. 2.6.8
redhat 8.0 distro fedora core 1.0

/etc/exports = "/data/revr 192.168.168.1(ro,sync)"
rpcinfo -p localhost on the server:
-bash-2.05b$ /usr/sbin/rpcinfo -p localhost
program vers proto port

    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32768  status
    391002    2   tcp  32769  sgi_fam
    100011    1   udp    856  rquotad
    100011    2   udp    856  rquotad
    100011    1   tcp    859  rquotad
    100011    2   tcp    859  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   udp  32775  nlockmgr
    100021    3   udp  32775  nlockmgr
    100021    4   udp  32775  nlockmgr
    100005    1   udp  32776  mountd
    100005    1   tcp  32770  mountd
    100005    2   udp  32776  mountd
    100005    2   tcp  32770  mountd
    100005    3   udp  32776  mountd
    100005    3   tcp  32770  mountd
rpcinfo -p servername run on the client:
[revr@roach revr]$ /usr/sbin/rpcinfo -p 192.168.168.254
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  32768  status
    391002    2   tcp  32769  sgi_fam
    100011    1   udp    856  rquotad
    100011    2   udp    856  rquotad
    100011    1   tcp    859  rquotad
    100011    2   tcp    859  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100021    1   udp  32775  nlockmgr
    100021    3   udp  32775  nlockmgr
    100021    4   udp  32775  nlockmgr
    100005    1   udp  32776  mountd
    100005    1   tcp  32770  mountd
    100005    2   udp  32776  mountd
    100005    2   tcp  32770  mountd
    100005    3   udp  32776  mountd
    100005    3   tcp  32770  mountd

the nfs-utils on the client was originally 1.0.6. i tried installing nfs-utils 1.0.1 but still the same error message. i hope this information is enough to solve my nfs problem. tia

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw
Quoted 6 lines · ronald rojas

i'm having problems opening my nfs mounted files on the client machine. Mounting the nfs share on the client goes ok. the user and group permissions are ok. i could even ls -l and cd into the mounted directory and subdirectories but when i open a file (cat somefile.txt) i get a segmentation fault. after that, umounting the nfs share seems to hang.

Quoted 9 lines

i noticed this problem when i upgraded the kernel on the client machine from 2.4 to 2.6. (is there any relation?)

server config: client config:
nfs-utils version 1.0.1 nfs-utils version 1.0.1
kernel ver. 2.4.18-14 kernel ver. 2.6.8
redhat 8.0 distro fedora core 1.0

I think you meant Fedora Core 2 since Fedora Core 1 is 2.4 based. And also think my meant to say nfs-utils version 1.0.6 not 1.0.1

This being the case, please upgrade your nfs-utils to latest version on rawhide (1.0.6-32 I believe) since the nfs-utils right out of the box is a bit challenged when it comes to starting things up in the correct order. Plus make sure rpc.imapd is running on the client.

SteveD.

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw
In reply to ronald rojas

P=E5 fr , 10/09/2004 klokka 01:50, skreiv ronald rojas:

Quoted 1 line

kernel ver. 2.6.8

ftp://ftp.kernel.org/pub/linux/kernel/v2.6/LATEST-IS-2.6.8.1

Summary of changes from v2.6.8 to v2.6.8.1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

<[email protected]>
[PATCH] Fix NFS client screw-up in fcntl f_op removal

Fix stupid thinkos in the fcntl f_op removal code.

<[email protected]>

        Linux 2.6.8.1

Trond

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs