HPE EVA Storage
1819682 Members
4412 Online
109605 Solutions
New Discussion юеВ

increase and decrease virtual disk size

 
Nabil Boussetta
Frequent Advisor

increase and decrease virtual disk size

i have an eva4000. i'd like to increase a virtual disk size. the vdisk is already used by LVM (configured on vg)
- is it possible ?
- if yes, LVM is able to recognize this modification

and what about deceasing size of vdisks
8 REPLIES 8
Uwe Zessin
Honored Contributor

Re: increase and decrease virtual disk size

You can increase the size of a virual disk on the EVA (just type the new value in the input field and hit [Save changes]), but you cannot shrink it - you would have to backup the data, delete the Vdisk, recreate with a smaller size and restore the data.

As far as I know, HP-UX's LVM and Linux's LVM-1 cannot deal with PV size changes.
.
Ivan Ferreira
Honored Contributor

Re: increase and decrease virtual disk size

Your best option is to create another vdisk an add it to the same volume group.

You cannot decrease the size of a virtual disk.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Luk Vandenbussche
Honored Contributor

Re: increase and decrease virtual disk size

Nabil,

Don't increase the size of your LUN. It is not supported bij LVM

Just create an extra VDISK, add it to your volumegroup and extend your logical volumes
Zinky
Honored Contributor

Re: increase and decrease virtual disk size

Online VDISK growth is only supported on Tru64, VMS and Windows 2003 (I think). Although there was a post not so long ago about a successful try.
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
Cem Tugrul
Esteemed Contributor

Re: increase and decrease virtual disk size

Nabil,

Don't increase/decrease the size of your original LUN!!!

Just create an extra VDISK and add it to your VolumeGroup and extend your logical volumes,extend your FS

Good Luck,

Our greatest duty in this life is to help others. And please, if you can't
Zinky
Honored Contributor

Re: increase and decrease virtual disk size

Nabil,

Here's a post of not so long ago about growing vdisk/lun as well as the filesystem on top... Cannot be done online though and evidently only IF you are not using LVM -- a filesystem on top of each disk block device i.e.:

/dev/dsk/cXtYdZ /filesystem vxfs


http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=362426

I have not tried it personally or if OnlineJFS will allow for an online expansion.
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
YoungHwan, Ko
Valued Contributor

Re: increase and decrease virtual disk size

The Vdisk already allocated and used LVM, you cannot resize Vidsk size.
If you want to resize Vdisk size, copy data to another LUN.
And delete Vdisk and recreate. After recreate Vdisk copy data to
new vdisk.
Another method is made new Vdisk, and allocate it to you want Volume group.
Nabil Boussetta
Frequent Advisor

Re: increase and decrease virtual disk size

ok