<html><body>
<p>My personal experience in doing this worked... until I need to manipulate some things... then the nested LVM data really made life miserable with the device mapper, etc... long story short... we decided NOT to create the nested scenario.  Sure... it's not as nice and flexible, but seem to be a whole lot safer.<br>
<br>
For now, we are using LVM on the hypervisor host and using disks as normal, partitionable spaces (old style) on the VMs.  I would think the opposite would also work reasonably well... but again, we felt it was safer doing it the way we're doing it.<br>
<br>
Somebody else feel free to chime in....<br>
<br>
<br>
<img width="16" height="16" src="cid:1__=08BBF21DDF8770978f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for allan ---05/09/2011 04:42:39 PM---Hi Steve, I've had mixed results doing that very thing. Two servers"><font color="#424282">allan ---05/09/2011 04:42:39 PM---Hi Steve, I've had mixed results doing that very thing. Two servers perform very differently.</font><br>
<br>
<font size="2" color="#5F5F5F">From:  </font><font size="2">allan <allane@spinn.net></font><br>
<font size="2" color="#5F5F5F">To:    </font><font size="2">LVM general discussion and development <linux-lvm@redhat.com></font><br>
<font size="2" color="#5F5F5F">Date:  </font><font size="2">05/09/2011 04:42 PM</font><br>
<font size="2" color="#5F5F5F">Subject:       </font><font size="2">Re: [linux-lvm] creating pv's on LVM's for virtual guests</font><br>
<font size="2" color="#5F5F5F">Sent by:       </font><font size="2">linux-lvm-bounces@redhat.com</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt>Hi Steve,<br>
<br>
I've had mixed results doing that very thing. Two servers perform very differently.<br>
One mach, an HP DL380G6 w/ dual quad core Zeon and 6 146G disks installed with CentOS 5.5 stock xen, lvm, etc. performs <br>
very well. Another machine intended as a low class server, a desktop quad core AMD, 4 SATA disks installed with stock <br>
CentOS 5.5 same as first mach, has issues with disk perfomance on every DomU - writes are 1/10 the rate of Dom0 -- I'm <br>
still troubleshooting it.<br>
I see no problem with using LVM on Dom0, carving it up and offering to DomU virtuals and the virtuals using LVM for <br>
storage. One thing to avoid: do not duplicate an LVM names within the entire machine. i.e. installer, when told to use <br>
LVM, will create a vg of a specific name. If this name is not overridden, and you create multiple DomUs with same <br>
process the VG name will be duplicated (as well as the LV names). Avoid name duplication.<br>
I hope this helps.<br>
<br>
Allan<br>
<br>
Steve Shorter wrote:<br>
> Howdy!<br>
> <br>
>             I am setting up virtual guests to have a LVM created<br>
> from the host. It would be good to use LVM's in the<br>
> guest also.. for easy volume expansion etc...<br>
> <br>
> ie. I am creating pv's/vg's/lvms on top of LVM's. It *seems* to<br>
> work but some of the userland tools need the option -ff<br>
> <br>
>             Does anybody see any issues doing this?<br>
> <br>
>             thanx - steve<br>
> <br>
> _______________________________________________<br>
> linux-lvm mailing list<br>
> linux-lvm@redhat.com<br>
> </tt><tt><a href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a></tt><tt><br>
> read the LVM HOW-TO at </tt><tt><a href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a></tt><tt><br>
> <br>
> <br>
<br>
_______________________________________________<br>
linux-lvm mailing list<br>
linux-lvm@redhat.com<br>
</tt><tt><a href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a></tt><tt><br>
read the LVM HOW-TO at </tt><tt><a href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a></tt><tt><br>
</tt><br>
</body></html>