IT Community - Software Programming, Web Development and Technical Support

NFS server

This is a discussion on NFS server within the Operating Systems forums, part of the Computer Hardware/Software and Networking category; Hi guys Which NFS daemons are found on the NFS server?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Computer Hardware/Software and Networking > Operating Systems

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-18-2007, 03:55 AM
vigneshgets vigneshgets is offline
D-Web Genius
 
Join Date: Mar 2007
Posts: 904
vigneshgets is on a distinguished road
Lightbulb NFS server

Hi guys Which NFS daemons are found on the NFS server?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-20-2007, 08:53 AM
Venkat Venkat is offline
D-Web Master
 
Join Date: Mar 2007
Posts: 350
Venkat is on a distinguished road
Thumbs up Re: NFS server

hey,

General NFS daemons

The nfs-utils package

NFS is implemented as a set of daemons. These can be recognized by their name: they all start with the rpc. prefix followed by the name of the daemon. Among these are: rpc.nfsd (only a support program in systems with a kernel NFS server), rpc.mountd, rpc.lockd and rpc.statd.

The source for these daemons can be found in the nfs-utils package (see [NFS] for more information on nfs-utils). It will also contain the source of other support programs, such as exportfs, showmount and nfsstat. These will be discussed later in the section called “Exporting filesystems” and the section called “Testing NFS”.

Distributions may provide nfs-utils as a ready-to-use package, sometimes under different names. Debian, for example, provides lock and status daemons in a special nfs-common package, and the NFS and mount daemons in nfs-*server packages (which come in user-space and kernel-space versions).

Each of the daemons mentioned here can also be secured using the tcp wrapper. Details in the section called “Securing NFS”.
NFS server software

The NFS daemon

When implementing an NFS server, you can install support for an kernel-space or an user-space NFS server, depending on the kernel configuration. The rpc.nfsd command (sometimes called nfsd) is the complete NFS server in user space. I kernel space, however, it is just a support program that can start the NFS server in the kernel.

A kernel-space or a user-space NFS server

The kernel-space NFS server

The kernel-space NFS server is part of the running kernel. A kernel NFS server appears as [nfsd] in the process list.

The version of rpc.nfsd that supports the NFS server inside the kernel is just a support program to control NFS kernel server(s).

The user-space NFS daemon

The rpc.nfsd program can also contain an old-fashioned user-space NFS server (version 2 only). A user-space NFS server is a complete NFS server. It can be recognized as rpc.nfsd in the process list.

The mount daemon

The mountd (or rpc.mountd) mount-daemon handles incoming NFS (mount) requests. It is required on a system that provides NFS server support.

The configuration of the mount daemon includes exporting (making available) a filesystem to certain hosts and specifying how they can use this filesystem.

Exporting filesystems, using the /etc/exports file and the exportfs command will be discussed in the section called “Exporting filesystems”.

The lock daemon

A lock daemon for NFS is implemented in rpc.lockd.

You won't need lock-daemon support when using modern (2.4.x) kernels. These kernels provide one internally, which can be recognized as [lockd] in the process list. Since the internal kernel lock-daemon takes precedence, starting rpc.lockd accidentally will do no harm.

There is no configuration for rpc.lockd.

The status daemon

According to the manual page, status daemon rpc.statd implements only a reboot notification service. It is a user-space daemon - even on systems with NFS version 3 support. It can be recognized as rpc.statd in the process listing. It is used on systems with NFS client and NFS server support.

There is no configuration for rpc.statd.
__________________
Venkat
knowledge is Power
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
The server rejected one or more recipient addresses. The server response was: 550 5.7 poornima ASP and ASP.NET Programming 7 02-29-2008 01:07 AM
Copy SQL data structures from one SQL server to another SQL server? arjkhanna Server Management 5 11-05-2007 03:57 AM
What is a Linked Server in sql server 2005? Archer Database Support 2 08-14-2007 04:24 AM
How to create and use server side cursors in SQL Server? oxygen Database Support 2 08-01-2007 08:54 AM
Where are SQL server users names and passwords are stored in sql server? H2o Database Support 2 07-19-2007 01:15 AM


All times are GMT -7. The time now is 01:40 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0