HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How I know what is the mount point and lvol and vg...
Operating System - Linux
1829905
Members
1502
Online
109993
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-21-2009 11:04 PM
04-21-2009 11:04 PM
How I know what is the mount point and lvol and vg for cciss/c0d1?
How I know what is the mount point and lvol and vg for cciss/c0d1?
Please help to advise
Please help to advise
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2009 11:16 PM
04-21-2009 11:16 PM
Re: How I know what is the mount point and lvol and vg for cciss/c0d1?
Hi,
With fdisk -l you have the partition of the disk get the LVM partition for example p2
with pvdisplay /dev/cciss/c0d1p2 you get the volume group
so VGNAME=$(pvdisplay /dev/cciss/c0d1p2 | grep "VG Name" |awk '{ print $3 }')
next step get the lvolname with the vg
vgdisplay -v $VGNAME | grep "LV Name" | awk '{ print $3 }
after that you could get the mount point associate with the lvolname.
Hope it helps
With fdisk -l you have the partition of the disk get the LVM partition for example p2
with pvdisplay /dev/cciss/c0d1p2 you get the volume group
so VGNAME=$(pvdisplay /dev/cciss/c0d1p2 | grep "VG Name" |awk '{ print $3 }')
next step get the lvolname with the vg
vgdisplay -v $VGNAME | grep "LV Name" | awk '{ print $3 }
after that you could get the mount point associate with the lvolname.
Hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2009 02:27 AM
04-24-2009 02:27 AM
Re: How I know what is the mount point and lvol and vg for cciss/c0d1?
Hi friend,
use vgdisplay -v tu display all vgs and lv,disk related to those vgs, if you know the vg use, vgdisplay -v vg, to display all infos (disks include).
good luck.
use vgdisplay -v tu display all vgs and lv,disk related to those vgs, if you know the vg use, vgdisplay -v vg, to display all infos (disks include).
good luck.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP