- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Given a device file name, howto find its mount poi...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2001 12:42 PM
тАО11-14-2001 12:42 PM
df -k shows a list of mount points that are assoicated with the logical volumn but is there some other command that can assoicate the mount point with the physical disk?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2001 12:49 PM
тАО11-14-2001 12:49 PM
Re: Given a device file name, howto find its mount point
You cannot find the mount point for the device file if you don't have that information in your /etc/fstab file. On old hfs filesystems i think it used to store the last mount point name.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2001 12:53 PM
тАО11-14-2001 12:53 PM
Re: Given a device file name, howto find its mount point
If your filesystem is a hfs filesystem, this link can help you,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=5bd1717810a02403ad/screen=ckiDisplayDocument?docId=200000047992588
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2001 12:59 PM
тАО11-14-2001 12:59 PM
Re: Given a device file name, howto find its mount point
you could grep /dev/dsk/c69t6d6 /etc/fstab or /etc/mnttab.
But there is no fixed relation between disk & mount point, you can mount /dev/dsk/c69t6d6 on /aaa, unmount it, and remount it on /bbb.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2001 01:07 PM
тАО11-14-2001 01:07 PM
Re: Given a device file name, howto find its mount point
will show you what VG is using it if any, and any LV's within that VG.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2001 01:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2001 01:16 AM
тАО11-15-2001 01:16 AM
Re: Given a device file name, howto find its mount point
From mount -p you get the volume group and lvol:
/dev/vg00/lvol7 /usr vxfs delaylog,nodatainlog 0 0
So /usr/ is in vg00
pereal:root> strings /etc/lvmtab
/dev/vg00
/dev/dsk/c3t15d0
/dev/dsk/c1t15d0
Or the way you want.
Have /dev/dsk/c3t15d0
strings /etc/lvmtab
oh its in vg00
mount -p | grep vg00
for all the file systems
lvdisplay -v all the lvols to find out exactly where the are.
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2001 01:23 AM
тАО11-15-2001 01:23 AM
Re: Given a device file name, howto find its mount point
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2001 01:27 AM
тАО11-15-2001 01:27 AM
Re: Given a device file name, howto find its mount point
fsck of the logical device file name should give the mount point.
#fsck /dev/rdsk/cxdx..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-15-2001 04:03 AM
тАО11-15-2001 04:03 AM
Re: Given a device file name, howto find its mount point
If this is a HP-UX box and you are using LVM on the system, do
#/usr/sbin/pvdisplay /dev/dsk/cxtydz
<
In non-LVM setup, it is straightforward,
you do any of the: (all apply to HP-UX)
#df -k
#bdf
#mount
#cat /etc/fstab
IF it is LVM setup, then remember that disks
are grouped together in a structure called Volumegroup and then LV's are carved from it.
So, one physical disk can have more than one logical structure sitting on it. The command
to check that would be pvdisplay.
HTH
raj