[one-users] KVM Qemu does not mount DATABLOCK.
Ruben S. Montero
rubensm at dacya.ucm.es
Fri Mar 4 02:30:03 PST 2011
Hi,
This seems more a KVM/libvirt issue than an OpenNebula one as the
three devices are listed in the deployment file. There has been some
problems reported when mixing ide and virtio disks, that may be cause
of the problem. You may try to put the three disks under virtio to
check if that's the problem.
Cheers
Ruben
On Fri, Mar 4, 2011 at 10:31 AM, Leong Marco <leong.chou.kin at usj.edu.mo> wrote:
> Hi all,
> I have created a CentOS which is sized 2GB. I would like to add a DATABLOCK
> to it. However, the DATABLOCK cannot be found with fdisk -l (in the VM). It
> was able to mount the swap, but no the DATABLOCK.
> Here is the config file that I have. Via
> dumpxml in virsh:
> <domain type='kvm' id='3'>
> <name>one-103</name>
> <uuid>61d4e005-8fd1-c0b5-43f4-1f75596a8451</uuid>
> <memory>1048576</memory>
> <currentMemory>1048576</currentMemory>
> <vcpu>1</vcpu>
> <os>
> <type arch='x86_64' machine='rhel5.4.0'>hvm</type>
> <boot dev='hd'/>
> </os>
> <features>
> <acpi/>
> </features>
> <clock offset='utc'/>
> <on_poweroff>destroy</on_poweroff>
> <on_reboot>restart</on_reboot>
> <on_crash>destroy</on_crash>
> <devices>
> <emulator>/usr/bin/kvm</emulator>
> <disk type='file' device='disk'>
> <driver name='qemu' type='raw'/>
> <source file='/srv/cloud/one/var/103/images/disk.0'/>
> <target dev='hda' bus='virtio'/>
> </disk>
> <disk type='file' device='disk'>
> <driver name='qemu' type='raw'/>
> <source file='/srv/cloud/one/var/103/images/disk.1'/>
> <target dev='hde' bus='virtio'/>
> </disk>
> <disk type='file' device='disk'>
> <driver name='qemu' type='raw'/>
> <source file='/srv/cloud/one/var/103/images/disk.2'/>
> <target dev='hdd' bus='ide'/>
> </disk>
> <interface type='bridge'>
> <mac address='02:00:ac:19:04:0c'/>
> <source bridge='br0'/>
> <target dev='vnet0'/>
> </interface>
> </devices>
> </domain>
> The definition file.
> CPU = 1
> MEMORY = 1024
> NAME = "Web Server"
> OS = [ ARCH = x86_64, ROOT=hda ]
> DISK = [ IMAGE = "base-centos-5.5-x86_64", bus = virtio, target = hda]
> DISK = [IMAGE = "5gb-image", bus = virtio]
> DISK = [TYPE = swap, SIZE= 1024, target = hdd]
> FEATURES = [ACPI = yes]
> NIC = [ NETWORK = "Network", IP=172.25.4.12]
> Please, could anyone help one this. Since I have to prepare several VM on
> next week for other students to play inside it.
>
> Leong Marco
> leong.chou.kin at usj.edu.mo
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
--
Dr. Ruben Santiago Montero
Associate Professor (Profesor Titular), Complutense University of Madrid
URL: http://dsa-research.org/doku.php?id=people:ruben
Weblog: http://blog.dsa-research.org/?author=7
More information about the Users
mailing list