1832789 Members
3274 Online
110045 Solutions
New Discussion

Re: NFS Mount - Question

 
Vasudevan MV
Frequent Advisor

NFS Mount - Question

Hi,

Can anyone tell me the command to check whether a particular directory is NFS Mounted or not?

Thanks
Vasu
8 REPLIES 8
melvyn burnard
Honored Contributor

Re: NFS Mount - Question

man showmount
or
man exportfs
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Michael Tully
Honored Contributor

Re: NFS Mount - Question

Hi,

On the server it will be in /etc/exports
On the client they will be shown in /etc/fstab

HTH
-Michael
Anyone for a Mutiny ?
Animesh Chakraborty
Honored Contributor

Re: NFS Mount - Question

Hi,
Not sure what you want.
at nfs server see
#cat /etc/exports for the directory made for nfs mount
at client just do a bdf.
In case if you are using automount check /etc/auto.direct at server end.

Best of luck
Animesh
Did you take a backup?
Christopher McCray_1
Honored Contributor

Re: NFS Mount - Question

On the client end, you will see in the output of bdf something like the following:

nfs_servername:/dev/vg##/lvol# ... /client_fs

Also looking in fstab on the client and /etc/exports on the server.

Hope this helps
Chris
It wasn't me!!!!
Ravi_8
Honored Contributor

Re: NFS Mount - Question

Hi,
at the server end #exportfs shows all the file systems that are exported, at the client end /etc/fstab file and bdf shows the NFS mounted file systems
never give up
Eugen Cocalea
Respected Contributor

Re: NFS Mount - Question

Hi,

df -g

on the 2nd column, 5th row, it is specified the filesystem type.

E.
To Live Is To Learn
ckchua
Occasional Advisor

Re: NFS Mount - Question

Hello,

The easiest way is:

# bdf

from the NFS Client machine. You should see list of NFS mounted directory after the regular volume group.

If the NFS mounted directory is there, you could proceed to change to the NFS directory and issue
# ll

You should see some files there if the source directory (NFS Server) has the files.

If you are still facing un-accessable directory, please make sure your third party NFS S/W is not an evaluation copy. I have faced this problem before.

Good luck !

regards
ckchua
Deshpande Prashant
Honored Contributor

Re: NFS Mount - Question

HI
#showmount -a will show all remote mounts
#showmount -e will show all exported file systems.

HTH
Prashant.
Take it as it comes.