HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Questions about physicall volume groups
Operating System - HP-UX
1832367
Members
2846
Online
110041
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
Go to solution
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
10-26-2006 11:49 PM
10-26-2006 11:49 PM
Hello,
I have many questions about pvgs. I hope sombody help me to understand it.
- Do have the pvgs the same function as the stripping?
- Can I create pvgs by putting them in "/etc/lvmpvg" or I have to create them in the vgcreate/vgextend steps?
- In a SG enviroment, if I add one pvg to a shared VG and I do not update the file "/etc/lvmpvg" of the other node, what could be the consecuences if the pkg migrates and the VG is activated in this node?
And the last one (sorry for such an amount of questions ...)
- Lets suppose I have a LVOL created in one pvg with two disks(stricted and distributed), and then, I lvextend this LVOL but I do not specify the pvg to extend into, therefore the LVOL could get any other disk, and instead of having two or four disks (one or two pvgs) the LVOL finally has three disks. what could be the consecuence of this?
Regards,
S.V.
I have many questions about pvgs. I hope sombody help me to understand it.
- Do have the pvgs the same function as the stripping?
- Can I create pvgs by putting them in "/etc/lvmpvg" or I have to create them in the vgcreate/vgextend steps?
- In a SG enviroment, if I add one pvg to a shared VG and I do not update the file "/etc/lvmpvg" of the other node, what could be the consecuences if the pkg migrates and the VG is activated in this node?
And the last one (sorry for such an amount of questions ...)
- Lets suppose I have a LVOL created in one pvg with two disks(stricted and distributed), and then, I lvextend this LVOL but I do not specify the pvg to extend into, therefore the LVOL could get any other disk, and instead of having two or four disks (one or two pvgs) the LVOL finally has three disks. what could be the consecuence of this?
Regards,
S.V.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2006 12:34 AM
10-27-2006 12:34 AM
Solution
- Do have the pvgs the same function as the stripping?
No
- Can I create pvgs by putting them in "/etc/lvmpvg" or I have to create them in the vgcreate/vgextend steps?
From man page:
lvmpvg is an ASCII file that stores the volume-group information for all of the physical volume groups in the system.
Instead of using the vgcreate and vgextend commands, the administrator can edit this file to create and extend physical volume groups. However, care must be taken to ensure that all physical volumes to be included in the file have already been defined in their respective volume groups by previous use of vgcreate or vgextend.
- In a SG enviroment, if I add one pvg to a shared VG and I do not update the file "/etc/lvmpvg" of the other node, what could be the consecuences if the pkg migrates and the VG is activated in this node?
Package won't start.
There's more info here:
http://docs.hp.com/en/B3936-90100/ch05s04.html
Rgds...Geoff
No
- Can I create pvgs by putting them in "/etc/lvmpvg" or I have to create them in the vgcreate/vgextend steps?
From man page:
lvmpvg is an ASCII file that stores the volume-group information for all of the physical volume groups in the system.
Instead of using the vgcreate and vgextend commands, the administrator can edit this file to create and extend physical volume groups. However, care must be taken to ensure that all physical volumes to be included in the file have already been defined in their respective volume groups by previous use of vgcreate or vgextend.
- In a SG enviroment, if I add one pvg to a shared VG and I do not update the file "/etc/lvmpvg" of the other node, what could be the consecuences if the pkg migrates and the VG is activated in this node?
Package won't start.
There's more info here:
http://docs.hp.com/en/B3936-90100/ch05s04.html
Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2006 03:15 AM
10-27-2006 03:15 AM
Re: Questions about physicall volume groups
the /etc/lvmpvg is only used when allocating new extents.
You need to do the pvcreate and vgextend to actually add the PV to the VG. During this step you can have LVM update the /etc/lvmpvg file by specifying the PVG group that you wish to add the PV to.
Once the extents are allocated the entries in /etc/lvmpvg as not all that imporatant. So while it might me good practice to keep all the /etc/lvmpvg files within a cluster in-sync it is not necessary. Only the file on the node that does the lvextend or lvcreate is used.
I'm not quite sure about the answer to your last question. I assume you are talking about extent striping. My guess is that the new extents will striped across all the disks that are now listed in the PVG while the existing extents will remain where they are.
You need to do the pvcreate and vgextend to actually add the PV to the VG. During this step you can have LVM update the /etc/lvmpvg file by specifying the PVG group that you wish to add the PV to.
Once the extents are allocated the entries in /etc/lvmpvg as not all that imporatant. So while it might me good practice to keep all the /etc/lvmpvg files within a cluster in-sync it is not necessary. Only the file on the node that does the lvextend or lvcreate is used.
I'm not quite sure about the answer to your last question. I assume you are talking about extent striping. My guess is that the new extents will striped across all the disks that are now listed in the PVG while the existing extents will remain where they are.
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