HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvdisplay using a system call
Operating System - HP-UX
1832983
Members
3145
Online
110048
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
05-24-2001 07:11 AM
05-24-2001 07:11 AM
lvdisplay using a system call
What is the library name of the LVM ?
Is there an equivalent system call to get info about a lvol (lvdisplay) ? or a VG (vgdisplay) ? or a PV (pvdisplay) ?
What is the header file in which the LVM structures are described ?
Is there an equivalent system call to get info about a lvol (lvdisplay) ? or a VG (vgdisplay) ? or a PV (pvdisplay) ?
What is the header file in which the LVM structures are described ?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2001 05:48 AM
05-25-2001 05:48 AM
Re: lvdisplay using a system call
What is the library name of the LVM ?
Dunno.
Is there an equivalent system call to get info about a lvol (lvdisplay) ?
pstat_getlv
or a VG (vgdisplay) ?
dunno, you can probably synthesize something by looking at all of the devices (ioscan) and determining which are vg's. (I imagine there are easier ways).
or a PV (pvdisplay) ?
pstat_getdisk
What is the header file in which the LVM structures are described ?
Some pieces are described in pstat.h
You can also think about using popen to call the normal command (e.g. vgdisplay). popen will return the output of the command in a stream that you can then parse for your information.
Dunno.
Is there an equivalent system call to get info about a lvol (lvdisplay) ?
pstat_getlv
or a VG (vgdisplay) ?
dunno, you can probably synthesize something by looking at all of the devices (ioscan) and determining which are vg's. (I imagine there are easier ways).
or a PV (pvdisplay) ?
pstat_getdisk
What is the header file in which the LVM structures are described ?
Some pieces are described in pstat.h
You can also think about using popen to call the normal command (e.g. vgdisplay). popen will return the output of the command in a stream that you can then parse for your information.
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