Ask Your Question

Error 16: Inconsistent filesystem structure [closed]

asked 2019-05-31 15:47:51 -0500

utdream gravatar image

updated 2019-05-31 17:03:38 -0500

Hi Folks,

I am busily learning about OpenStack in a 4-node dev environment and I've got most of the core services up and running well (keystone, neutron, glance, nova, horizon), but now I'm having an issue whenever I try to launch the Cirros image as per the "Launch an Instance" Nova documentation. I can create an instance of Cirros, and it appears to be built fine but when I console into it all I get is "Error 16: Inconsistent filesystem structure" error.

In researching this error, it's an error coming from GRUB because GRUB can't tell how to read the local file system. I don't get any errors (that I can find) in the nova-compute log. I can't find any errors in the libvirtd logs, or anywhere else honestly - just this error from GRUB.

I used the command show here to create the image: (

specifically: "--disk_format qcow2 --container-format bare", and I can confirm it with "openstack image show".

Is there some way that I can test the image settings perhaps?

I'll keep poking at it, but any direction anyone an provide would be greatly appreciated! ;)


Additional notes:

I can run both the cirros img file and the VM's disk image using guestfish:

# guestfish -a /var/lib/nova/instances/5eb355e7-3b47-41ec-bd0f-2feff2f8822c/disk
><fs> run
><fs> list-filesystems
/dev/sda1: ext3
/dev/sda15: vfat
><fs> fsck ext3 /dev/sda1
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Bernd Bausch
close date 2019-06-03 17:12:34.142411


My guess: you have a corrupt, incompatible or non-qcow2 image. To test the image, try to load it directly in the hypervisor you deployed.

An easy first check: qemu-img info.

Bernd Bausch gravatar imageBernd Bausch ( 2019-05-31 18:09:55 -0500 )edit

That was my first thought too. Re-downloaded the image, re-added to openstack, same thing. Tried your suggestion on both the cirros img file and the /var/lib/nova file and both came back okay. ("corrupt: false"). Might try a different OS...

utdream gravatar imageutdream ( 2019-05-31 19:54:57 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2019-06-03 11:55:31 -0500

utdream gravatar image

Alright, I've figured this out. When I created the flavor, it looks like I misunderstood the RAM value. I'm guessing I assumed it was a GB value instead of a MB value, and I only assigned a value of 2 (thinking it was 2GB) to the flavor - but this turned out to be only 2MB.

As soon as I corrected the flavor and gave it a workable amount of RAM to use (512 instead of 2), the system booted just fine.

Makes me wonder how many of those "Error 16: Inconsistent filesystem structure" issues that I found on various forums that didn't have any answers were really just memory issues and not storage issues.

Anyway, that was a real BEAR to track down. Hope this post helps someone in the future.

edit flag offensive delete link more


Well done!

Bernd Bausch gravatar imageBernd Bausch ( 2019-06-03 17:12:18 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-05-31 15:47:51 -0500

Seen: 60 times

Last updated: Jun 03