- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: MAX_PE_per_PV
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-04-2004 03:07 AM
11-04-2004 03:07 AM
I wanted to extend the size of one volume.
for that I created a physical disk using
pvcreate /dev/rdsk/c16/t0/d1
then I used the following command to extend the volume
vgextend vg01 /dev/dsk/c16/t0/d1
it extended but not given the full capacity of 100g. its given an message that the Max_PE_per_pv is is too samll , so instead of getting the additional 100gb I will get only 70gb.
can anybody help me to shortout this...very urgent
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:10 AM
11-04-2004 03:10 AM
Re: MAX_PE_per_PV
To fix it now you need to do this:
1) Backup all data on the volume group, databases and online data down.
2) vgexport the volume group.
3) re-create the volume group with the max pe parameter set higher.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:14 AM
11-04-2004 03:14 AM
Re: MAX_PE_per_PV
I have just extended the vg but I have not extended the logical volume. so is there any way to remove this added disk from the VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:18 AM
11-04-2004 03:18 AM
Re: MAX_PE_per_PV
vgcreate -s 8 -p 128 /dev/vg01 /dev/dsk/c16/t0/d1
The -s: Sets the number of megabytes in each physical
extent, where pe_size is expressed in units
of megabytes (MB) in the range 1 to 256.
pe_size must be equal to a power of 2 (1, 2,
4, 8, etc.). The default value for pe_size
is 4 (four megabytes).
The -p: Set the maximum number of physical volumes
that the volume group is allowed to contain.
The default value for max_pv is 16. The
maximum number of physical volumes can be a
value in the range 1 to 255.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:18 AM
11-04-2004 03:18 AM
Re: MAX_PE_per_PV
sure, you can remove the added PV from the VG
# vgreduce /dev/dsk/c16t0d1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:21 AM
11-04-2004 03:21 AM
Re: MAX_PE_per_PV
Actually - do a vgdisplay -v vg01 - that will tell you what it is currently...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:26 AM
11-04-2004 03:26 AM
Re: MAX_PE_per_PV
Also if you expect future upgrades, adjust the values accordingly so that you can add higher capacity disks in future. This is the simple calculation you should use:
Max PV size = Max PE per PV x PE size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:31 AM
11-04-2004 03:31 AM
Re: MAX_PE_per_PV
#/>vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 17501
VGDA 4
PE Size (Mbytes) 4
Total PE 35000
Alloc PE 17000
Free PE 18000
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg01/lvol11
LV Status available/syncd
LV Size (Mbytes) 68000
Current LE 17000
Allocated PE 17000
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c2t1d0
PV Status available
Total PE 17499
Free PE 499
Autoswitch On
PV Name /dev/dsk/c16t0d1
PV Status available
Total PE 17501
Free PE 17501
Autoswitch On
I am using hp-ux11i , as some one suggested that i can use vgreduce /dev/dsk/c16t0d0.
1>if I use this command the data will be intact.
2>after doing this what i have to do to get the proper size as this disk is of 100gb partion from array.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 03:56 AM
11-04-2004 03:56 AM
Re: MAX_PE_per_PV
Yes, the data will be intact. The disk is part of the VG but doesnt have any PEs allocated from the PV. so, you bet the data will be intact.
As suggested above, only way to use the whole 100GB of the new slice from the array is to recreate the volume group
You can use the attached vgmodify to change the MAX PE per PV. But not sucessful in most of the cases, also "UNSUPPORTED" by HP.
Before going ahead with anything, create a good backup of the data.
- Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 04:15 AM
11-04-2004 04:15 AM
Re: MAX_PE_per_PV
1>so for removing the added disk to vg01 i will use the following command
vgreduce /dev/dsk/c16t0d0
2>the attachment you sent I am not able to open it.
I will submit the points to all onece free from this prob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 05:50 AM
11-04-2004 05:50 AM
Re: MAX_PE_per_PV
You're stuck with one of LVM's weaknesses and pitfalls. Heed the advice of the desert dwellers and the salad heads -- recreate your VG.
In our site, we now have a standard to use all the maximum values allowed at vg creation time.
We have:
vgcreate -e 65535 -l 64 -p 64 -s 64
This will heasily handle up to 4TB LUNS (PVs) which is more than enough..
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 05:59 AM
11-04-2004 05:59 AM
Re: MAX_PE_per_PV
Yes..vgreduce /dev/dsk/c16t0d0 will do
Attachment is a PA-RISC binary. You will have to download to your PC. FTP to your 11i box. Set the execute permission and execute.
- Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 06:14 AM
11-04-2004 06:14 AM
Re: MAX_PE_per_PV
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2004 07:33 PM
11-04-2004 07:33 PM
Re: MAX_PE_per_PV
What I did I removed the disk form the vg, using vgreduce.
then using pvremove i removed the physical disk.
I agin created the LUN in array of 50gb each and then one by on e added to the vg01.
now its Okay to me .
Thanks a lot for your guidance and suggestions.
Regards
Jack