Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A little confused on NFS client setup.
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
imeridian
n00b
n00b


Joined: 12 Nov 2003
Posts: 67

PostPosted: Wed Nov 19, 2003 5:52 pm    Post subject: A little confused on NFS client setup. Reply with quote

I have NFS setup and working with one slight 'glitch' in regards to the client setup.

The slight problem is that I'm unsure as to how I'm supposed to start rpc.statd and rpc.lockd. If I start /etc/init.d/nfs I get them running; however, I don't want to be starting an NFS server process on the client so this seems wrong. Plus when I run that startup script I get " Error starting NFS daemon" which makes sense because I'm not starting one anyway.

I also looked at /etc/init.d/nfsmount, but that seems to only mount NFS shares at boot and doesn't start the required services to get NFS to work -- at least as far as I can tell.

Maybe I'm being a little uptight about not wanting errors, but I think I'm missing something. Shouldn't there be a 'nfsclient' sort of startup script that starts *only* services required for clients?
Back to top
View user's profile Send private message
Lozzer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2003
Posts: 84
Location: England

PostPosted: Wed Nov 19, 2003 6:56 pm    Post subject: netmount Reply with quote

I've got /etc/init.d/netmount added to my default level. It seems to do the right thing (I have portmap, rpciod and lockd running). Scanning the code for a couple of minutes, I couldn't figure out why it hasn't started nfsd as well...
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Wed Nov 19, 2003 8:40 pm    Post subject: Reply with quote

afaik you dont need nfsd for clients, you just need nfs client support in the kernel, add the correct line to /etc/fstab, and /etc/init.d/netmount start
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
imeridian
n00b
n00b


Joined: 12 Nov 2003
Posts: 67

PostPosted: Wed Nov 19, 2003 9:11 pm    Post subject: Reply with quote

Hmmm, it looks like /etc/init.d/netmount should do what I need combined with the entry in the fstab. I was sort of wanting to get this working on a selective basis, but automounting at boot would work too. Thanks, I'll have to give it a try. :)
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Wed Nov 19, 2003 10:20 pm    Post subject: Reply with quote

you can add 'noauto' to the mounts you dont want on startup
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
imeridian
n00b
n00b


Joined: 12 Nov 2003
Posts: 67

PostPosted: Wed Nov 19, 2003 10:35 pm    Post subject: Reply with quote

Thanks :) It seems as though I had netmount already in my default, I also added nfsmount (just to be sure because of that, might not be necessary) and put the entry in my fstab, it definitely works the way I would expect now.
Back to top
View user's profile Send private message
Lozzer
Tux's lil' helper
Tux's lil' helper


Joined: 18 Sep 2003
Posts: 84
Location: England

PostPosted: Thu Nov 20, 2003 8:13 am    Post subject: Confusion Reply with quote

Sorry about the slight confusion caused by my post. I was only commenting on my script reading abilities when I said I couln't figure out why nfsd didn't get started. I didn't mean to imply I thought it should be started.
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