- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Exploiting new space
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
тАО01-21-2009 05:40 AM
тАО01-21-2009 05:40 AM
I have a volume group on an 11.23 RX4640 with a single large LUN presented to it from a NetApps filer (1.6TB.) PE Size was set to 32MB and the max PE is 51204 and the total PE is presently 51197, leaving just one extent unallocated at 32MB
I want to exploit the new space, and using the patched vgmodify, tried to modify max_pe, but hit the snag in that the first extent has to be made free;
vgmodify -e 65535 -r /dev/
Current Volume Group settings:
Max LV 255
Max PV 16
Max PE per PV 51204
PE Size (Mbytes) 32
VGRA Size (Kbytes) 6672
vgmodify: This operation can only be completed if PE number zero on "/dev/rdsk/c11t0d5" is freed
vgmodify: Physical Extent renumbering (-n) required to accomplish task
Trying pvmove pointed me to check with pvdisplay and at that point I found extent zero (0000) was employed in a contiguous LV;
pvmove /dev/dsk/c11t0d5:0 /dev/dsk/c11t0d5
The given extent belongs to a contiguous Logical Volume.
This move is not supported. Complete Logical Volume can be moved using -n flag
The options seem a little thin; I think I can only;
1. Have another LUN presented to the VG and pvmove the LV to it, and then run the vgmodify routine to increase max_pe.
or
2. backup the LV's contents, scrag the VG, rebuild it, with PE size at say 64MB and restore the data to the subsequently built LV.
If there is another getout method I would be very grateful to be told it.
Ta!
Bren
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 06:41 AM
тАО01-21-2009 06:41 AM
Re: Exploiting new space
If you don't have this doc, take a look at it
http://docs.hp.com/en/vgmodify/vgmodify_wp_modified_final.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 06:52 AM
тАО01-21-2009 06:52 AM
Re: Exploiting new space
If I understand correctly this is on the same PV? Then
1. move extend 0 with the vgmodify command
2. change the max_pe
3. Do extend renumbering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 07:16 AM
тАО01-21-2009 07:16 AM
Re: Exploiting new space
PE 00000 is showing;
00000 current /dev/
The last extent is free;
51196 free 00000
I clear with;
2. change the max_pe
3. Do extend renumbering
But stuck with "1. move extend 0 with the vgmodify command" as I used the pvmove routine that provoked the contiguous LV error.
Can you detail your solution more explicitely?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-21-2009 07:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2009 01:55 AM
тАО01-23-2009 01:55 AM
Re: Exploiting new space
After unmounting the file systems;
lvchange -C n /dev/
then move extent zero to any free extent for a larger VGRA mapping area;
pvmove /dev/dsk/c11t0d5:0 /dev/dsk/c11t0d5
Transferring logical extents of logical volume "/dev/
Physical volume "/dev/dsk/c11t0d5" has been successfully moved.
Then deactivate the VG and use vgmodify, in this case dropping the max PV and upping the max pe to get the best combination to exploit the new space;
vgmodify -e 65535 -p 12 /dev/
Reactivate the VG.
Then lvextend to suit the new space (or all of it if required.)
Extend the LV with extendfs.