Operating System - HP-UX
1819905 Members
2995 Online
109607 Solutions
New Discussion юеВ

checking NFS mounted dir for status

 
Joe Pepe
Occasional Contributor

checking NFS mounted dir for status

I have four HPJ5600s that are NFS mounted to each other. Each acts as a client and a server. I have a 2G directory on each disk distinguished as follows:
/OSE/ecdws1/
/OSE/ecdws2/
/OSE/ecdws3/
/OSE/ecdws4/
Is there a command I can use to check if my mounted directory is available to write and read from? (i.e/: without having to do an open on a file that is in the directory)? I don't hink "showmount" gives me what I need. Am I wrong?
3 REPLIES 3
S.K. Chan
Honored Contributor

Re: checking NFS mounted dir for status

# showmount -e

provided /etc/rmtab is clean.
Helen French
Honored Contributor

Re: checking NFS mounted dir for status

Hi,

Check the /etc/exports file for checking out the permissions.

# cat /etc/exports

HTH,
Shiju
Life is a promise, fulfill it!
Michael Tully
Honored Contributor

Re: checking NFS mounted dir for status

Hi,

The 'showmount' command should give you what you want.

-a Print all remote mounts in the format of name:directory
-d List directories that have been remotely mounted by clients.
-e Print the list of exported file systems.

# showmount -e myhost

-Michael
Anyone for a Mutiny ?