- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Question about physical volume groups....
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
12-22-2008 07:25 AM
12-22-2008 07:25 AM
Question about physical volume groups....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 07:36 AM
12-22-2008 07:36 AM
Re: Question about physical volume groups....
I suspect you are asking about the '/etc/lvmpvg' file which defines Physical Volume Groups. Have a look at the 'lvmpvg(4)' man pages.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 07:39 AM
12-22-2008 07:39 AM
Re: Question about physical volume groups....
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 08:03 AM
12-22-2008 08:03 AM
Re: Question about physical volume groups....
yes it's different. You can group physical volumes. So you control which pv will be used for stripping or mirroring. In normal lvm takes the next pv in volume group. So you can do stripping with mirroring i.e.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 08:20 PM
12-22-2008 08:20 PM
Re: Question about physical volume groups....
If your volume group has 10 physical volumes for example. You can group the physical volumes in to 2 physical volume groups with say 5 PV's in each.
As mentioned above this is helpful when mirroring etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 08:48 PM
12-22-2008 08:48 PM
Re: Question about physical volume groups....
Are you talking about LVM PVG if yes please go through below link.
(HP-UX 11i v2)
http://docs.hp.com/en/B2355-60103/lvmpvg.4.html
(HP-UX 11i v1)
http://docs.hp.com/en/B2355-90696/lvmpvg.4.html
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 08:55 PM
12-22-2008 08:55 PM
Re: Question about physical volume groups....
A disk has to be initialized before LVM can use it. The pvcreate command writes the PVRA
to the disk and such a disk is called a PV:
one or more Physical volumes Grouped are called "Volume Group"
Example:-
/dev/vg01
/dev/dsk/c12t13d0
/dev/dsk/c13t13d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2008 10:47 PM
12-22-2008 10:47 PM
Re: Question about physical volume groups....
PVG's are only useful in mirroring configurations. When you start mirroring your LV's, you have three options to specifiy whee LVM has to allocate mirrored blocks.
1) Anywhere where you have an extent available.
2) Anywhere where you have an extent available, as long as it is not on the same physical volume as the primary extent.
3) On a physical volume that belongs to another PVG.
For instance, you have two SAN boxes with each a set of LUN's and you want to mirror your data over these two boxes : Place all LUN's of box 1 in one PVG, and all LUN's of box 2 in another PVG. The create logical volumes with the "-s g" (PVG-strict allocation policy) and your data is mirror over the boxes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2008 06:55 AM
12-31-2008 06:55 AM
Re: Question about physical volume groups....
For a VG, using the /etc/lvmpvg file we define the member disks of the individual Physical Volume Groups. this looks like the following:
#cat /etc/lvmpvg
VG-Name vg02
PVG PVG0
/dev/dsk/c11t1d0
/dev/dsk/c11t2d0
/dev/dsk/c11t3d0
/dev/dsk/c11t4d0
PVG PVG1
/dev/dsk/c12t1d0
/dev/dsk/c12t2d0
/dev/dsk/c12t3d0
/dev/dsk/c12t4d0
this means that in VG vg02 whicg has 8 disks, we have 2 PVGs PVG0 and PVG1 that have the PV memebers as shown.
Now if u create an LV with PVG Strict Policy that is lvcreate -D y -s g option , The LV will be created with the PEs being taken from the PVs in only one PVG and also allocation of the PEs takes place in a round-robin fashion selecting the PEs from the disks in that PVG.
So that with this PVG-strict allocation if u mirror the LV then the PEs for the mirror of this LV will always be placed on the PEs from the Other PVG that is PVG1 of orig LV is on PVG0 and PVG0 if the Orig LV is on PVG1.
When u mirror such an LV using the PVG Strict Policy using the lvextend command using #lvextend -m 1 ; in the mirror that is created the allocation is in the same fashion that is Distributed Extent based Striping and the mirror resides on the disks belonging to the other PVG.
This is called the DEBM that is Distributed Extent Based Mirroring that is the only poassible implementation of RAID 01 in LVM prior to 11.31.
if u include in PVG0 and PVG1 for example disks belonging to different HBAs, this gives the HBA failure Redundancy for ur LV in case of HBA Level failures and providing the performance benifits of Striping.
Sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2008 06:59 AM
12-31-2008 06:59 AM
Re: Question about physical volume groups....
in 11iv3 u can create a striped LV and directrly go on to mirror the same using lvextend -m 1.
LVM did not support the mirroring of the Striped LVs before.