Contribute  :  Calendar  :  Advanced Search  :  Site Statistics  :  Directory  :  Contact Us  :  Mailing List  :  Web Resources  :  Polls  :  My Downloads  :  Media Gallery  
    Highland Lakes Linux User Group Bringing GNU/Linux and F/OSS to the Highland Lakes    
 Welcome to Highland Lakes Linux User Group
 Sunday, May 11 2008 @ 07:41 PM MDT

How to get mount info from NFS server remotely

   
Linux Tipsshowmount - show mount information for an NFS server

Option:
-e or --exports <Show the NFS server’s export list.>

Example:
(NFServer=hostname of server @192.168.1.5, 192.168.1.x=wired network, 192.168.2.x=wireless network)

lee@linXos:~$ showmount -e NFServer
Export list for NFServer:
/mnt/MythTV 192.168.1.0/24
/mnt/smb/public 192.168.2.0/28,192.168.1.0/24
/mnt/smb 192.168.1.0/24,192.168.2.6,i1100,i3200,i9300
/mnt/media guest7,i9300,linXos
/mnt/smb/usr/lee i9300,linXos
/mnt/smb/usr/barb i1100,barb
/mnt/smb/usr/kristeen 192.168.2.6,i3200,KPcomix

Now it can be determined remotely that machine "linXos" (192.168.1.2) could locally mount "/mnt/MythTV", "/mnt/smb/public", "/mnt/smb", "/mnt/media", and "/mnt/smb/usr/lee".

Adding the following to "/etc/fstab" on the client machine would automatically mount 3 of the allowed partitions at boot:

NFServer:/mnt/smb /media/smb nfs tcp,rsize=8192,wsize=8192,timeo=14,intr 0 0
NFServer:/mnt/media /media/media nfs tcp,rsize=8192,wsize=8192,timeo=14,intr 0 0
NFServer:/mnt/smb/public /media/public nfs tcp,rsize=8192,wsize=8192,timeo=14,intr 0 0

 

What's Related

Story Options

How to get mount info from NFS server remotely | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
 Copyright © 2008 Highland Lakes Linux User Group
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.23 seconds