<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<br>
<br>
I'm new to Xen, i've search through wiki and different site/help/discuss archives but didn't find the solution to my little problem.<br>
<br>
Well, I'd like to create a debian VM with the cmd tool xen-create-image
but i'd like to create it with lvm on the guest AND on the dom0 BUT with
partitioning only on the domU side.<br>
<br>Scheme : <br><br>
FS (/, /tmp, /var ....)<br> |<br> lv_* (LV)<br> |<br> rootvg (VG)<br> |<br> xvdap1 (PV)<br> |<br>Dom U xvda (Disk)<br> |<br> lv_vm (LV)<br> |<br>Dom0 vmVG (VG) <br><br><br>
As for creating VG/LV on the dom0, it's ok.<br>
As for using the LV as a block device to create the domU, it's ok (--image-dev option)<br>
<br>
Now i'm stuck, how can I create FS on the domU ? There is a nice
directory to describe the partitions (/etc/xen-tools/partitions.d/) but
the xen-tools create them on the dom0.<br>
<br>
I know that what I'm trying to achieve is possible since I've done it
manually using the debian installer, but i'd like to automate it.<br>
<br>Thanks for your time and answers,<br>
Regards,<br>
<br> </div></body>
</html>