Solved

What's mounted on what device?

Posted on 1998-09-23
4
223 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

705 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

21 Experts available now in Live!

Get 1:1 Help Now