All of lore.kernel.org
 help / color / mirror / Atom feed
* nfs problem: nfs could be mounted and viewed but errors on file opening
@ 2004-09-10  5:50 ronald rojas
  2004-09-10 11:22 ` Steve Dickson
  2004-09-10 16:26 ` Trond Myklebust
  0 siblings, 2 replies; 3+ messages in thread
From: ronald rojas @ 2004-09-10  5:50 UTC (permalink / raw)
  To: nfs

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  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nfs problem: nfs could be mounted and viewed but errors on file opening
  2004-09-10  5:50 nfs problem: nfs could be mounted and viewed but errors on file opening ronald rojas
@ 2004-09-10 11:22 ` Steve Dickson
  2004-09-10 16:26 ` Trond Myklebust
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2004-09-10 11:22 UTC (permalink / raw)
  To: ronald rojas; +Cc: nfs

ronald rojas wrote:

>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
>  
>
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  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: nfs problem: nfs could be mounted and viewed but errors on file opening
  2004-09-10  5:50 nfs problem: nfs could be mounted and viewed but errors on file opening ronald rojas
  2004-09-10 11:22 ` Steve Dickson
@ 2004-09-10 16:26 ` Trond Myklebust
  1 sibling, 0 replies; 3+ messages in thread
From: Trond Myklebust @ 2004-09-10 16:26 UTC (permalink / raw)
  To: ronald rojas; +Cc: nfs

P=E5 fr , 10/09/2004 klokka 01:50, skreiv ronald rojas:
> 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

<jgarzik@pobox.com>
        [PATCH] Fix NFS client screw-up in fcntl f_op removal

        Fix stupid thinkos in the fcntl f_op removal code.

<torvalds@ppc970.osdl.org>
        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  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-10 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-10  5:50 nfs problem: nfs could be mounted and viewed but errors on file opening ronald rojas
2004-09-10 11:22 ` Steve Dickson
2004-09-10 16:26 ` Trond Myklebust

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.