NFS Interview Questions & Answers part 1

0
3345
Q: – Explain this entry /shared 192.168.1.0/255.255.255.0(sync,rw)

 

allows all systems with 192.168.1.* IP addresses read-write access to the /shared/ directory:

Q: – 192.168.1.51:/data is exported by NFS Server and i want to add this NFS share to client /etc/fstab file. How you will add this entry in /etc/fstab file?

# device                      mount-point     fs-type     options      dump   fsckorder

192.168.1.51:/data            /mnt           nfs               rw              0         0

Q: – What will happened if a space is given in between allowed_hosts and (options)

If a space is included, the options are applied to any and all IP addresses, which can be quite dangerous if write permission is granted.

 
Q: – What is "portmap"?
 

The portmapper keeps a list of what services are running on what ports. This list is used by a connecting machine to see what ports it wants to talk to access certain services.

Q: – 192.168.1.51:/data is exported by NFS Server and i want to add this NFS share to client /etc/fstab file. How you will add this entry in /etc/fstab file?

 

# device                      mount-point     fs-type     options      dump   fsckorder

192.168.1.51:/data            /mnt           nfs               rw              0         0

Q: – What is the role of "sync" option for NFS server

If sync is specified, the server waits until the request is written to disk before responding to the client. The sync option is recommended because it follows the NFS protocol.

Q: – What do you understand by "nfsstat –nfs –server -3" command?

 

It will show statistics for NFS version 3 server.

Q: – Can NFS share mounted on Window XP and Justify your answer?

 

No, Window XP operating system doesn’t support nfs protocol.

 

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

 

SHARE

LEAVE A REPLY