1822545 Members
2723 Online
109642 Solutions
New Discussion юеВ

Expand LUN on Storage

 
SOLVED
Go to solution
Lovro VRES
Advisor

Expand LUN on Storage

Hello,

I have EVA storage and two integrity servers using for RAC. I have raw partitions for data files using LVM.
I need to create additional tablespace in my database. First I resize virtual disk on my storage so I can add additional logical volumes using lvcreate.

Now I have a problem. When I use SAM, the size of disk is still the same (additional space is not visable) and I cant create any additional logical volumes.

What should I do?

Regards.

5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Expand LUN on Storage

Shalom,

Usually you have to boot the system to get the new space recognized.

Sometimes ioscan will help, but not always.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sameer_Nirmal
Honored Contributor
Solution

Re: Expand LUN on Storage

You won't see the additional space at all even though you increased the Vdisk size at EVA side in HPUX. This is because HPUX doesn't support dynamic expansion/resize of the Vdisk likes Windows does.

So in your case, you need to create another vdisk and add it in the vg and then create lv out of it.
Torsten.
Acclaimed Contributor

Re: Expand LUN on Storage

Hi,

the current HP-UX 11i versions 1 and 2 are not able to handle changing disk sizes.
You need to create a new vdisk, lvol and add it to your 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!   
Lovro VRES
Advisor

Re: Expand LUN on Storage

OK, thanks, now I understand the point.
Should I use commands for Volume group expansion on all nodes in the cluster?
Which commands should I use for creating nev logical volume. I can use lvcreate on the first node, but how can I get device files on all other nodes?
Should I deactivated volume group on all nodes before I can add new logical volume?

Regards.
Kevin Wright
Honored Contributor

Re: Expand LUN on Storage

There is no need to reboot to see the disks/expand the space. ioscan,insf.

Most likely this is a shared VG right? If so, yes, you must de-activate the VG to make changes.. then pvcreate, vgextend, lvcreate, then go through your vgexport, vgimport process.