On Fri, Jan 11, 2008 at 02:07:22PM -0200, Augusto Castelan Carlson wrote:
Hi!
Then you shut the VM down, edit the config file for the VM to add the second logical volume as xvdb, start the VM back up and fdisk/partition/format and create your logical volumes as you would normally.
Only to be sure, this config file is the one placed in /var/lib/xend/domains/.../config.sxp?
No, don't edit that unless you want your changes to be thrown away / randomly overwriten at will.
Either use virt-manager to add/remove devices, or using virsh you can do the following:
virsh dumpxml [NAME|UUID|ID of GUEST] > NAME.xml emacs NAME.xml virsh define NAME.xml
That will ensure that the config is loaded into XenD correctly, and will indirectly modify the files in /var/lib/xend in a safe fashion
Dan.