Patent ID: 9354826
Filing Date: 2016-05-31
CPC Classification: G06F

Claim Text:
1. A capacity expansion method, comprising: dividing, in a distributed redundant array of independent disks (RAID) system, each hard disk into virtual hard disks of equal size equally, wherein a quantity of the virtual hard disks is an integer multiple of m, wherein m is a maximum quantity of RAID groups that can be constructed in the distributed RAID system and m is a positive integer; dividing an original hard disk into X groups equally, wherein X is a quantity of units of each strip in the distributed RAID system, a quantity of original hard disks in the distributed RAID system is an integer multiple of X, and X is a positive integer; selecting m virtual hard disks from each hard disk to form one original hard disk, wherein all the original hard disks form one original hard disk group; selecting m virtual hard disks from each original hard disk group in sequence to form one virtual hard disk group; inserting, in the distributed RAID system, an added hard disk formed by virtual hard disks with a quantity being an integer multiple of m, wherein the quantity of the added hard disks is an integer multiple of X; selecting m virtual hard disks from each added hard disk, and inserting the m virtual hard disks into the virtual hard disk group; and moving, in the virtual hard disk group, data in virtual hard disks of the original hard disk to the virtual hard disks of the added hard disk.