Error on creating a KVM virtual machine

When creating a CentOS 7 VM in KVM, the following error is generated when expanding the file system:

Expanding filesystem to 10 GB .................................................................
.. expansion failed : fsck.ext4 -f -p \/dev\/loop1 failed : /dev/loop1 has unsupported feature(s): 64bit e2fsck: Get a newer version of e2fsck!
Status: 
Active

Comments

I've seen this before when creating a VM on a host of an older Linux distro that doesn't support 64-bit EXT4.

However, our supplied CentOS 7 images should be using ext3 to avoid this situation. Where did this CentOS 7 image come from?

pixel_paul's picture
Submitted by pixel_paul on Fri, 10/24/2014 - 06:21 Pro Licensee

From the Cloudmin provided repo:

CentOS 7.0 64-bit KVM instance with base OS

Hmm, I may have to re-create that image then.

I assume your host system is running CentOS 6?

Can you check at Cloudmin Settings -> New System Images if there is a new version of that CentOS 7 image available for download?

pixel_paul's picture
Submitted by pixel_paul on Fri, 10/24/2014 - 07:03 Pro Licensee

There isn't at the moment. Version is 1.1.

Clicking through on the image I did download (yesterday) the following info is available:

Image downloaded at 25/Aug/2014 04:28
Operating system
For system type KVM
Image format Whole disk
Filesystem type Linux EXT4 (new)
Current status Available
Compressed size 366.42 MB
Component files kvm-64-centos7.0-base.ext3.gz

Ok, I guess I was wrong about having created a new image with an ext3 filesystem. In that case, you also need a 64-bit host system with CentOS 7 in order to properly use a CentOS 7 image.

pixel_paul's picture
Submitted by pixel_paul on Fri, 10/24/2014 - 07:45 Pro Licensee

Or install from source and use the ext3 filesystem.

Yes, you could create your own image by creating an empty VM, installing CentOS 7 into it from a CD image, and then imaging that VM. Just make sure you use an ext3 filesystem directly on a partition (inside the VM), rather than LVM or RAID.

pixel_paul's picture
Submitted by pixel_paul on Fri, 10/24/2014 - 07:57 Pro Licensee

Ok, thank you.