OpenVZ Forum


Home » General » Support » Unable to change image size (Failed to resize image: Error in ploop_resize_image (ploop.c:3363):)
Unable to change image size [message #53882] Thu, 22 May 2025 08:18
armured is currently offline  armured
Messages: 1
Registered: May 2025
Junior Member
OpenVZ release 7.0.22 (123)

3.10.0-1160.119.1.vz7.224.4

I have a container with brainycp installed and I manually created template from the container.

Since it require more size I updated disk size and inodes in /etc/vz/conf/vps.vzpkgtools.conf-sample file from DISKSPACE="10485760:10485760" to
DISKSPACE="41943040:41943040"

I created it as tar.gz first :

/usr/bin/prlctl mount '5364'

cd '/vz/root/e4de115f-5feb-4273-ae6a-cf5fcc432255/'; /bin/tar -pzcf '/vz/template/cache/almalinux-8-x86_64-brainycp-18052025.tar .gz' *

And then converted it to lz4 cache : /usr/libexec/ovz-template-converter --verbose /vz/template/cache/almalinux-8-x86_64-brainycp_manual.tar.gz

But new container creation from the template fails with :

ailed to register the CT: PRL_ERR_VZCTL_OPERATION_FAILED (Details: dumpe2fs 1.42.9 (28-Dec-2013)
[3] => Failed to resize image: Error in ploop_resize_image (ploop.c:3363): Unable to change image size to 20963328 sectors, minimal size is 26099944 [38]
[4] => VE_PRIVATE is not set
[5] => Creation of Container private area failed

What can be checked further ?
Previous Topic: Unable to migrate container
Next Topic: Freezing error when starting the OpenVZ 9 installer
Goto Forum:
  


Current Time: Sun Jun 15 04:41:47 GMT 2025

Total time taken to generate the page: 0.01781 seconds