Patent ID: 9389790
Filing Date: 2016-07-12
CPC Classification: G06F

Claim Text:
1. A method for determining a redundant array of independent disks, comprising: determining, that a number m of disks comprised in each disk group in n disk groups is a number of redundant arrays of independent disks (RAIDs) that are constructed by the n disk groups, wherein each RAID corresponds to one matrix identifier, each disk comprises m2 logical blocks, and the n disk groups comprise m2*(m*n) logical blocks, wherein both m and n are positive integers; generating a third matrix with m2 rows and m*n columns according to a first matrix with 1 row and m columns or a second matrix with m rows and 1 column, wherein all matrix elements comprised in the first matrix and the second matrix are matrix identifiers of all RAIDs that are constructed by the n disk groups, a number of matrix identifiers, of each RAID, in matrix elements comprised in the third matrix is the same, and each matrix element in the third matrix corresponds to a logical block at a same location in the m2*(m*n) logical blocks in a one-to-one manner; and determining that logical blocks corresponding to matrix elements of a same matrix identifier in the third matrix are one RAID, so that the m2*(m*n) logical blocks form m RAIDs.