The invention discloses a method for constructing a hierarchical catalogue based on
consistent hashing data distribution. The method includes the steps: connecting a physical storage
server with a storage hardware device to form / data1- / dataX physical storage catalogues through a local
file system, and virtually turning the different physical storage catalogues into different logic storage nodes through a storage
software server terminal; enabling the logic storage nodes and the physical storage catalogues to be in one-to-one mapping, and adjusting according to needs to realize dynamic migration; taking a logic storage volume as a unit to
mount a
file system by a storage
client, wherein the logic storage volume consists of one or multiple logic storage nodes; and providing a
global namespace through an access layer and data distribution of the
client to enable physical storage catalogues of the constructed catalogue hierarchy on the physical storage
server to be completely consistent with the
global namespace of the
client. The method has the advantages that uniformity of bottom physical storage and an upper
logic structure is achieved to realize a hierarchical catalogue structure; and complete distribution of catalogue hierarchy is realized,
single point of failure can be eliminated, and the like.