Disk Arrays
cancel
Showing results for 
Search instead for 
Did you mean: 

extend Virtual Disk on HPUX

SOLVED
Go to solution
Ancelmo Rodriguez Parra
Occasional Advisor

extend Virtual Disk on HPUX

We have EVA4400 presentting virtual disks to a server running HP-UX itanium B.11.23 U ia64.
Is it possible to extend a virtual disk already used on the HP-UX system?
8 REPLIES
Víctor Cespón
Honored Contributor
Solution

Re: extend Virtual Disk on HPUX

Check the pvchange command

http://docs.hp.com/en/B9106-90008/pvchange.1M.html

Allow the allocation of additional physical extents to a physical volume:

pvchange -x y /dev/dsk/c0t0d0

Ancelmo Rodriguez Parra
Occasional Advisor

Re: extend Virtual Disk on HPUX

works, now the system sees the modified size (20G), but the logical volume still sees the original(10G). Trying to extend the logical volume is not possible because still sees the 10GB disk
Hoang Chi Cong_1
Honored Contributor

Re: extend Virtual Disk on HPUX

Hi,

That's correct!

Although the OS can see new new disk's size, you still can not extend the Logical Volume.
With EVA, if you want to extend a VG, there are two ways:
1. Create more new Vdisk, then extend it to the VA.
2. Resize the Vdisk.

But in both case, the OS can not automatic extend when you extend the LV.
In this case, you have re-create the LV.
Then you can use the new size (20GB).
You have to backup all data and after re-create the LV, just restore.

In another way, if you don't want to re-create the LV, just create one more Vdisk with 10GB then add to the VG, then you can extend the current LV to the new disk.

Hope this helps,
Cong,
Looking for a special chance.......
Armin Kunaschik
Esteemed Contributor

Re: extend Virtual Disk on HPUX

If your HP-UX 11.23 patchlevel is current you should have the command vgmodify available.
But the increase is only possible if the volume group is offline.
Do "vgchange -a n" and "vgmodify" to get the new extents into the LVM configuration.

My 2 cents,
Armin

PS: Assign points if you find answers useful!
And now for something completely different...
Avinash20
Honored Contributor

Re: extend Virtual Disk on HPUX

Yes, it possible to extend the VG and then you need to extend the LV manually

Please refer to the below doc

http://docs.hp.com/en/vgmodify/vgmodify_wp_modified_final.pdf
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Ancelmo Rodriguez Parra
Occasional Advisor

Re: extend Virtual Disk on HPUX

"vgchange -a n" works, but:
# vgmodify
sh: vgmodify: not found.

Armin Kunaschik
Esteemed Contributor

Re: extend Virtual Disk on HPUX

Please read the mentioned document. You'll find that you need to install PHCO_35524.
Your HP-UX system seems to run with a pretty old patchlevel. You should urgently consider installing a current patchelevel!

Armin

PS: Assign points if you find answers useful!
And now for something completely different...
Ancelmo Rodriguez Parra
Occasional Advisor

Re: extend Virtual Disk on HPUX

I am installing the last patch level