Operating System - HP-UX
1753530 Members
4998 Online
108795 Solutions
New Discussion юеВ

Re: increase size LVDISK (VM Guest)

 
SOLVED
Go to solution
Eli Daniel
Super Advisor

increase size LVDISK (VM Guest)

Hi,
i have increase size in the virtual machine for vgecc.
these disk asigned in the vgecc were assigned lvdisk in the VM host.
to change the size of vg in the guest VM guest I have the server down?

15 REPLIES 15
Suraj K Sankari
Honored Contributor

Re: increase size LVDISK (VM Guest)

Hi,
>>to change the size of vg in the guest VM guest I have the server down?

If you have online JFS then reboot is not required

Suraj
Eli Daniel
Super Advisor

Re: increase size LVDISK (VM Guest)

how cant know?
Eli Daniel
Super Advisor

Re: increase size LVDISK (VM Guest)

Operation System 11.23 Itanium 64 bits
Torsten.
Acclaimed Contributor

Re: increase size LVDISK (VM Guest)

I have never done this before, but I assume if your guests are using 11.23 or an early 11.31 you need to do an vgmodify (on guest) to make LVM aware of the new size.

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!   
Steven E. Protter
Exalted Contributor

Re: increase size LVDISK (VM Guest)

Shalom,

hpvm version decides the outcome of this question.

Clearly life will be easier for you if you can boot the guests.

vgmodify functionality is added to 11.23 as a patch. It is built into 11.31

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
Eli Daniel
Super Advisor

Re: increase size LVDISK (VM Guest)

the system operation support JFS

In the case modify lvdisk:

VMhost
lvextend -L 400 /dev/vg01/lvol4

VMguest
lvextend 400 /dev/vg01/lvol4
fsadm -F -vxfs -b 400M /usr/app1/data1

the run command wiht vgmguest up.

these is true?
TwoProc
Honored Contributor

Re: increase size LVDISK (VM Guest)

Re: your last question:

It's great that you've got Online JFS, therefore:

1) If you're on HPUX 11.3, then yes, that looks right.
2) If you're on HPUX 11.2, then you'll need to vgmodify first, then your commands.
3) If you're on HPUX 11.1, then no, you can't do this. You need to add new LUNS, not make existing LUNS larger.

Lastly, test this all out on a test server first, before changing production vm hosts and machines.
We are the people our parents warned us about --Jimmy Buffett
Eli Daniel
Super Advisor

Re: increase size LVDISK (VM Guest)

Hi John,
2) If you're on HPUX 11.2, then you'll need to vgmodify first, then your commands.

vgmodify in the Host or Vm Guest?
Torsten.
Acclaimed Contributor

Re: increase size LVDISK (VM Guest)

If you increase an LVOL on the host provided to the guest, you need to run vgmodify on the guest.

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!