How to determine share name of Linux server?


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat How to determine share name of Linux server?
# 8  
Old 08-02-2014
Hi Hick,
Quote:
To display the NFS handles offered by a remote node
Is this something which we are talking about share name for NFS mount point ?

Code:
# showmount <ip address of node

Should this command be run as root user ?

Regards,
Maddy
# 9  
Old 08-02-2014
On NFS client, as root user, run

showmount -e <NFS_Server_IP>

the above command displays NFS shares exported by the remote NFS server. Then run below command as root user to mount it locally.

mount -F nfs <NFS_Server_IP>:<SHARE_NAME> /local_mount_point
This User Gave Thanks to prvnrk For This Post:
# 10  
Old 08-04-2014
Thanks prvnrk,Robin and Hick .
# 11  
Old 08-04-2014
If you have autofs running
Code:
service autofs status

and it has /net -hosts in auto.master, then you can browse /net
Code:
cd /net/nfsserver
ls

(This is a nice presentation. Behind the scenes automounter runs showmount -t)

Last edited by MadeInGermany; 08-04-2014 at 05:08 PM..
This User Gave Thanks to MadeInGermany For This Post:
# 12  
Old 08-05-2014
Thank you
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Mounting Windows Share to Linux Server

Hi Folks - I need to mount a Windows Share to a Linux server. What is the best/easiest way to do this? Is this 'how-to' guide accurate: How to Share Files Between Windows and Linux Or is there a better method you could share? Thanks! (8 Replies)
Discussion started by: SIMMS7400
8 Replies

2. Shell Programming and Scripting

Script to determine server IP

Need help with the script, I am trying to include this script as part of kickstart profile. based of the host's IP address, in this case if the host is IP starting with 10.10.3.* or 10.10.6.*, I will be pushing appropriate routing file from my web server. I validate host IP from nslookup. ... (3 Replies)
Discussion started by: bobby320
3 Replies

3. Web Development

Script to determine which web server at ip addresses

how do we determine if ip addresses are hosting IIS version 7.x or Apache 2.2.x. ? (3 Replies)
Discussion started by: NameSake
3 Replies

4. Shell Programming and Scripting

Determine if variable is the Server component of UNC

Hi all, Using sh/csh, unfortunately shell scripts are not my strong suit. Trying to write a script that gets called from a program for pre-processing. The program passes individual components of a UNC (//server/path1/path2/filename). Thus the unc path of: //server/path1/path2/filename, is... (7 Replies)
Discussion started by: Festus Hagen
7 Replies

5. Red Hat

Unable to access NFS share on Solaris Server from Linux client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. share -F nfs -o rw /var/share & then ran the following svcadm -v enable -r... (3 Replies)
Discussion started by: SunilB2011
3 Replies

6. Solaris

Can't access NFS Share on Solaris Server from a Linux Client

Hi, I am trying to access a NFS shared directory on Solaris 10 Server from a client which is RHEL 4 Server. On the NFS Server, in /etc/dfs/, I added following line to dfstab file. & then ran the following On the client machine, while running the mount command, I am... (0 Replies)
Discussion started by: SunilB2011
0 Replies

7. IP Networking

How to Determine client's DNS server Ip

Is there a way for a server to determine client's DNS ip? I have an application that logs client's IP but in certain cases its desirable to know their DNS too (1 Reply)
Discussion started by: vickylife
1 Replies

8. UNIX for Dummies Questions & Answers

Linux Server Network Settings - Share Directory Structure

Hello Unix Gurus Who I Hope Reads This, I have quasi-inherited control over a Linux cluster at a university research lab. The post-doc that set it up is gone, and the person in charge of administering the cluster doesn't know a ton about Linux. Amongst other things, I want to use the cluster... (0 Replies)
Discussion started by: mbl
0 Replies
Login or Register to Ask a Question