Applicable to:
- SolusVM
Symptoms
KVM VPS disk space does not correspond to allocated amount after VPS creation in SolusVM.
Cause
-
The following error is produced when trying to deploy a VPS partition using virt-resize utility:
# virt-resize -d --resize-force /dev/sda2=2048M --expand /dev/sda1 /home/solusvm/kvm/template/linux-debian-9-x86_64-minimal-latest.gz /dev/solusvm/kvm101_img
<...>
virt-resize: error: libguestfs error: resize2fs: e2fsck 1.42.9
(28-Dec-2013)
/dev/sda1 has unsupported feature(s): metadata_csum
e2fsck: Get a newer version of e2fsck!
e2fsprogs version earlier than 1.43 does not support metadata_csum feature.
Resolution
Update e2fsprogs using the below steps:
-
Connect to KVM node via SSH
-
Install onapp repository:
# wget http://cdn.rpm.repo.onapp.com/repo/OnApp-hosters.repo -O /etc/yum.repos.d/OnApp-hosters.repo
-
Remove the current package ignoring dependencies:
# rpm -e --nodeps e2fsprogs
-
Install the package back(it will be installed from the repo installed in step 1):
# yum install e2fsprogs
-
Make sure the package has newer version:
# rpm -qa e2fsprogs
e2fsprogs-1.43.4-2.el7.onapp.x86_64 -
Remove onapp repository:
# rm -f /etc/yum.repos.d/OnApp-hosters.repo
Comments
0 commentsPlease sign in to leave a comment.