NFS Interview Questions & Answers part 2

0
1208
Q: – How to retrieve a list of clients connected to the NFS server ?

 

To retrieve a list of clients connected to the NFS server, use the showmount command from a shell prompt. To also show the directories the clients are connected to, use the showmount -a command.

Q: – Which kernel module is used by "rpc.nfsd"?

nfsd.o kernel module

Q: – Explain the working of NFS mount daemon "rpc.mountd"?

The rpc.mountd program implements the NFS mount protocol. When receiving a MOUNT request from an NFS client, it checks the request against the list of currently exported file systems. If the client is permitted to mount the file system, rpc.mountd obtains a file handle for requested directory and returns it to the client.

Q: –Name of Configuration file for NFS Server ?

/etc/exports

Q: – Explain option "all_squash"?

 

The UID and GID of exported files are mapped to the user anonymous. It is good for public directories.

Q: – Explain "exportfs" command?

The exportfs command is used to maintain the current table of exported file systems for NFS.

Q: – What is meaning of "no_root_squash" option ?

Treat remote root user as local root. Do not map requests from root to the anony-
mous user and group ID.

Q: – Explain "Soft Mounting" option at NFS Client?

 

if a file request fails, the NFS client will report an error to the process on the client machine requesting the file access. if it cannot be satisfied (for example, the server is down), then it quits. This is called soft mounting.

Q: – Explain "Hard Mounting" option at NFS Client?

 

If a file request fails, the NFS client will report an error to the process on the client machine requesting the file access. if it cannot be satisfied, then it will not quit until the request is satisfied. This is called Hard mounting.

Submitted By:-Jai Kundu           Email-ID: – jaikundu2@ibibo.com

SHARE

LEAVE A REPLY