- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending a vg of multiple LUNS from an EVA?
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
07-19-2007 02:49 AM
07-19-2007 02:49 AM
Extending a vg of multiple LUNS from an EVA?
I have inherited a system where the volume groups are made up of chunks of 25GB to make much larger file systems. I was wondering does anyone know it is possible to add new LUNS to this vg anduse lvextend etc to increase the vg size without having to rebuild the whole logical volume.
Example: Currently 250GB made up of 10x25G LUNS. Developer now want the file system to be 400GB.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 02:57 AM
07-19-2007 02:57 AM
Re: Extending a vg of multiple LUNS from an EVA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 02:58 AM
07-19-2007 02:58 AM
Re: Extending a vg of multiple LUNS from an EVA?
for me, if i have well understood, you have need to increase space disk of vg from 250 to 400
for me , you must add new Lun, and this lun will be added to vg
Check if vg , maximal pv allowed (max pv) and size of disk authorized (max pe par pv and pe size)
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 02:59 AM
07-19-2007 02:59 AM
Re: Extending a vg of multiple LUNS from an EVA?
If the LVOLs are striped across the "physical disks" (vdisks), you will have a problem when extending the LVOLs.
But to vgextend the VG to new vdisks should not be a problem.
Just in case you have 11.23 or 11.31 you may consider to expand the current vdisks. You can use "vgmodify" to adjust the LVM config.
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
07-19-2007 03:12 AM
07-19-2007 03:12 AM
Re: Extending a vg of multiple LUNS from an EVA?
# vgdisplay -v
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 03:19 AM
07-19-2007 03:19 AM
Re: Extending a vg of multiple LUNS from an EVA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 03:21 AM
07-19-2007 03:21 AM
Re: Extending a vg of multiple LUNS from an EVA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 03:21 AM
07-19-2007 03:21 AM
Re: Extending a vg of multiple LUNS from an EVA?
you need to check the following things -
1. Max PV for the VG should be equal or more than the total number of disks (PVs) present in the VG + the total number of disks (PVs) that you wish to add (extend VG with)
2. PE size - this is very important if you want to extend your filesystem - the max volume size you can have is 65535 * PE size [ Thus in your case if PE size is 4 MB, then you cannot extend your logical volume beyond around 255 GB]
3. Max PE per PV - since your initial disks are all 25 GB - your Max PE per PV would be around (25 GB / PE Size) , thus even if you add a larger size disk, the maximum space you can use from this disk would be PE size * Max PE per PV = which again is almost = 25 GB.
Hope this clarifies,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 07:21 PM
07-19-2007 07:21 PM
Re: Extending a vg of multiple LUNS from an EVA?
--- Volume groups ---
VG Name /dev/vguat
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 15
Act PV 15
Max PE per PV 3199
VGDA 30
PE Size (Mbytes) 8
Total PE 47985
Alloc PE 47985
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vguat/lvol1
LV Status available/syncd
LV Size (Mbytes) 383880
Current LE 47985
Allocated PE 47985
Used PV 15
--- Physical volumes ---
PV Name /dev/dsk/c12t0d0
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t0d1
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t0d2
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t0d3
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t2d4
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t2d5
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t2d6
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t2d7
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t3d0
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t3d5
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t3d6
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t3d7
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t6d1
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t6d2
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
PV Name /dev/dsk/c12t6d3
PV Status available
Total PE 3199
Free PE 0
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 07:35 PM
07-19-2007 07:35 PM
Re: Extending a vg of multiple LUNS from an EVA?
Max PV 16
Cur PV 15
Are they striped? Check lvdisplay!
Consider to extend the vdisks (if running 11.23 or 11.31).
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
07-19-2007 08:32 PM
07-19-2007 08:32 PM
Re: Extending a vg of multiple LUNS from an EVA?
So the best bet would be to create a new VG - take care this time to have higher Max PV, higher Max PE per PV and also higher PE size [ because with youe PE size you could have gone with max of 512 GB volume size ]
Check man of vgcreate for the options for the above
So create a new VG and then copy the data after creating relevant logical volumes.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2007 11:57 PM
07-19-2007 11:57 PM
Re: Extending a vg of multiple LUNS from an EVA?
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 12:07 AM
07-20-2007 12:07 AM
Re: Extending a vg of multiple LUNS from an EVA?
If you are running 11.23 or 11.31 you can use "vgmodify" to adjust LVM to use the space. This comes per patch to 11.23.
If you have 11.11, you can still extend the vdisks, but you must backup your data and rebuild the VG on *all* "new" disks.
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
07-20-2007 01:02 AM
07-20-2007 01:02 AM
Re: Extending a vg of multiple LUNS from an EVA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 01:04 AM
07-20-2007 01:04 AM
Re: Extending a vg of multiple LUNS from an EVA?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 01:06 AM
07-20-2007 01:06 AM
Re: Extending a vg of multiple LUNS from an EVA?
It can be increased to the real max.
(vgmodify)
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
07-20-2007 01:30 AM
07-20-2007 01:30 AM
Re: Extending a vg of multiple LUNS from an EVA?
I see where you are going. I have not used nor had a chance to use the vgmodify command. I read up on it and now see the option to increase the number of extents per PV -- very nice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 01:48 AM
07-20-2007 01:48 AM
Re: Extending a vg of multiple LUNS from an EVA?
/usr/sbin/vgmodify -e max_pe vg_name
see
http://docs.hp.com/en/B2355-60130/vgmodify.1M.html
and
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01920387/c01920387.pdf (BSC link updated by admin)
There was also a thread about this these days, but I can't find it at the moment.
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
07-20-2007 01:56 AM
07-20-2007 01:56 AM
Re: Extending a vg of multiple LUNS from an EVA?
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1139008
Duncan posted it:
You need the following patches:
PHCO_35524
PHKL_36244
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2007 02:00 AM
07-20-2007 02:00 AM
Re: Extending a vg of multiple LUNS from an EVA?
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
07-20-2007 03:16 AM
07-20-2007 03:16 AM
Re: Extending a vg of multiple LUNS from an EVA?
If you have 11.31 then you can either expand the LUNs on the storage side or modify the VG to upp the Max PV value. This followed by running vgmodify to either make the current PVs visibly bigger to the host or vgextend'ing the VG by the number of LUNs added. Same holds for 11.23 but after all the relevant patches have been applied. For 11.11 and below you can add only one PV or rebuild the VG from scratch - backup the current VG; create a new VG with the desired config and import the data into it.