Hello. I have a problem with one of ploop images. Ploop can't work with an image: # ploop mount /vz/private/5948/root.hdd/root.hds Opening delta /vz/private/5948/root.hdd/root.hds Error in range_build_rmap (balloon_util.c:542): Image corrupted: L2[28555] == 311619 (max=629143552) (2) Error in check_deltas (check.c:715): /vz/private/5948/root.hdd/root.hds : irrecoverable errors (rw) On OS Installed a ploop version # cat /etc/redhat-release Virtuozzo Linux release 7.7 # rpm -qa | grep -i ploop ploop-7.0.163-1.vz7.x86_64 ploop-lib-7.0.163-1.vz7.x86_64 python-ploop-7.0.163-1.vz7.x86_64 I replaced baseurl in openvz-os repo baseurl=http://download.openvz.org/virtuozzo/releases/openvz-7.0.11-235/x86_64/os/ and downgraded ploop and all dependesnses versions to previous release # yum downgrade libvzctl libvcmmd python-ploop libvzctl ploop-lib ploop ... ==================================================================================================================================================================== Package Архитектура Версия Репозиторий Размер ============================================================================================================================================================================================================================================ Откат версии: libvcmmd x86_64 7.0.22-3.vz7 openvz-os 12 k libvzctl x86_64 7.0.530-1.vz7 openvz-os 334 k ploop x86_64 7.0.157-1.vz7 openvz-os 71 k ploop-lib x86_64 7.0.157-1.vz7 openvz-os 155 k python-ploop x86_64 7.0.157-1.vz7 openvz-os 31 k ... When I did it, ploop mount the image correctly # ploop mount /vz/private/5948/root.hdd/root.hds Opening delta /vz/private/5948/root.hdd/root.hds Opening delta /vz/private/5948/root.hdd/root.hds Adding delta dev=/dev/ploop36860 img=/vz/private/5948/root.hdd/root.hds (rw) I checked the image on downgraded ploop version ploop check --force --repair-sparse /vz/private/5948/root.hdd/root.hds ploop mount /vz/private/5948/root.hdd/root.hdd fsck.ext4 -f -y /dev/ploop36860p1 ploop umount /vz/private/5948/root.hdd/root.hdd These commands reports that image is ok. When I upgrade downgraded utils to latest version, ploop returns the same mistake again. # ploop mount /vz/private/5948/root.hdd/root.hds Opening delta /vz/private/5948/root.hdd/root.hds Error in range_build_rmap (balloon_util.c:542): Image corrupted: L2[28555] == 311619 (max=629143552) (2) Error in check_deltas (check.c:715): /vz/private/5948/root.hdd/root.hds : irrecoverable errors (rw) Do you know how to fix this mistake with ploop image? Did somebody get the same mistake after upgrade ploop utils from 7.0.157-1.vz7 to ploop-7.0.163-1?
Re: Ploop can't work with a correctly image
I did resize image on downgraded ploop version. ploop resize -s NEWG /vz/private/5948/root.hdd/DiskDescriptor.xml And latest ploop version works with the image correctly when I did it. I interesting in is there a way to fix the error without reverting to the previous ploop version.