Skip to main content

Explain the NFS server daemons.

62.Explain the NFS server daemons.
Ans.
NFS server needs following daemons:
1. /sbin/rpc.lockd
It starts kernel’s lock manager.

2. /usr/sbin/rpc.mountd
It processes nfs client’s mount requests.

3. /usr/portmap
It allows client’s to discover services available on the NFS server.

4. /sbin/rpc.statd
It manages lock recovery in case of server crash

5. /usr/sbin/rpc.nfsd
It provides all nfs services other than file locking and quotas.

6. /usr/sbin/rpc.rquotad
It provides NFS client’s quota information of NFS exports.

7. rpc.gssd
Creates security contexts on RPC clients for exchanging RPC information using SecureRPC (RPCSEC) using GSS.

8. rpc.svcgssd
Creates security contexts on RPC servers for exchanging RPC information using SecureRPC (RPCSEC) using GSS.

9. rpc.idmapd
Maps local user and group names to NFSv4 IDs (and vice versa).

10. To start the NFS services there are two commands as follows:
#service nfs start
#/etc/rc.d/init.d/nfs.start

11. The startup scripts starts eight copies of nfsd to enable the server to process multiple request simultaneously. If user wants to change this value then edit /etc/sysconfig/nfs and add a line as follow:
RPSNFDCOUNT =n
n will be replaced by the number of nfsd process according to user.
Example:
#cat>/etc/sysconfig/nfs
RPSNFDCOUNT = 16

Comments

Popular posts from this blog

Java,ES,QT practical files

All practical files: Click below to start download Uploaded on special request||||

Absolute Links vs. Relative Links – SEO Value

Absolute Links vs. Relative Links – SEO Value The debate between  absolute links and relative links  continues to live on in the SEO world. The individual significance of each has been contested, but it is widely regarded that absolute links provide better SEO value on the whole than relative links. Many believe that absolute links have less potential for getting messed up when search engines index your page. It shouldn’t really make a difference, but many conclude that this is reason enough. Read more...

What are the server and client security considerations?

72.What are the server and client security considerations? Ans. Server security considerations: 1. Always use the root_squash option in /etc/exports. 2. Enabled by default so do not disable it. 3. With root squashing clients root account can’t even access or change files that only server’s root account can change or access. Client security considerations: 1. Disable SUID (set UID) programs on NFS mounts using nosuid option. 2. Prevents server’s root account from creating an SUID root program on an exported FS, logging in to the clients as a normal user, and then using the UID root program to become root on the client.