If you fail to register an external image file as a private image and the error message displayed on Task Center indicates that the system disk size of the external image file exceeds the maximum system disk size you have configured, possible causes include:
- The system disk size you have configured is less than the system disk size of ECSs on the platform. Confirm the system disk size of the image file and register it again.
- The VHD image file is generated using qemu-img or similar tools and the virtual size of the VHD image is inconsistent with that of the ECS. For details, see https://bugs.launchpad.net/qemu/+bug/1490611.
In this case, run the qemu-img info command.
[xxxx@xxxxx test]$ qemu-img info 2g.vhd
file format: vpc
virtual size: 2.0G (2147991552 bytes)
disk size: 8.0K
Check whether the virtual size (G) value is an integer. As shown in the preceding figure, 2.0004 G is generated using 2147991552 bytes and is larger than 2 G. Therefore, you need to configure a value larger than 2 GB for the system disk size.