- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVEXTEND
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
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
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
тАО06-13-2010 08:51 PM
тАО06-13-2010 08:51 PM
LVEXTEND
I am getting the following error while I am trying to extend my Filesystem.My OS is HP-UX11.23..pls suggest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 09:00 PM
тАО06-13-2010 09:00 PM
Re: LVEXTEND
Consider to adjust with "vgmodify" first.
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
тАО06-13-2010 09:03 PM
тАО06-13-2010 09:03 PM
Re: LVEXTEND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 09:08 PM
тАО06-13-2010 09:08 PM
Re: LVEXTEND
Your VG has now 51GB free, so you cannot extend to larger space.
Consider to use vgmodify and increase MAX_PE.
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
тАО06-13-2010 09:14 PM
тАО06-13-2010 09:14 PM
Re: LVEXTEND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 09:51 PM
тАО06-13-2010 09:51 PM
Re: LVEXTEND
Which version of HPUX?
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
http://docs.hp.com/en/B3921-60631/vgmodify.1M.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 09:58 PM
тАО06-13-2010 09:58 PM
Re: LVEXTEND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 10:05 PM
тАО06-13-2010 10:05 PM
Re: LVEXTEND
So the available capacity is 3199 * 16 MB = 51184 MB.
The total capacity of this VG is 8445 * 16 MB = 135120 MB.
The existing /dev/vgsapdata1/lvsapdata1 seems to be the *only* LV in this VG, and you're trying to extend it.
But it's impossible to extend it to 153400 MB: it simply does not fit onto the current PVs.
The root cause is visible in the earlier output:
> vgextend: Warning: Max_PE_per_PV for the volume group (3199) is too small for this PV (4351).
> Using only 3199 PEs from this physical volume.
In other words, when the vgsapdata1 volume group was created, the "Max PE per PV" value was set to 3199. Either it was explicitly set with the -e option of the vgcreate command, or the size of the largest LUN used at VG creation time was exactly 3199 extents = 51184 MB. This limits the usable size of all new LUNs added to this VG to 51184 MB per LUN, even if the LUN is actually bigger than that.
If your VG had originally been created with Max PE per PV set to 4351 or greater, your commands would have been successful. Your new LUN would have given you 4351 new free extents, and the total capacity of this VG would have been (8445 - 3199 + 4351) * 16 MB = 153552 MB.
To fix this problem, you'll need either to remove the new LUN and request two or more new, smaller LUNs (each sized 51184 MB or less), or some application downtime to fix the VG configuration.
There are basically two ways to fix the VG to allow the addition of larger LUNs:
1.)
The old method: create an entirely new VG, copy the data to it, then remove the old one. (You can then rename the new VG back to the old name by doing a vgexport + vgimport.)
If you do this, you should choose the "Max PE per PV" and "PE size" values so that they won't restrict you from expanding the VG in the future.
The maximum size of a PV in LVM 1.0 (= the only available LVM version until HP-UX 11.31) is 2 TB. If you want to make a VG that is prepared to accept LUNs of up to 2 TB in the future, then you might want to push the PE size to 256 M and Max PE per PV to 8192, i.e. "vgcreate -s 256 -e 8192 ..."
If the PE size of 256 M is too granular for you, "vgcreate -s 128 -e 16384 ..." or "vgcreate -s 64 -e 32768 ..." would be acceptable alternatives. But if you are planning to use the entire VG for a single LV, there is no reason not to push the PE size as high as it can go.
2.)
If you have the appropriate LVM patches installed (PHCO_38717 or the newer PHCO_40920), you can use the vgmodify command to adjust your existing VG to accept larger LUNs. Unfortunately, in HP-UX 11.23 you cannot do it on-line: you must deactivate the VG to use vgmodify.
Please see:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
http://www.hpuxtips.es/?q=node/179
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 10:14 PM
тАО06-13-2010 10:14 PM
Re: LVEXTEND
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2010 10:49 PM
тАО06-13-2010 10:49 PM
Re: LVEXTEND
Regards,
Sooraj