[Fedora-xen] add 2 lvm to guest with virt-manager
Daniel P. Berrange
berrange at redhat.com
Fri Jan 11 16:10:06 UTC 2008
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.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
More information about the xen
mailing list