Skip to main content

List and explain all the status files in NFS.

64.List and explain all the status files in NFS.
Ans.
1. /var/lib/nfs.rmtab – It list each NFS export that is mounted by an NFS client. It uses the Daemon rpc.mountd since it is responsible for servicing the request to mount NFS exports.
Whenever , rpc.mounted daemon receives request, it adds an entry into /var/lib/nfs/rmtab. The same goes for unmounts request but in that case entry is removed from status file.

2. /var/lib/nfs/etab – It contains list of currently exported filesystem, the exportfs command maintains the entries in this file.

3. These three scripts which are initialized and controls the required NFS server daemons /etc/rc.d/init.d/portmap
/etc/rc.d/init.d/nfs
/etc/rc.d/init.d/nfslock

4. The portmap scripts starts the portmap daemon also called as portmapper. All programs that uses RPC, such as NIS and NFS, depends on the information the portmapper provides.

5. The primary NFS startup script is /etc/rc.d/init.d/nfs, It requires single argument. E.g. start, stop, restart or reloaded. These commands are executed as follows:
#service nfs status
#service nfs stop
#service nfs start
#service nfs restart
#service nfs reload

6. NFS service also requires the file locking daemons lockd and statd. Lockd is started automatically but statd is started separately. To carry out this process initialization script can also be useful i.e. /etc/rc.d/init.d/nfslock

Comments

Popular posts from this blog

Java,ES,QT practical files

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

Vidyalankar Question paper solutions

Download from their website: http://www.vidyalankar.org/index.aspx or just click here to download

How loader works? State the difference between GRUB and LILO.

29.How loader works? State the difference between GRUB and LILO. Ans. 1. GRUB stands for ‘Grand Unified Bootloader’. 2. The Bootloader is the software program. 3. If you have multiple kernel images installed on your system, you can choose which one to be executed. 4. GRUB displays a splash screen, waits for few seconds, if you don’t enter anything, it loads the default kernel image as specified in the grub configuration file. (grub.conf in /boot) 5. GRUB has the knowledge of the filesystem (the older Linux loader LILO didn’t understand filesystem). 6. Grub configuration file is/boot/grub/grub.conf (/etc/grub.conf is a link to this). 7. # GRUB LILO 1 GRUB stands for ‘Grand Unified Bootloader’. LILO stands for Linux Loader. 2 GRUB supports an unlimited number of boot entries. LILO supports only up to 16 different boot selection. 3 GRUB can boot from network. ...