?
Solved

What's mounted on what device?

Posted on 1998-09-23
4
Medium Priority
?
235 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 100 total points
ID: 2007069
df|awk 'NR>1{print "ls -l "$1}'|sh
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month9 days, 10 hours left to enroll

609 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