Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Old NFS pbm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RCMN
Apprentice
Apprentice


Joined: 08 Jun 2003
Posts: 203
Location: fr-paris us-minneapolis

PostPosted: Mon May 23, 2005 3:19 am    Post subject: Old NFS pbm Reply with quote

For a long time now i have an issue with NFS and Gentoo.
My NFS server is on FREEbsd 5.3(was before on 4.8,4.9 and so on..) . I use Gentoo since kernel 2.4.x ,i have 2.6.x now .

And through all this changes kernel/nfs client and server update on both part i always had the following pbm:
to mount a remote nfs share from my freebsd to my gentoo box, the mount process take 3 min !!! for each share.

at first i thought it was a problem from my server so i look into it and i couldn't find any pbm.Then i look into the client and found nothing.
Until i had to mount a share from a knoppix cd on my laptop;the mount process was 1 sec .Later i install unbuntu for testing on the same laptop and same result :1 sec on both wireless and eth0. I had on this laptop gentoo and experimenting the same problem that i had on my workstation.

So from those observations it seem that the default nfs client install is not suitable in my environnement.But i don't know what to change or what to look for.

of course i already try a million different conf for my "export " file and my "fstab" file ... for "fstab" same conf that i use for knoppix and ubuntu...

what do they add to the nfs client ? or what gentoo(default install-->handbook) doesn't ?
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Mon May 23, 2005 9:48 am    Post subject: Reply with quote

Using kernel 2.6, are you using the userland NFS client or the kernel support for NFS and the according userland tools?
If the second, what kernel options do you use for your NFS client?
Do you have portmapper or iptables running on your Gentoo box?
I had problems with Gentoo/AIX because of different standard ports (Gentoo exports only work with option insecure in /etc/exports).
Back to top
View user's profile Send private message
RCMN
Apprentice
Apprentice


Joined: 08 Jun 2003
Posts: 203
Location: fr-paris us-minneapolis

PostPosted: Thu May 26, 2005 5:38 am    Post subject: Reply with quote

i don't have nfs-utils installed

my kernel config:

Quote:
#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_RPCSEC_GSS_KRB5=y
# CONFIG_RPCSEC_GSS_SPKM3 is not set
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Fri May 27, 2005 11:07 am    Post subject: Reply with quote

I don't know exactly for the NFS client, but if I understood correctly the NFS support in the kernel is base for some userland programsl. Obviously you can mount NFS Shares without them, but I would give it a shot and try it with NFS-utils.
Back to top
View user's profile Send private message
SpecvWillis
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2005
Posts: 142
Location: Ottawa, Canada

PostPosted: Fri May 27, 2005 11:35 am    Post subject: Reply with quote

Quote:
Do you have portmapper or iptables running on your Gentoo box?


I had this same problem, enabling portmapper fixed it.
Back to top
View user's profile Send private message
RCMN
Apprentice
Apprentice


Joined: 08 Jun 2003
Posts: 203
Location: fr-paris us-minneapolis

PostPosted: Fri May 27, 2005 11:12 pm    Post subject: Reply with quote

/etc/init.d/portmap start
* Starting portmap... [ ok ]

and

it worked so well !!! thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum