View previous topic :: View next topic |
Author |
Message |
imeridian n00b

Joined: 12 Nov 2003 Posts: 67
|
Posted: Wed Nov 19, 2003 5:52 pm Post subject: A little confused on NFS client setup. |
|
|
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 |
|
 |
Lozzer Tux's lil' helper


Joined: 18 Sep 2003 Posts: 84 Location: England
|
Posted: Wed Nov 19, 2003 6:56 pm Post subject: netmount |
|
|
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 |
|
 |
TheCoop Veteran


Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed Nov 19, 2003 8:40 pm Post subject: |
|
|
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 |
|
 |
imeridian n00b

Joined: 12 Nov 2003 Posts: 67
|
Posted: Wed Nov 19, 2003 9:11 pm Post subject: |
|
|
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 |
|
 |
TheCoop Veteran


Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed Nov 19, 2003 10:20 pm Post subject: |
|
|
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 |
|
 |
imeridian n00b

Joined: 12 Nov 2003 Posts: 67
|
Posted: Wed Nov 19, 2003 10:35 pm Post subject: |
|
|
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 |
|
 |
Lozzer Tux's lil' helper


Joined: 18 Sep 2003 Posts: 84 Location: England
|
Posted: Thu Nov 20, 2003 8:13 am Post subject: Confusion |
|
|
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 |
|
 |
|