On Solaris 5.8 when I run the command df -F nfs one of the outputs I am getting is:
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
I am trying to find the x25 address of a server. Presumably this is stored in some sort of config file - and while I can find the IP and OSI addresses - I cannot work out where to find the x25 address.....any ideas? (Unix on Solaris) (1 Reply)
I am writing a program that need to be run on several machines. I am running UNIX and wanted to know if there is a command similar to ipconfig (in DOS) that would return the IP Address of the machine that I am working on. (Not just the loopback address of 127.0.0.1). (1 Reply)
Hi,
I have the following requirement.
I want to configure in the .profile file of my user id in such a way that it loads a particular set of command when i log in from a particular machine and another set when i log into the server from a different machine.
What is the command to get the... (1 Reply)
Using either
% nslookup www.computerhope.com
or
% host www.computerhope.com
Is there a way to single out only the IP address and not all the other information that these commands return by using the options or something of this nature.
For Example I would like to do this
Echo... (1 Reply)
Hi all,
I have a file with X number of lines.
Somewhere within each line will be an email address following the format:
<telephone_number>@domain.net
Each line is not a set length and there are no delimiters to work with.
I want to write a script that extracts the telephone number... (3 Replies)
With a recent move to a new data center, the domain for our system emails have changed. We used automated emails with our daily process for informational and report sending.
I edited the /etc/mail/sendmail.cf file where it had an entry pointing to the old mail server so I change this to our new... (3 Replies)
I need help with a tcl code. I have a variable "myIP" which reads IP address from socket. How do I use regex to find out if it belongs to a group for e.g., 50.65.75.240/28 or 50.65.75.128/25 etc. (2 Replies)
I want to host a website in India, after all my research I have found MilesWeb.com, I am planning to go for their shared plan http://www.milesweb.com/cpanel-hosting.php I have test their contact options and response time, they are really available 24/7. I have checked few other providers, they... (1 Reply)
Dear friends,
I have been facing an issue with one of my red hat unix machine, suddenly lost to switch sudo users. My all colleagues lost to switch to access sudo users.
Then, we have realized its related to NAS issue which does not allowing to write the file. because of this we got so many... (1 Reply)
Gents,
I have NAS File System mounted in Solaris as \Sysapp with size 8 TB
the problem once the backup stared it is impacting the performance of the OS.
Do you have any idea how to can we backup this FS with fast scenario without impacting the OS.
Backup type : Netbackup (3 Replies)
Discussion started by: AbuAliiiiiiiiii
3 Replies
LEARN ABOUT CENTOS
umount.nfs
UMOUNT.NFS(8) System Manager's Manual UMOUNT.NFS(8)NAME
umount.nfs, umount.nfs4 - unmount a Network File System
SYNOPSIS
umount.nfs dir [-fvnrlh ]
DESCRIPTION
umount.nfs and umount.nfs4 are a part of nfs(5) utilities package, which provides NFS client functionality.
umount.nfs4 and umount.nfs are meant to be used by the umount(8) command for unmounting NFS shares. This subcommand, however, can also be
used as a standalone command with limited functionality.
dir is the directory on which the file system is mounted.
OPTIONS -f Force unmount the file system in case of unreachable NFS system.
-v Be verbose.
-n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip delet-
ing an entry.
-r In case unmounting fails, try to mount read-only.
-l Lazy unmount. Detach the file system from the file system hierarchy now, and cleanup all references to the file system as soon as it
is not busy anymore.
-h Print help message.
NOTE
For further information please refer nfs(5) and umount(8) manual pages.
FILES
/etc/fstab file system table
/etc/mtab table of mounted file systems
SEE ALSO nfs(5), umount(8),
AUTHOR
Amit Gud <agud@redhat.com>
6 Jun 2006 UMOUNT.NFS(8)