Operating System - HP-UX
1753563 Members
6356 Online
108796 Solutions
New Discussion юеВ

Re: increase size LVDISK (VM Guest)

 
SOLVED
Go to solution
Eli Daniel
Super Advisor

Re: increase size LVDISK (VM Guest)

argument which I use for the VM Guest vgmodify?
Eli Daniel
Super Advisor

Re: increase size LVDISK (VM Guest)

Hi Torsten
I dont understand vgmodify in the VM host and VM guest?

I need to know how to increase or add a new disk to VM guest?
example:
Vm host
vgapp1 assigned LV disk to Vm Guest.

Vm host:
i need add 1 disk to vgapp1 and expand LV disk Vm guest.

Vm hosts:
vgextend /dev/vgapp1 /dev/dsk/c1t4d0
lvextend -L xxx /dev/vgapp1/lvapp1

Vm Guest:
lvextend -L xxx /dev/vg1/lv1

This is correct??
Torsten.
Acclaimed Contributor
Solution

Re: increase size LVDISK (VM Guest)

If you extend the lvol on the host, you need to use vgmodify on the guest to make it aware of the increased virtual disk. Then you can use lvextend there.

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

Re: increase size LVDISK (VM Guest)

torsten, sorry again, but as vgmodify use on the guest? syntax or option to use?
Eli Daniel
Super Advisor

Re: increase size LVDISK (VM Guest)

Thanks Torsten
Torsten.
Acclaimed Contributor

Re: increase size LVDISK (VM Guest)

For those who need a manual, search for the PDF titled:

"Using the vgmodify command to perform LVM Volume Group Dynamic LUN Expansion (DLE) and Contraction (DLC)"

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!