LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-20-2008, 02:10 PM   #1
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Rep: Reputation: 15
Finding NFS exports on the server from client


Hi guys,

I want to know if there is a way for me to find the list of NFS exported files on the server from my client side. Like, I have a client and I don't know what is currently exported through NFS on my server and I would like to find it out without going to my server. Is there any way?

Thanks
 
Old 11-20-2008, 02:46 PM   #2
williebens
Member
 
Registered: Jan 2008
Posts: 88

Rep: Reputation: 16
Hello alirezan1:

Become root on the client side, and run the following command:

Quote:
showmount -e IPofServer
or
Quote:
showmount -e serverHostName
You should get a response with something like this:

Quote:
Export list for IPofServer:
/mnt/nfs 192.168.1.0/255.255.255.0
where /mnt/nfs is the directory you are exporting from the nfs server, and
192.168.1.0/255.255.255.0 is the network (or machine) you are exporting it to.

I hope this helps.
 
Old 11-20-2008, 06:09 PM   #3
alirezan1
Member
 
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by williebens View Post
Hello alirezan1:

Become root on the client side, and run the following command:



or


You should get a response with something like this:



where /mnt/nfs is the directory you are exporting from the nfs server, and
192.168.1.0/255.255.255.0 is the network (or machine) you are exporting it to.

I hope this helps.
Great!! it works! Thanks alot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs server on ubuntu doesn't play nice with nfs client on solaris mathiraj Linux - Networking 11 09-15-2009 03:08 PM
SUSE NFS client can't detect an NFS server RedBoot SUSE / openSUSE 4 01-20-2009 12:56 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 06:16 AM
NFS and exports file DanielTan Linux - Networking 12 07-31-2005 12:32 PM
SuSE 9.0 NFS client with RHL 7.3 NFS server ocjacob Linux - Networking 0 02-01-2005 02:01 PM


All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration