[CentOS-virt] Trouble with virtio storage

Wed Feb 2 17:28:56 UTC 2011
Vladimir Vuksan <vlists at veus.hr>

I am trying to get a custom Centos 5 image going under Openstack Nova (a
cloud framework). Trouble I have is that for whatever reason virtio storage
doesn't work for me. For example if the VM is started using these options

                <cmdline>root=/dev/vda console=ttyS0</cmdline>

        <disk type='file'>
            <driver type='qcow2'/>
            <target dev='vda' bus='virtio'/>

Booting fails

Creating root device.
Mounting root filesystem.
mount: could not find filesystem '/dev/root'

If I then destroy the VM, change root to be /dev/sda and target dev=sda
with bus=ide things boot properly. Kernel and ramdisk being used to boot
are these


I even tried Oracle's 2.6.32 kernels with same results.

Underlying host OS is Oracle EL 5.5

Any clues ?