Rate This Document
Findability
Accuracy
Completeness
Readability

Failed to Load libaio During the fio Test

Problem Description

Table 1 Basic information

Item

Information

Source of the Problem

Online maintenance

Product

Kunpeng BoostKit

Sub-item

SDS

Service Scenario

Debugging and running

Component

Other

Output Time

2019-10-28

Author

Chen Xiaobo 00416232

Team

Kunpeng BoostKit

Review Result

Review passed

Review Date

2019-11-05

Release Date

2020-03-20

Keywords

Failed to load libaio

Symptom

During the fio test, a message is displayed indicating that the libaio engine fails to be loaded.

Key Process and Cause Analysis

The fio version installed on the client does not support libaio.

Conclusion and Solution

Install libaio-devel and recompile and install fio. The procedure is as follows:

  1. Install the libaio-devel dependency package using Yum.
    yum -y install libaio-devel
  2. Go to the fio source code directory.
    cd /path/to/fio/
  3. Configure compilation options.
    ./configure
  4. Perform the compilation.
    make
  5. Perform the installation.
    make install