HPE EVA Storage
1748239 Members
3653 Online
108759 Solutions
New Discussion юеВ

Re: expanding a virtual disk in EVA storage

 
SOLVED
Go to solution
radi_1
Frequent Advisor

expanding a virtual disk in EVA storage

Hi,
I have the following vitual array situation in a customer's EVA storage:
1-The default vgroup needs to be expanded by
adding new disks to it.
2-the vgroup has vdisks configured and presented to two HP-UX servers.
3- Each vdisk needs to be expanded to increase
capacity.
What are the steps needed to do the above,specaily task 3.
Note:
I could not find an option in command view which would allow me to expand a particular vdisk to new size ,but I read in a practice handbook that I need to UNPRESENT the vdisk before expanding it .Even in hp manuals there is no mention of such a task.
Please your quick advice would be higly appreciated.
never take simple maters for granted
8 REPLIES 8
Jan Soska
Honored Contributor
Solution

Re: expanding a virtual disk in EVA storage

hello,
1) if you have empty space inside vgroup, just resize it in windows showing size (e.g. 300GB -> 400GB) and save, it will extend vdisk
2) if there is no free space, you have to add disks into vgroup, ideally wait due leveling and go to step 1.

Most important - you OS must handle such change correctly, I think HP-UX is capable of it, but you need unix gui with knowledge of hp-ux tools hove to expand filesystem after you resized vdisk presented to server.

Jan
Sheldon Smith
HPE Pro

Re: expanding a virtual disk in EVA storage

EVA virtual disks or "vdisks" are presented as LUNs to HP-UX.
Once HP-UX finds them, each vdisk becomes a Logical Volume Manager (LVM) Physical Volume. (pvcreate)
Multiple Physical Volumes become a (LVM) Volume Group. (vgcreate)
Volume Groups are sliced into (LVM) Logical Volumes. (lvcreate)
Logical Volumes *can be extended*. (lvextend)
And the majority of HP-UX systems I see, customers use LVM instead of creating a file system on individual EVA vdisks.

So where you say "the vgroup has vdisks configured and presented to two HP-UX servers", are you using the Logical Volume Manager to consolidate vdisks into logical volumes which have the file systems?

------
Don't forget to rate the usefulness/quality of *all* responses to (all of) your question(s).

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company

Accept or Kudo

Torsten.
Acclaimed Contributor

Re: expanding a virtual disk in EVA storage

Before doing *anything*, please tell what OS version you have.

Anything below 11.23 does NOT support LUN increasing!

The additional space in a vdisk will just be useless until you recreate the VG!


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!   
Sheldon Smith
HPE Pro

Re: expanding a virtual disk in EVA storage

Torsten, don't versions below 11.23 support "lvextend"?

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company

Accept or Kudo

Uwe Zessin
Honored Contributor

Re: expanding a virtual disk in EVA storage

But the question was about increasing the EVA virtual disk (=PV/physical volume) which lives 'below' the VG/volume group. The LV/logical volume is an object 'above' the VG and the PV.
.
Torsten.
Acclaimed Contributor

Re: expanding a virtual disk in EVA storage

"lvextend" comes into play much later.

First the LVM structure (the physical extend layout) must be extended to the additional space (the grown vdisk); this can be done using "vgmodify", which is not available lelow 11.23.


The workaround is to create a new vdisk and add it to the volume group.

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!   
Sheldon Smith
HPE Pro

Re: expanding a virtual disk in EVA storage

Uwe, I thought so too, then I noticed the mention of "vgroups". So I don't know if the author is talking about working with EVA vdisks directly, or EVA vdisks in LVM vgroups.

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company

Accept or Kudo

Uwe Zessin
Honored Contributor

Re: expanding a virtual disk in EVA storage

Looks like M .Salah has used a bit wrong terminology when calling an EVA "disk group" a "vgroup".
.