- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- what's the adavantage of using PVG on root VG
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
11-06-2008 05:17 AM
11-06-2008 05:17 AM
i understand little of PVG , only knows it's for limiting mirroring disk on different controller or SCSI bus
what i don't understand's my production system is using PVG on ROOT vg, Which only have 2 disks actually
Server RP4440 , OS 11.11
i'm curious of the why they design it that way ? i'd like to hear pros and cons
my thought is 2 root disks are always something like c2t0d0 and c3t0d0 , is it necessary to use PVG ?
--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 2170
Free PE 41
Autoswitch On
PV Name /dev/dsk/c3t0d0
PV Status available
Total PE 2170
Free PE 41
Autoswitch On
--- Physical volume groups ---
PVG Name scsi3_0
PV Name /dev/dsk/c3t0d0
hznkdbs1:/ (104) root% more /etc/lvmpvg
VG /dev/vg00
PVG scsi3_0
/dev/dsk/c3t0d0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 05:29 AM
11-06-2008 05:29 AM
Re: what's the adavantage of using PVG on root VG
you have VG01,and PVG1 PVG2 , and disks under both PVG ,
in my system , VG00 are built on PV, but still 1 PVG on 1 single disk , i couldn't figure out why
(102) root% strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t1d0
/dev/dsk/c3t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 05:34 AM
11-06-2008 05:34 AM
Re: what's the adavantage of using PVG on root VG
http://docs.hp.com/en/B3921-60631/lvmpvg.4.html
It makes not so much sense to do this for a VG with 2 disks, but it cannot harm. But if you use it, you should use it the correct way and add all the disks from the VG.
For example (/etc/lvmpvg):
VG /dev/vg00
PVG scsi3_0
/dev/dsk/c3t0d0
PVG scsi2_0
/dev/dsk/c2t1d0
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 05:36 AM
11-06-2008 05:36 AM
Re: what's the adavantage of using PVG on root VG
In my opinion, using physical volume groups (PVG) for a mirrored vg00 is needless.
Vg00 should be reserved solely for the standard operating system logical volumes and nothing else. Further, every logical volume thereon should be mirrored for high-availabliity. The first three (3) logical volumes must be mirrored in that order and there is no reason not to do all of them in ordinal fashion. This isn't hard to track.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 05:38 AM
11-06-2008 05:38 AM
Re: what's the adavantage of using PVG on root VG
If you have only two disks you are not going to get any advantage of PVG. You can explicitly mention the mirror copies on other disks.
But imagine if you have huge no of disks on a VG and managing mirror copies on different disks and different controller is really painful job. PVG comes here to help you out.
If you created PVG to logically group the disks then lvm mirroring will be automatically done on other group when you specifiy "-s g " option.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 05:53 AM
11-06-2008 05:53 AM
Re: what's the adavantage of using PVG on root VG
but in this well designed and largely distributed system , why this seems half baked and no obvious good rack's my brain .
i saw a case of using PVG on root disk , but in his case , he has disk of 2G , and OS is 3.6G , so it has to span 2 disks at least , that's where PVG might help straight thing out ...
is it possible it's just a left-over of from the days when disk is rarely small ,from the time when i have not even graduated ,
and they forgot to update the auto-installing scripts , only have this strange looking desgin left there!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 05:56 AM
11-06-2008 05:56 AM
Re: what's the adavantage of using PVG on root VG
at least you guys confirmed nowadays this kind of desgin looks wired and worthless !
any exception ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 06:03 AM
11-06-2008 06:03 AM
Re: what's the adavantage of using PVG on root VG
Some has for example 2x 2GB and 1x 4GB disks mirrored, or 4x 2GB disk or whatever.
But it is not needed for 2 disks at all.
Remember, this file is always created by a user.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 06:27 AM
11-06-2008 06:27 AM
Re: what's the adavantage of using PVG on root VG
it's suppose to be left-over i guess
7 years ago , when we are still using K380,and root disk is quite small , PVG is a useful feature ...but at least back then , the script create them make it good decent ,
i check the script
vgextend -g ${scsi_nbr} /dev/vg00 /dev/dsk/${mirror_device}
only this command will create /etc/lvmpvg for mirroed disks to be in PVG ?
what if i decides to add the primary to another PVG ?
what others should be done to achive it ?
thanks
HP recommends 3 disks for VG00 because of quorums , what mirror strategy better be adopt if i have 3 root disks ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 06:42 AM
11-06-2008 06:42 AM
Re: what's the adavantage of using PVG on root VG
> only this command will create /etc/lvmpvg for mirroed disks to be in PVG ?
No, you can manually create the '/etc/lvmpvg' file too. see the manpages for 'lvmpvg(4)'.
> HP recommends 3 disks for VG00 because of quorums , what mirror strategy better be adopt if i have 3 root disks ?
This is entirely up to you. If you find/feel that having an '/etc/lvmpvg' file helps you when/if you add and/or remove mirrors then by all means do it.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 06:11 PM
11-06-2008 06:11 PM
SolutionIn this case, HP is recommending triple mirroring, an ideal situation for instant backup solutions. You would use lvextend -m1 for the first mirror, and lvextend -m2 for the second mirror. lvsync the lvol and now a single disk failure results in a useable, mirrored lvol. And if your vg00 is triple mirrored, the system can boot up automatically without the hpux option -lq.
The other advantage with triple disk mirroring is that you can shutdown applications, run the sync command a few times, then split the 3rd disk off and start your applications again. Now the 3rd disk is a clean copy of the lvols and can be mounted for backup while the application continues to run.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2008 03:44 AM
11-07-2008 03:44 AM
Re: what's the adavantage of using PVG on root VG
thanks~~~~