- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Finding logical volumes for a mountpoint
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
11-24-2004 06:42 PM
11-24-2004 06:42 PM
Finding logical volumes for a mountpoint
# lvcreate -L 1000 -n lvol20 /dev/vg01
# newfs -F vxfs /dev/vg01/rlvol20
# mount /dev/vg01/lvol20 /mymountpoint
the above is not added to the fstab file. assuming that now the system is reboot, how can one supposed to find the logical volume of this mymountpoint?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:52 PM
11-24-2004 06:52 PM
Re: Finding logical volumes for a mountpoint
use like this
#lvcreate -L 1000 -n lvmymountpoint /dev/vg01
# newfs -F vxfs /dev/vg01/rlvmymountpoint
# mount /dev/vg01/lvmymountpoint /mymountpoint
regds,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:53 PM
11-24-2004 06:53 PM
Re: Finding logical volumes for a mountpoint
If it is hfs, an 'fsck' on it would have shown the 'last mounted on' information. But it's not possible with vxfs. You will have to use trail and error methods such as mounting it on a test directory, look at the contents etc.,.
What I normally do is not to issue 'mount' command that way. After newfs, I would add the entry in /etc/fstab and confirm it by simply running the command "mount /mymountpoint". That way I am sure that it is going to pickup after reboot.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:53 PM
11-24-2004 06:53 PM
Re: Finding logical volumes for a mountpoint
1.) By manually mounting the LV and seeing the data.
2.) You can find out the last created LV by finding the last created LV device file name by ls -alR /dev/vg*
Regards,
Syam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:54 PM
11-24-2004 06:54 PM
Re: Finding logical volumes for a mountpoint
try to search root history file for mount command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2004 06:54 PM
11-24-2004 06:54 PM
Re: Finding logical volumes for a mountpoint
/dev/vg01/lvol20 /mymountpoint vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2004 08:08 PM
11-25-2004 08:08 PM
Re: Finding logical volumes for a mountpoint
# mount -p > /etc/fstab
Good practice to make a copy of your original fstab first of course, in case it all goes horribly wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-25-2004 09:22 PM
11-25-2004 09:22 PM
Re: Finding logical volumes for a mountpoint
Kaps