- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to extend the 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
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
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
тАО10-21-2003 03:20 PM
тАО10-21-2003 03:20 PM
vgextend: Not enough physical extents per physical volume. Need: 4341, Have: 2170.
But Volume group "vg02" has been successfully extended.
Volume Group configuration for /dev/vg02 has been saved in /etc/lvmconf/vg02.conf
Then I pvdisplay the new disk :
pvdisplay -v /dev/dsk/c13t13d0 | more
&a23y0C K--- Physical volumes ---
PV Name /dev/dsk/c13t13d0
VG Name /dev/vg02
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 2170
Free PE 2170
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
--- Physical extents ---
PE Status LV LE
0000 free 0000
0001 free 0000
0002 free 0000
0003 free 0000
0004 free 0000
0005 free 0000
Total PE is only 2170 only.
Please advise. Thanks in advance.
Cat
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 03:25 PM
тАО10-21-2003 03:25 PM
Re: How to extend the PE per PV
Sorry, the only way to increase max PE/PV is to recreate the VG from scratch.
So, you'll have to back up the data, vgexport the old VG & recreate a new one. But be advised that whichever disk you choose to create the new VG determines the default value unless overridden on the command line with a specific value. So use the 18Gb to create the VG initially & then vgextend with the smaller. Or just override the default on the vgcreate command line.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 03:34 PM
тАО10-21-2003 03:34 PM
Re: How to extend the PE per PV
First thing is this parameter is controlled at the time of creation of a volume group i.e
vgcreate with -p option.
Now this situation comes when you have a smaller disk in a VG and later plan to add a bigger disk. You wouldn't be able to utilize the full capacity of the bigger disk. Like here you wouldn't be able to use whole 18GB.
Now the only way to do that is re-create the VG with -p option and increase the MAX PE PER PV.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 05:07 PM
тАО10-21-2003 05:07 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 07:25 PM
тАО10-21-2003 07:25 PM
Re: How to extend the PE per PV
Read DOCID=UIUXKBRC00010068 in knowledge base.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062922008
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 08:40 PM
тАО10-21-2003 08:40 PM
Re: How to extend the PE per PV
Thanks for all your valuable feedback. It seems that I have no other choice apart from recreate the VG. May I double confirm that should I export the lvol first ? Or just simply export the VG02 after doing the back up ? It would be much appreciate if there is existing procedure on the command.
Thanks in advance !!
p.s. Marks will be given in next reply. Many many thanks !!
Best regards,
Cat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 10:15 PM
тАО10-21-2003 10:15 PM
Re: How to extend the PE per PV
There's no need to worry about the lvol - just vgexport the volume group and all traces of it will disappear - then recreate with appropriate values.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2003 10:22 PM
тАО10-21-2003 10:22 PM
Re: How to extend the PE per PV
Once you have taken the backup of the whole VG you can safely export without worrying about each lvols.
When you export the VG all the lvols will disappear and the disks will also disappear from /etc/lvmtab and you can then re-create VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2003 03:56 AM
тАО10-23-2003 03:56 AM
Re: How to extend the PE per PV
That may be an option for you to consider.
Recreation is the only way... If you have a good backkup, that should be a good way to restore although slow depending on if it is from tape or over the network and depending then on your network fabric...
But I would look at makeing a new VG then creating new LVOLs and moving the data over that way... may be easier and safer in my estimation...