NFS Interview Questions & Answers part 4

0
901

Q: – Can we grant access by Username and password for nfs share?

No, access is granted only for IP address.

Q: – Which option is used with exportfs command to display the current export list, also displays the list of export options?

exportfs -v

Q: – Which option is used with exportfs command to re-export all directories?

exportfs -r

Q: – What is the role of "all_squash" option?

Treat all client users as anonymous users. Map all user and group IDs to the anonymous user and group ID.

Q: – Explain command "/usr/sbin/exportfs -f"?

 

It will flush everything out of the kernels export table. Any clients that are active will get new entries added by mountd when they make their next request.

Q: – How you will export directory (/data) to host 192.168.1.51, allowing asynchronous writes without adding the entry in /etc/exports file?

 

 # exportfs -o async 192.168.1.51:/data

Q: – What is the role of "root_squash" option?

All requests from the user root are translated or mapped as if they came from the user anonymous (default).

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

SHARE

LEAVE A REPLY