摘要 |
The present invention provides an I/O balance processing method and device. The method includes: performing division processing on N LUNs on disks, setting m LUNs to a data disk, and setting N-m LUNs to a reserved disk; receiving a storage request message carrying a data table, an estimated capacity of the data table, a size of a data block corresponding to the data table, and a disk identifier indicating storage of the data table, where the data table includes at least one data file; and acquiring database information according to the estimated capacity of the data table, the size of the data block corresponding to the data table and the total number of disks corresponding to the disk identifier, generating a first shell script according to the storage request message and the database information, and creating a database according to the first shell script, where N and m are both integers, and are both greater than or equal to 1. |