Patent ID: 9733835
Date: 2017-08-15
CPC Classifications: G06F

Claim:
1. A data storage method comprising: detecting actual usage of a hard disk corresponding to an initial capacity level in configured hard disk capacity levels, wherein the hard disk capacity levels are obtained by a classification according to an actual hard disk capacity, wherein a plurality of virtual nodes is allocated to each of the hard disk capacity levels; when it is determined, according to the detected actual usage, that the hard disk corresponding to the initial capacity level exceeds a limit, searching for a hard disk corresponding to a capacity level that is in the configured hard disk capacity levels and is immediately higher than the initial capacity level; and when the hard disk corresponding to the immediately higher capacity level is obtained by searching, determining a migration ratio of a virtual node according to the initial capacity level, the immediately higher capacity level, and the actual hard disk capacity, and performing, according to the migration ratio, virtual node migration between hard disks that are corresponding to the configured hard disk capacity levels, wherein the virtual node carries stored data.