MBR on the cinder volume is not correct

asked 2018-06-11 03:08:15 -0600

yafeng gravatar image

updated 2018-06-11 04:08:55 -0600

[root@queens ~(keystone_admin)]# qemu-img check OMU-disk.qcow2

No errors were found on the image.

149366/1638400 = 9.12% allocated, 0.00% fragmented, 0.00% compressed clusters

Image end offset: 9793175552

[root@queens ~(keystone_admin)]# qemu-img info OMU-disk.qcow2

image: OMU-disk-SG0100800.qcow2

file format: qcow2

virtual size: 100G (107374182400 bytes)

disk size: 9.1G

cluster_size: 65536

Format specific information:

compat: 1.1

lazy refcounts: false

refcount bits: 16

corrupt: false

glance image-create --name=omu_image --disk-format raw --container-format bare --visibility public --progress --file OMU-disk.qcow

openstack volume create with the glance image.

If the VM was booted from iPXE and the cinder volume was attached to the VM, iPXE found the MBR was not correct, so VM was stuck on the iPXE phase.

I attached the volume to a Linux unit and found the volume was filled with 0.

edit retag flag offensive close merge delete