- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVM to PVG
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
01-16-2008 08:33 AM
01-16-2008 08:33 AM
LVM to PVG
Sommes times ago, we had a smal server with
smal activity. Litle by litle our system comme
big and we inserted the disk to our VG01.
Is there a way to change a classic VG to PVG ?
I read the lvchange manuel but is not so clear
pour me.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 08:42 AM
01-16-2008 08:42 AM
Re: LVM to PVG
Your question is not clear to me.
For PVGs, see
man lvmpvg
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
01-16-2008 09:19 AM
01-16-2008 09:19 AM
Re: LVM to PVG
As Torsten said, your needs are not very clear.
Any way, if you want to change allocation policy to Distributed it will not be possible in a strict definition of Distributed. man lvchange :
----------------
The -D y option will fail if the existing logical volume has any two consecutive logical extents on the same physical volume. To override this failure, use the -D f option. If a logical volume with the distributed allocation policy has at least two consecutive logical extents on the same physical volume, then lvdisplay(1M) will display the allocation as partially-distributed (vs. distributed).
----------------
That is the case : I guess that all LV in your VG01 have at least 2 contiguous extends.
So in a strict definition you can modify the LV to a partially-distributed plociy. That means that new LV's extends will be allocate in a distributed manner and that existing ones will stay as they are now. Not a problem at all ...
But why do you want to do that ?
Regards
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 10:06 AM
01-16-2008 10:06 AM
Re: LVM to PVG
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2008 10:56 AM
01-16-2008 10:56 AM
Re: LVM to PVG
You should be able to drop all your mirror disks, edit /etc/lvmpvg then..
put all primaries in group1 and secondaries in group2 then remirror using strict policy.
i.e.
VG /dev/vgdata1
PVG PVG1
/dev/dsk/c8t0d0
/dev/dsk/c8t1d0
/dev/dsk/c8t2d0
/dev/dsk/c8t3d0
/dev/dsk/c8t4d0
/dev/dsk/c8t5d0
/dev/dsk/c8t8d0
PVG PVG2
/dev/dsk/c9t0d0
/dev/dsk/c9t1d0
/dev/dsk/c9t2d0
/dev/dsk/c9t3d0
/dev/dsk/c9t4d0
/dev/dsk/c9t5d0
/dev/dsk/c9t8d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2008 02:52 AM
01-21-2008 02:52 AM
Re: LVM to PVG
Thanks every body. I did create new PVG and
copy vg01 over it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2008 10:42 AM
02-03-2008 10:42 AM
Re: LVM to PVG
However, the converse is not true.
DAP does *require* PVGs.
All PVG-strict mirroring policy means is that mirrored extents will go on PVs in different PVGs.
((The default, "strict", means just use *any* different PV. With "none", mirrored PEs can actually go on the *same* PV -- useful for splitting, but no HA redundancy.
))
The original idea of PVGs, before DAP, was simply to make it easy to ensure that mirroring occurred across HBA boundaries, so that a loss of an HBA would not completely blow up the mirroring.
With lots of PVs, it might be hard to remember which guys are on different HBAs or buses or arrays. Once, you set up /etc/lvmpvg correctly, making sure that all PVs on an HBA, for example, are in a separate PVG, then you don't have to remember when you extend the mirrored LVOL.
bv