2004-09-09 19:36:54

by Hyatt, Daniel J

[permalink] [raw]
Subject: NFS server on startup on Redhat

I installed Redhat 8 and am using the native NFS server.
I have it working with one small detail, and it seems to be a Linux
issue but cannot tell for sure if it is a race condition.

When I setup a startup script to run=20
/etc/init.d/nfs restart=20
In the rc2.d, rc3.d, or rc6.d=20
It wont run.

If I run it manually
/etc/rc2.d/nfs=20

It works perfectly.

But on startup it wont start the NFS server.

Thanks in advance....
Dan


-------------------------------------------------------
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


2004-09-09 20:58:23

by Marc Schmitt

[permalink] [raw]
Subject: Re: NFS server on startup on Redhat

Hi Daniel,

chkconfig is your friend. `chkconfig nfs on` will do all the necessary
stuff to start nfs upon boot.

Greetins,
Marc

Hyatt, Daniel J wrote:
> But on startup it wont start the NFS server.



-------------------------------------------------------
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

2004-09-09 21:11:19

by Roger Heflin

[permalink] [raw]
Subject: NFS issue files and various errors


Hello,

I have two customers that are having some odd nfs issues. Both clusters
and
all components are identical (in terms of network and machine hardware,
network
configuration varies slightly depending on the site). The cluster sizes
are
each in excess of 200 nodes. Both clusters are physically (by several
hundred
miles) and logically separated such that one cannot be affecting the other.

networking hardware is identical and is a non-blocking Gigabit cisco 6509
switch, which is used to connect all of the machines together.

The messages that they are getting on the nfs servers are:

kernel: rpc-src/tcp: nfsd: sent only -107 bytes of ### - shutting down
socket

The have also seen this message on at least one of the nfs clients:
RPC: tcp_data_ready socket info not found!

The kernel is 2.4.21-15.0.3 (Redhat 3.0 WS update 2), using tcp and the
kernel
adjustments needed to do 32k read/write size. The servers and the clients
are all running the same kernel and all of the same software, there are a
mixture of IA64 and I386 machines, the nfs servers are I386, and all of the
clients are IA64's.

I have limited amount of adjustments that I can suggest, I know suggesting
the latest kernel with the latest NFS patches is out (I suggested running
that on the initial build a long time ago), though adjusting various
parameters (either in proc or the src/header files) should not be an issue.

/proc/mounts confirms the 32k read/write, and that tcp is being used.

There are some other odd things happening, the admins and users indicate
that
they have had several instances of editing an existing file and then saving
the
file and that file not being there after they exit and save in the editor.

They are not currently running noac I have told them to run noac as they
have
a couple of other symptons that noac will definitely fix (files created on
one node don't show up on other nodes for a while).

Roger




-------------------------------------------------------
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