1829005 Members
2516 Online
109986 Solutions
New Discussion

NFS mounted

 
Dan Maul
Trusted Contributor

NFS mounted

I have a file system that is belived to NFS mounted. How can I verify if it is??

Our Administrator is vacation.

Please advise.

Thanks!!
I always keep a supply of stimulant handy in case I see a snake--which I also keep handy.
11 REPLIES 11
Kent Ostby
Honored Contributor

Re: NFS mounted

bdf will show it in the 1st column.

Instead of the filesystem starting with a "/" (such as /dev/vg00/lvol1), it will start with a machine name.

For example:

afthrs.atl.hp.com:/data

Best regards,

Kent M. Ostby

"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Massimo Bianchi
Honored Contributor

Re: NFS mounted

execute this command:

mount -p | grep -i nfs

all the entries of the form

hostname:directory /other_directory

are nfs mounts

Massimo
James R. Ferguson
Acclaimed Contributor

Re: NFS mounted

Hi Dan:

# showmount

...will show all remote mounts

# cat /etc/exports

...will list the directories that can be exported to NFS clients

# cat /etc/xtab

...will show currently exported directories

Regards!

...JRF...
RAC_1
Honored Contributor

Re: NFS mounted

mount point will start with hostname.

bdf -t nfs
There is no substitute to HARDWORK
Dan Maul
Trusted Contributor

Re: NFS mounted

Thanks for the quick response!!

OK, I tried several things to verify.
bdf does not show it to be a nfs mount.
However it is listed in /etc/exports and /etc/xtab.
When I did the bdf -t nfs no information was
returned.

Please help.
I always keep a supply of stimulant handy in case I see a snake--which I also keep handy.
Marco Santerre
Honored Contributor

Re: NFS mounted

Looks like what you want to know is what is exported to other clients as opposed to what is imported from other server.

#showmount -e

will show you all file systems that are exported and who has them mounted.
Cooperation is doing with a smile what you have to do anyhow.
Dan Maul
Trusted Contributor

Re: NFS mounted

showmount -e gives the following reply:
/devl/u00/applic/psoft/vertex_2 (everyone)
this is the file system that I need to confirm
is nfs mounted. I assume it is since show mount is showing it and it's listed in the /etc/exports & /etc/xtab.

Would I be correct?
I always keep a supply of stimulant handy in case I see a snake--which I also keep handy.
James R. Ferguson
Acclaimed Contributor

Re: NFS mounted

Hi (again) Dan:

See the man pages for 'showmount(1M). The options '-a', '-d' and '-e' allow you to distingush what is exported for mounting ('-e') and what has been mounted by a client ('-a' and '-d').

Regards!

...JRF...
Dan Maul
Trusted Contributor

Re: NFS mounted

Thanks all... This issue has been resolved.

We were not able to map to this file system, thus they wanted me to verify it was nfs mounted. It was. We were not able to connect to until I did a chmod on the file.

Thanks again all!!
I always keep a supply of stimulant handy in case I see a snake--which I also keep handy.
Brian Vance
Advisor

Re: NFS mounted

If showmount -e shows the file system, it is NFS shared from this machine. When you say NFS mounted to you mean on the system you are running the showmount command on or exported from this system mounted on another?
Dan Maul
Trusted Contributor

Re: NFS mounted

Brian,

Yes I was talking about the system on which I ran showmount -e.
I was typing rather quickly and did not make myself clear. Sorry for that.
I always keep a supply of stimulant handy in case I see a snake--which I also keep handy.