The invention relates to an automatic hard disk testing method and device and a readable storage medium, and the method comprises the steps: importing configuration information which comprises preset
BIOS (Basic Input / Output
System) configuration parameters; obtaining current
BIOS configuration information of the remote
server, and judging the consistency of the
BIOS configuration information and the BIOS configuration parameters; if the BIOS configuration information and the BIOS configuration parameters do not meet the consistency requirement, updating the BIOS configuration information, and restarting the remote
server to enable the updated BIOS configuration information to take effect; the FIO
source code file is connected to a remote
server through an SSH, the FIO
source code file is transmitted to the remote server through an SFTP protocol, and compiling is carried out on the remote server to generate an FIO command; in response to the FIO command, performing performance test on the to-be-tested hard disk; and uploading the performance test content and the test progress of the to-be-tested hard disk to an upper computer to generate a
visual test result. According to the embodiment of the invention, the
automation degree and the testing efficiency of hard disk testing are improved, and meanwhile, the
visualization degree of the testing result is improved.