First I don't have any experience creating xen, lvm and RAID-1 server, thus after several reading I stumbled upon this ubuntu documentation to install xen. BUT, because in the documentation it doesn't specify how to use it with raid, I created the a partition like so:
md0 (/dev/md0)
+------------------------------------------------------------+
| LVM |
+------------------------------------------------------------+
hdd1 (/dev/sda)
+----------------------------------------++------------------+
raid || swap |
+----------------------------------------++------------------+
hdd2 (/dev/sdb)
+----------------------------------------++------------------+
raid || swap |
+----------------------------------------++------------------+
inside lvm (/dev/md0), I created logical partition like so :
+------------------------------------------------------------+
| / (root) | reserved LVM for XEN |
+------------------------------------------------------------+
the question is this the correct way to create partition for lvm used for xen ? if this is wrong please show me the correct way to do it
Thank you