- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to find logical volume from filesystem mount p...
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
Forums
Discussions
Discussions
Discussions
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
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
05-31-2007 03:33 AM
05-31-2007 03:33 AM
I am running HP-UX 11iv1 on rp7420 (npar).
I have one filesystem /usr/oracle/ctemp
Apparently, a lvol was mounted on this
/usr/oracle/ctemp mount point. But this was not
added to fstab nor to SG cluster pkg cntl script.
This server got hung sometime back and we had no other option but to reset the box.
Since this filesystem /usr/oracle/ctemp was not in fstab nor in SG cntl script, this was not mounted.
How can I find out which volume group, logical volume this filesystem belongs.?
Thank you all
RaJose
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 03:35 AM
05-31-2007 03:35 AM
Re: how to find logical volume from filesystem mount point
# mount -p
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 03:42 AM
05-31-2007 03:42 AM
Re: how to find logical volume from filesystem mount point
You can try SAM to show more info on it
highlight the filesystem /usr/oracle/ctemp and display more info on it - it should show you the mount info
SAM does have some use.........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 03:49 AM
05-31-2007 03:49 AM
Re: how to find logical volume from filesystem mount point
Look at the first column of the output from:
$ bdf
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 04:08 AM
05-31-2007 04:08 AM
Re: how to find logical volume from filesystem mount point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 04:13 AM
05-31-2007 04:13 AM
Solutionthe filesystem was there before reboot
and now it is not?
find all lvols that are currently not mounted:
$ mount -p | awk ' {print $1 }' > f.out
$ ls -1 /dev/vg*/lvol* | grep -v -f f.out
now mount one by one somewhere an decide by content if it is the right one.
Otherwise maybe it was a CD/DVD mounted there.
rgds
HGH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 04:28 AM
05-31-2007 04:28 AM
Re: how to find logical volume from filesystem mount point
fsck -n /dev/vg00/lvol1
** /dev/vg00/lvol1 (NO WRITE)
** Last Mounted on /stand
...
otherwise you have to mount the unmounted lvols and check the contents ... or (much better solution) - check your documentation!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 04:30 AM
05-31-2007 04:30 AM
Re: how to find logical volume from filesystem mount point
Ra Jose: I like Hemmetter's answer. However, if you don't want to test-mount each lvol, you could restore /etc/mnttab from a backup of vg00, and grep on the desired mountpoint.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 05:36 AM
05-31-2007 05:36 AM
Re: how to find logical volume from filesystem mount point
> Does anyone knows how to find the logical volume on which the filesystem is mounted.
Well, if "_IS_" really means "_WAS_" then I too misread this. As Hemmetter notes, the process of elimination might work. As Torsten notes, one would like to think that you have documentation.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 06:01 AM
05-31-2007 06:01 AM
Re: how to find logical volume from filesystem mount point
I had to do little tweaking but Hemmeter's approach was right. From the bdf output, I compared with what we have in all of /dev/vg
directories. A process of elimination left me with one which I guessed should be the one I was trying to mount. Luckily, it was.
Thanks again.
RaJose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 06:27 AM
05-31-2007 06:27 AM
Re: how to find logical volume from filesystem mount point
Actually you can examine the filesystem for its contents *_without*_ mounting it:
# ncheck /dev/vgNN/lvolX
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 06:36 AM
05-31-2007 06:36 AM
Re: how to find logical volume from filesystem mount point
Have fun!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 06:37 AM
05-31-2007 06:37 AM
Re: how to find logical volume from filesystem mount point
Thank you, unfortunately th thread is closed and I can't even assign points. But take it for me, this is 9 points.
RaJose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2007 06:39 AM
05-31-2007 06:39 AM
Re: how to find logical volume from filesystem mount point
Well, you _can_ reopen the thread and assign some points :-)
Regards!
...JRF...