Help Center/ Elastic Cloud Server/ User Guide (Paris Regions)/ FAQs/ ECS Management/ What Should I Do If Executing a Driver Installation Script Failed When I Attempted to Modify the Specifications of a Linux ECS?
Updated on 2024-01-11 GMT+08:00

What Should I Do If Executing a Driver Installation Script Failed When I Attempted to Modify the Specifications of a Linux ECS?

Symptom

During ECS specifications modification, a script was used to automatically install drivers on a Linux ECS.

During the installation, the following information is displayed, indicating that the script has been executed. However, the installation check failed. The possible cause is that certain drivers were not installed on the ECS.

...
Info:ECS modify success (mkinitrd)
Info:Check xen and virtio driver again!
...
Error:ECS modify error!
Figure 1 Successful driver installation with a failed installation check

Solution

Check whether the desired drivers have been successfully installed by following the instructions provided in "Check Whether the ECS Has Been Configured" in Manually Changing a Xen ECS to a KVM ECS (Linux).

If the drivers failed to install, the script may not match the ECS OS. In such a case, manually install the drivers on the Linux ECS by following the instructions provided in Manually Changing a Xen ECS to a KVM ECS (Linux).

Certain Linux ECSs do not have the virtio_scsi driver installed because the kernel version is too early or the kernel has been modified. Such ECSs cannot be attached with SCSI disks. However, this issue will not affect the ECS specifications modification from Xen to KVM. If the ECSs do not use SCSI disks, you can still modify their specifications without the virtio_scsi driver.