- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vg extend
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
Forums
Discussions
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
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
02-17-2004 02:26 AM
02-17-2004 02:26 AM
when I try to extend a mirrored volume group
of 17 GB with another 17 GB disk I get a message: "Disk MBytes More then VG can support - continue anyway?"
Anyone any idea what is happening?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 02:33 AM
02-17-2004 02:33 AM
SolutionThe vg accept all disks but is only able to use diskpace ( MAX PE per PV * PE Size). This is default the size of the first disk added to the vg. If that is smaller as the disk you try to add you are not able to use all the disk space on the new disk.
You can not alter those sizes. Your only option in fbackup remove current vg, create new one and lvrecover.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 02:33 AM
02-17-2004 02:33 AM
Re: vg extend
I have been there
This happens when you attempt to add a physical volume to a VG and the PV size exceeds the limit on the vg(max PE per PV).
Sorry but you must remake it
Steve STeel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 02:35 AM
02-17-2004 02:35 AM
Re: vg extend
Check the output from
# vgdisplay -v your_vg
and check for these notes
Max PE per PV 4350
PE Size (Mbytes) 4
This means your disk is probably to large for your volume group. I my case above 18 GB disks.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 11:25 PM
02-17-2004 11:25 PM
Re: vg extend
This error is received when attempting to add a physical volume to a volume
group and the size of the physical volume exceeds the disk size limit on the
volume group (max PE per PV).
Since I dont know what size your disk is lets assume, the PE size is 4 Mbytes and the Max PE per PV limit is set to 1016. This means that the largest disk that can be added to the volume group is 4064 Mbytes. The disk that is being added to the volume
group is larger than the disk that was used when the volume group was created, the disk is added fine but you will only be able to used 4064 Mbytes of its space.
This limit (max PE per PV) defaults to 1016 when the volume group is created (see the vgcreate(1M) man page, -e option). This parameter can be adjusted by either using the '-e' option with vgcreate, or creating the volume group with the largest disk you plan to have in the volume group - this value will automatically be increased to match the size of the disk when the volume group is created.
The only way to adjust this parameter on an established volume group is to recreate the volume group, requiring:
1. Backup the data in the file systems
2. lvreduce out the logical volumes
3. vgreduce out the physical volumes
4. vgremove the volume group
5. vgcreate the volume group with the -e option to increase the max PEs
per PV (or vgcreate-ing the volume group with the larger disk)
6. vgextend the physical volumes back in
7. lvcreate the logical volumes
8. newfs the file systems within those logical volumes
9. Restore the data to the file systems
The reason that this parameter cannot be changed dynamically is because it is used to calculate the size of the PE-to-LE mapping information kept in the Volume Group Reserve Area. The formula used is:
2*max_pe*max_pv*(extent size)
Good luck,
Everett
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 11:34 PM
02-17-2004 11:34 PM
Re: vg extend
I will recreate the volumegroup on the 2 new disks and restore the data.