Operating System - HP-UX
1833940 Members
1715 Online
110063 Solutions
New Discussion

Re: lvdisk and virtual disk

 
SOLVED
Go to solution
Eli Daniel
Super Advisor

lvdisk and virtual disk

hi
I have the question.
i have actuality 1 virtual machine guest with disk assigned lvdisk and hard disk.
the vg00 in VM guest has 1 disk assigned lvdisk, nedd add 2 diks in the vg00.
i cant 2 disk hard disk?? or should be added lvdisk??

11 REPLIES 11
Tingli
Esteemed Contributor
Solution

Re: lvdisk and virtual disk

It is hard to understand the question but my guess is that you need first create lvdisk in the host server then send them to the guest. After that, you can either extend the original vg00 or add new volume groups.
Eli Daniel
Super Advisor

Re: lvdisk and virtual disk

I have a virtual machine a virtual machine host and guest.
vg00 of the guest virtual machine is assigned a lvdisk VMhost internal disk.
VMhost the inner disk has no space to grow.
I can asginar VMhost an external disk to add it as the hard disk to vg00 VMguest?
Torsten.
Acclaimed Contributor

Re: lvdisk and virtual disk

It depends.

If you have a multipathed disk and the VMhost is running 11.23 without multipathing software you need to stay with LVM disks.

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!   
Tingli
Esteemed Contributor

Re: lvdisk and virtual disk

The best way is to add the san disk in the guest side instead of in the host server. If you have your guest root built in a continues way, then it might be ok. Otherwise, the guest vg00 might be corrupted and can not be repaired.

Not to say that combining internal disk and san disk as in a same vg is a good idea.
Chandrahasa s
Valued Contributor

Re: lvdisk and virtual disk

Hi,

If you have extra disk in vmhost or free lvm you can very well assign to vmguest.

Chandra
Eli Daniel
Super Advisor

Re: lvdisk and virtual disk

S.O HP-UX 11.23 Itanium.
I really need to know is if I can VMguest add hard disk to VG disk holding lvdisk.
Eli Daniel
Super Advisor

Re: lvdisk and virtual disk

ok, I understand technically possible. but it is not the best practice.
is that correct?
Chandrahasa s
Valued Contributor

Re: lvdisk and virtual disk

Adding lvs of vmhost to vmguest is not best practise its always safe assinging entire physical disk to vm guest.

Chandra
Torsten.
Acclaimed Contributor

Re: lvdisk and virtual disk

>> Adding lvs of vmhost to vmguest is not best practise

Why not?

It's IMHO the best if you need less than the complete disk

or

you have a multipathed disk without multipathing software on the host.

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!   
Chandrahasa s
Valued Contributor

Re: lvdisk and virtual disk

Hi,

If there is disk failure we are in trouble at two places vmhost and guest.



Chandra
Eli Daniel
Super Advisor

Re: lvdisk and virtual disk

thanks