• Image Management Service

ims
  1. Help Center
  2. Image Management Service
  3. User Guide
  4. FAQs
  5. Image Optimization
  6. Why Does the Error Message Displayed on Task Center Indicates That the System Disk Size of the External Image File Exceeds the Maximum System Disk Size When a VHD Image File Failed to Be Uploaded?

Why Does the Error Message Displayed on Task Center Indicates That the System Disk Size of the External Image File Exceeds the Maximum System Disk Size When a VHD Image File Failed to Be Uploaded?

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:
  1. 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.
  2. 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
    image: 2g.vhd
    file format: vpc
    virtual size: 2.0G (2147991552 bytes)
    disk size: 8.0K
    cluster_size: 2097152

    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.