- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PVG Strict / Distributed logical volume
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-18-2004 06:17 PM
12-18-2004 06:17 PM
PVG1
/dev/dsk/c5t0d2 17504 extents (0 free)
/dev/dsk/c5t0d0 17535 extents (4 free)
PVG2
/dev/dsk/c6t0d3 17504 extents (all free)
/dev/dsk/c5t0d1 17539 extents (all free)
I suspect that the reason that I'm getting the error message is because the two disks in each PVG are not the same size, so the round robin will not be even. Any thoughts on this?
Thanks,
Kathy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 06:39 PM
12-18-2004 06:39 PM
Re: PVG Strict / Distributed logical volume
The theory behind PVG's is to put disks on one controller in one PVG, the other disks down another in your second PVG.
Your /etc/lvmpvg file should in theory look something like the below
VG /dev/vg01
PVG PVG01
/dev/dsk/c11t1d0
/dev/dsk/c11t2d0
/dev/dsk/c11t3d0
PVG PVG02
/dev/dsk/c10t0d0
/dev/dsk/c10t2d0
/dev/dsk/c10t3d0
When you mirror an lvol you mirror between PVG's
ie
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c11t1d0 00000 current /dev/dsk/c10t0d0 00000 current
00001 /dev/dsk/c11t1d0 00001 current /dev/dsk/c10t0d0 00001 current
You therefore need to have enough free extents on each side to be able to create your mirror
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 07:29 PM
12-18-2004 07:29 PM
Re: PVG Strict / Distributed logical volume
The logical volume originally was distributed and then we increased disk size. During this process I changed from a distributed layout to just a PVG strict layout. Due to the disk I/O of our application and system, the movement away from distributed has greatly reduced performance. All disk I/O is going down the c5 controller rather than both the c5 and c6 controllers. As this was the only change, I have attributed the performance decrease to the fact that I am no longer distributed.
Now, why is the lvextend -m 1 failing with "not enough free physical extents"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2004 07:47 PM
12-18-2004 07:47 PM
Re: PVG Strict / Distributed logical volume
I assume you end-game here is to have a LV in your VG with an equal number of extents on each disk in the VG, with allocation alternating between PVGs and between disks in the PVGs yes?
You can't get to this LV setup from where you are now - doing the lvchange you mentioned won't enforce the distributed extent allocation retrospectively - only for new allocations - thats why you can't extend your VG, because you only hav 4 free physical extents in PVG1.
To do what you require you will need to:
1. backup your data in the LV.
2. remove the LV.
3. change your PVGs so that only disks on the same controller are in the same PVGs
4. re-create your LV including the '-D y -s g' options on the lvcreate
5. recreate your filesystem
6. restore your data
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 08:04 PM
12-19-2004 08:04 PM
Solutionit should work the way you intended to do it, i.e. the "lvchange -D f" route, *if* you had equally sized disks.
As you suspect you have two larger disks (LUNs) though and for those additional extents there is no distributed allocation possible, as soon as disk #1 in PVG2 is full.
So actually only if you have Advanced online JFS, you could *possibly* reduce the filesystem size by (31 times pv extent size) and after that lvreduce the size of the LV so that all LUNs use no more extents than your smallest LUN.
Regards,
Bernhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2004 04:52 AM
12-20-2004 04:52 AM
Re: PVG Strict / Distributed logical volume
Bernhard - I struggled for a while with this and then saw that the LUNs where different. We thought briefly about reducing the filesystem and logical volume, but have decided to rebuild the LUNs to be the same size instead. Thank you for your validation.