XenServer 6.5 + mdadm raid stripe

Enable Raid stripe module

  1. Create file /etc/sysconfig/modules/raid.modules with needed modules

echo "modprobe raid1" > /etc/sysconfig/modules/raid.modules

you can add lines for another raid level (raid0 or raid10 for example)

  1. Make this file executable

chmod +x /etc/sysconfig/modules/raid.modules

  1. Reboot.

May not survive patching

From: Citrix Forum

Create Raid

Creates a mirror

mdadm -C /dev/md0 -l raid0 -n 2 /dev/sd[a-b]

Triggers the auto create on boot

touch /etc/mdadm.conf

Add as local storage

xe sr-create name-label=<Name of Storage> shared=false device-config:device=<Path of the Storage device> type=lvm