The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Finding an email address mandriver Shell Programming and Scripting 3 09-17-2008 02:42 PM
Finding an IP address slim1509 UNIX for Dummies Questions & Answers 1 08-31-2007 10:09 AM
Finding IP address of the workstation Vijay Srinivasa UNIX for Dummies Questions & Answers 1 04-07-2006 08:45 AM
Finding LocalHost IP Address hazard0007 UNIX for Dummies Questions & Answers 1 11-14-2003 02:13 PM
Finding an x25 address for a server peter.herlihy IP Networking 1 11-30-2001 10:18 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-09-2009
vineetd vineetd is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 13
Finding IP address of the system hosting an NAS

Hi,

On Solaris 5.8 when I run the command df -F nfs one of the outputs I am getting is:
Code:
pun-filer-01:/vol/Unix/punehome/vineetd

out of which "pun-filer-01" is hostname of the machine on which the NAS device is hosted and /vol/Unix/punehome/vineetd is the mount point.

I am interested in getting the IP address of this machine instead of hostname. Is there any command which can provide me with this information from the Solaris 5.8 machine? I will resolve this Hostname as a last resort only. If there is a command to get the IP then it will be really better.

Please help.

Thanks,

Vineet

Last edited by Yogesh Sawant; 04-09-2009 at 07:18 AM.. Reason: added code tags
  #2 (permalink)  
Old 04-10-2009
sumitpandya sumitpandya is offline
Registered User
  
 

Join Date: Mar 2006
Location: Ahmedabad
Posts: 125
nslookup or dig command

You can write script where you give hostname (from output of df ) to any of nslookup or dig and then parse output again and replace resolved IP-Address into original output of df
  #3 (permalink)  
Old 04-10-2009
melias melias is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 43
look up the Man page for the "showmount" command. One of the options should do what you want.
Closed Thread

Bookmarks

Tags
nas, nfs, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0