Question around Xen virtual disks
Hi guys,
I need some advise on how best to set up a vm's xen virtual disks.
Our SLES 11 Xen host runs an LVM2 and each virtual runs off of it's own logical volume. The virtuals use LVM2 because I thought that I'd be able to resize volumes on the fly, but the xvd files have to be manually extended?
Anyway! I landed up with this inside /var/lib/xen/images/mylittlevm/
xvda1 - /boot - 0.5GB
xvda2 - /swap - 4.0GB
xvdb - / - 9.5GB
xvdc - /opt - 9.5GB
Looks neat and tidy but may be unnecessary. Suppose I could put /boot, / and /swap on one disk. I remember creating xvdc because I read that you can't extend the disk hosting your root partition on the fly. I didn't like that so created xvdc which I should be able to resize while the machine is running.
After all of that, this is my question. Is there any kind of guideline to do with configuring xen virtual disks? Do I get better performance if I split them up (like i have) or keep them together? What is the best configuration?
That's all! I will plague you no more.
Nasso
|