HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- logical volume attributes
Operating System - HP-UX
1833696
Members
3344
Online
110062
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
06-13-2007 01:30 AM
06-13-2007 01:30 AM
logical volume attributes
Hi,
I want to write a program in c to know if a logical volume given by path is part of a high availability cluster ( that the volume group has been initialized by vgchange -c y at the time of the creation).
We have service guard, so if this information can be retrived from the sg api's it would be as good as well.
I tried using stat and pstat_getlv, but that only got me to the knowledge weather the volume in online/offline.
I want to write a program in c to know if a logical volume given by path is part of a high availability cluster ( that the volume group has been initialized by vgchange -c y at the time of the creation).
We have service guard, so if this information can be retrived from the sg api's it would be as good as well.
I tried using stat and pstat_getlv, but that only got me to the knowledge weather the volume in online/offline.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 03:35 AM
06-13-2007 03:35 AM
Re: logical volume attributes
..and that is probably all you will get.
When the cluster takes the volume group (vgchange -c y vg) it next changes the volume group to exclusive (vgchange -a e vg).
This same setting could be put on any volume group, within MC/SG or not.
If you want to know what vg's (hence their lvols) are part of the cluster, just check te cluster ascii file.
Guess I'm missing something here, or being too simplistic in my views,
Rgrds,
Rita
When the cluster takes the volume group (vgchange -c y vg) it next changes the volume group to exclusive (vgchange -a e vg).
This same setting could be put on any volume group, within MC/SG or not.
If you want to know what vg's (hence their lvols) are part of the cluster, just check te cluster ascii file.
Guess I'm missing something here, or being too simplistic in my views,
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 03:48 AM
06-13-2007 03:48 AM
Re: logical volume attributes
Hi,
I would like to know if a specific logical volume is part of a volume group that was initialized with vgchange -c y, without using shell commands.
I know that I can within a shell do vgdisplay -v to the relevant volume group and check if the VG STATUS == availabe/exclusive.
Im interested to know how i can retreive that info from c.
Thanks,Anat.
I would like to know if a specific logical volume is part of a volume group that was initialized with vgchange -c y, without using shell commands.
I know that I can within a shell do vgdisplay -v to the relevant volume group and check if the VG STATUS == availabe/exclusive.
Im interested to know how i can retreive that info from c.
Thanks,Anat.
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