Failed to Load libaio During the fio Test
Problem Description
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:
- Install the libaio-devel dependency package using Yum.
yum -y install libaio-devel
- Go to the fio source code directory.
cd /path/to/fio/
- Configure compilation options.
./configure
- Perform the compilation.
make
- Perform the installation.
make install