1834942 Members
1988 Online
110071 Solutions
New Discussion

Re: NFS master

 
Amit Manna_6
Regular Advisor

NFS master

Can anybody tell me how to check the NFS master in a domain
6 REPLIES 6
Mobeen_1
Esteemed Contributor

Re: NFS master

Amit,
Please visit the URL below and it answers your question with some additional info.

http://www.ncsa.uiuc.edu/UserInfo/Resources/Hardware/IBMp690/IBM/usr/share/man/info/en_US/a_doc_lib/cmds/aixcmds6/ypwhich.htm

let me know if you have any specific questions

regards
Mobeen
Muthukumar_5
Honored Contributor

Re: NFS master

hai,

File systems are exported based on domain name using exportfs command.

To detect the the server name,we have to use the mount or mount -v options to show the mount points of that server or

use nfsstat -m to get the clients mount directory and mount points and export server details.

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: NFS master

hai,

NFS server are decided based upon the mounting. Any node in that domain can be a NFS server or NFS client.

Is there any points related to NFS [master] in your question.

We can check the exportation of filesystem on the particular node with exportfs -v and server NFS related satistics with nfsstat -s

Domain related export directory decided at nfs permission settings ( root,access,ro,rw)

see the exportfs man page for NIS

Regards,
Muthukumar.
Easy to suggest when don't know about the problem!
Bharat Katkar
Honored Contributor

Re: NFS master

On Master Server:
1. Daemons nfs.core, nfs.server and nfs.client should be running.

2. /etc/rc.config.d/nfsconf should configured accordingly. See man nfsconf

3. put all your Exported files and directories along with the priviledges if any. see man exports

4. Use ps -ef | grep nfs to see all required NFS daemon are running.

On CLient side:
Daemons nfs.core and nfs.client should be running. /etc/rc.config.d/nfsconf should be configured accordingly.
Try mounting any of the exported FileSystem manually.
# mount NFSserver:

See if it works.

Check whether "exportfs -a" is executed from server. This is done automatically when server reboots.
Use "nfststat -a" to record the statistics of NFS.

Hope this helps.
Regards,

You need to know a lot to actually know how little you know
Sridhar Bhaskarla
Honored Contributor

Re: NFS master

Hi Amit,

Sometimes NFS is used in conjunction with NIS like automounting the user home directories, tools etc., If you are talking about such scenario, then you would need to check your auto_master file in /etc directory for the NFS servers used by that system. It may point to different configuration files depending on the type of the mounts (direct or indirect). If they are simply hardmounts, you can look at 'bdf' or 'cat /etc/mnttab'.

Or look at /etc/rc.config.d/nfsconf file to locate the configuration files used by automount/autofs.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Pravin Salgaonkar
Frequent Advisor

Re: NFS master

hi amit
r u the same who worked in bombay stock exchange
regards
pravin