Metadata storage method and apparatus

The invention provides a metadata storage method and apparatus. The method and the apparatus are applied to an RAID comprising N member disks; and the redundancy degree of the RAID is M, wherein N is greater than M. The method comprises the steps of maintaining a mapping relationship between the mem...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: YANG ERLEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a metadata storage method and apparatus. The method and the apparatus are applied to an RAID comprising N member disks; and the redundancy degree of the RAID is M, wherein N is greater than M. The method comprises the steps of maintaining a mapping relationship between the member disks and storage regions, wherein for each member disk, L member disks are selected from the N member disks, one storage region is selected from each member disk of the L member disks, the mapping relationship between the member disks and the selected L storage regions is maintained, L is greater than M and less than or equal to N, and the L storage regions are arranged in a metadata space of each member disk; and querying the L storage regions corresponding to the member disk by utilizing the mapping relationship when metadata of the member disk needs to be stored, and storing the metadata in the L storage regions. Through the technical scheme provided by the method and the apparatus, the storage space of the