Solved

What's mounted on what device?

Posted on 1998-09-23
4
226 Views
Last Modified: 2010-04-21
I have vxfs filesystems and I want to know how to find out on what physical devices they are mounted on.

For eg, how do I verify if  /dev/vx/dsk/newdg/NEW01 is mounted on c1t2d0s3

Thanks,
monish..
0
Comment
Question by:monish73
  • 2
4 Comments
 
LVL 3

Expert Comment

by:junfeb
ID: 2007066
Please check /etc/vfstab - This should give you the device name against the mount point.

Hope this helps.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2007067
df
0
 

Author Comment

by:monish73
ID: 2007068
This is what I have in the /etc/vfstab :-

/dev/vx/dsk/usr  /dev/vx/rdsk/usr   /usr   ufs    1   no      -    

Still need to know what physical device (eg, c1t2d0s3)?
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 50 total points
ID: 2007069
df|awk 'NR>1{print "ls -l "$1}'|sh
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now