1831360 Members
2720 Online
110024 Solutions
New Discussion

Re: nfs.core

 
SOLVED
Go to solution
Wilfred Chau_1
Respected Contributor

nfs.core

How do you keep nfs.core to run,
when system reboots?
4 REPLIES 4
Paul T. Green
Advisor
Solution

Re: nfs.core

The startup script nfs.core is a link from the /sbin/rc2.d dir to the /sbin/init.d dir. Depending why you want to do this you may just want to take off the executable (permissions are set to 555) permissions from it.
Also do not forget that there is also and nfs.server script.

Do a search on the /etc/rc.log for nfs and you'll see the execution of the nfs.core script when the server boots.

We'd like to know a little bit about you for our files.... Paul Simon
Patrick Wallek
Honored Contributor

Re: nfs.core

If you want your NFS server and/or NFS client daemons to start automatically every time the system reboots you need to edit the file /etc/rc.config.d/nfsconf so that the NFS_CLIENT and NFS_SERVER lines = 1. The one says to start those daemons when the system reboots.

Excerpt from /etc/rc.config.d/nfsconf:

NFS_CLIENT=1
NFS_SERVER=1
Wilfred Chau_1
Respected Contributor

Re: nfs.core

I just want to turn off unnecessary processes for my box. Since we are not using nfs server & client, I turn those off plus I want to turn off nfs.core as well. This is what I am at now. Sounds like I have to change the script in /sbin/init.d.
Steven Sim Kok Leong
Honored Contributor

Re: nfs.core

Hi,

If you intend to run rpc.statd and rpc.locked, these two are loaded in /sbin/init.d/nfs.client and /sbin/init.d/nfs.server.

Under some circumstances, these two daemons of rpc.statd and rpc.lockd are needed, such as when you need to access PFS via pfsd and pfs_mountd.

rpcbind is loaded in nfs.core, nfs.server, nfs.client, nis.server, nis.client if it is not loaded during the period the script is being run. Applications that require remote procedure call would need rpcbind to be running.

Hope this helps. Regards.

Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com