What Should I Do If Executing a Driver Installation Script Failed on an ECS Running CentOS 5?
Scenarios
After executing the script for installing the Virtio driver on an ECS running CentOS 5, users cannot determine whether the driver has been successfully installed. This section describes how to check driver installation.
Procedure
- Log in to the ECS and create a temporary directory check.
mkdir /check
- Copy the image file to the current directory.
- Run the following commands to convert the file format to .gz:
mv initrd-2.6.18-308.el5.img initrd-2.6.18-308.el5.img.gz
- Decompress the package.
- Check whether the driver has been successfully installed.
cpio -t -F initrd-2.6.18-308.el5.img | grep virtio
The check process is shown in the following figure.
Figure 1 Checking driver installation
If the command output contains virtio, virtio_blk, virtio_net, and virtio_pci, the driver has been successfully installed.
In the preceding figure, the image is of an early version and has no virtio_scsi driver installed. As a result, SCSI disks cannot be attached to such an ECS.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot