CN109086010A - 一种在全闪存存储阵列上提升元数据可靠性的方法 - Google Patents
一种在全闪存存储阵列上提升元数据可靠性的方法 Download PDFInfo
- Publication number
- CN109086010A CN109086010A CN201810996519.8A CN201810996519A CN109086010A CN 109086010 A CN109086010 A CN 109086010A CN 201810996519 A CN201810996519 A CN 201810996519A CN 109086010 A CN109086010 A CN 109086010A
- Authority
- CN
- China
- Prior art keywords
- metadata
- positive
- reversed
- reliability
- raid group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0629—Configuration or reconfiguration of storage systems
- G06F3/0631—Configuration or reconfiguration of storage systems by allocating resources to storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0689—Disk arrays, e.g. RAID, JBOD
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种在全闪存存储阵列上提升元数据可靠性的方法,包括以下步骤:创建多个RAID组;将部分RAID组映射给正向元数据,将另一部分RAID组映射给反向元数据,且正向元数据与反向元数据具有对应关系;当任一个RAID组出现故障导致数据丢失时,判断其数据是正向元数据还是反向元数据;若为正向元数据则采用对应反向元数据重建丢失的数据,若为反向元数据则采用对应正向元数据重建丢失的数据。本发明公开的在全闪存存储阵列上提升元数据可靠性的方法,将正向元数据与反向元数据分别保存在不同的RAID组,从而实现元数据在任意一个RAID组故障时不丢失,达到提升元数据可靠性的目的。
Description
技术领域
本发明涉及存储技术领域,尤其涉及一种在全闪存存储阵列上提升元数据可靠性的方法。
背景技术
如今,SSD盘已大规模商用。由于SSD盘自身独有的特点与传统的机械盘的区别,使得各存储厂商都相继研发了适用于AFA的软件:所有主机写请求都凑成大块数据,然后从硬盘上分配新的空间写入,对于已经写过但是无效的空间,通过垃圾回收功能回收空间。基于此实现方式,主机写请求的数据具体在存储空间的哪个位置将无法直接用计算来获得,因此需要大量的元数据来保存。主流的AFA软件系统至少需要2类元数据:
(1)正向元数据:保存主机LUN到物理空间的映射的元数据,用于后续主机读具体LUN的数据时能找到对应的物理空间。
(2)反向元数据:保存物理空间到主机LUN的映射的元数据,与正向元数据有一一对应关系,用于垃圾回收迁移数据时使用。
现有的RAID技术通常分为传统RAID(即直接将多个硬盘按照固定的RAID级别组成RAID组)和分布式RAID。
元数据的重要性显然要比普通数据高很多,因此提升元数据的可靠性成为AFA系统首要考虑的任务。业界通常提升元数据的可靠性的做法都是提升元数据的冗余度来提升元数据的可靠性,但是本身还要保存大量的元数据,其实现复杂度和性能都让传统存储厂商很难接受,同时元数据本身也会因为多重冗余额外占用更多的空间。而基于传统RAID来提升元数据冗余度就更困难了。
基于上述问题,因此,对于本领域技术人员而言,如何提高元数据的可靠性,是亟需解决的技术问题。
发明内容
基于背景技术存在的技术问题,本发明提出了一种在全闪存存储阵列上提升元数据可靠性的方法,将正向元数据与反向元数据分别保存在不同的RAID组,从而实现元数据在任意一个RAID组故障时不丢失,达到提升元数据可靠性的目的。
为了便于理解,对本申请文件中部分名词解释如下:
RAID Redundant Array of Independent Disks独立冗余磁盘阵列
AFA ALL Flash Array全闪存存储阵列
LUN Logical Unit Number逻辑单元号
本发明提出的一种在全闪存存储阵列上提升元数据可靠性的方法,包括以下步骤:
创建多个RAID组;
将部分RAID组映射给正向元数据,将另一部分RAID组映射给反向元数据,且正向元数据与反向元数据具有对应关系;
当任一个RAID组出现故障导致数据丢失时,判断其数据是正向元数据还是反向元数据;若为正向元数据则采用对应反向元数据重建丢失的数据,若为反向元数据则采用对应正向元数据重建丢失的数据。
优选地,创建的多个RAID组为对称的RAID组。
优选地,映射给正向元数据的RAID组数量与映射给反向元数据的RAID组数量相等。
本发明中提供的一种在全闪存存储阵列上提升元数据可靠性的方法,基于全闪存存储阵列系统元数据特征,将正向元数据与反向元数据分别保存在不同的RAID组,从而实现元数据在任意一个RAID组故障时不丢失,达到提升元数据可靠性的目的。
附图说明
图1为本发明提出的一种在全闪存存储阵列上提升元数据可靠性的方法的流程图。
具体实施方式
如图1所示,图1为本发明提出的一种在全闪存存储阵列上提升元数据可靠性的方法的流程图。
下面结合附图和实施例对本发明进行详细的描述。
一种在全闪存存储阵列上提升元数据可靠性的方法,包括以下步骤:
S1:创建多个RAID组,且上述多个RAID为对称的RAID组;
S2:将一半RAID组映射给正向元数据,将另一半RAID组映射给反向元数据,且正向元数据与反向元数据具有对应关系;
S3:当任一个RAID组出现故障导致数据丢失时,判断其数据是正向元数据还是反向元数据;若为正向元数据则采用对应反向元数据重建丢失的数据,若为反向元数据则采用对应正向元数据重建丢失的数据。
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明的技术方案及其发明构思加以等同替换或改变,都应涵盖在本发明的保护范围之内。
Claims (3)
1.一种在全闪存存储阵列上提升元数据可靠性的方法,其特征在于,包括以下步骤:
创建多个RAID组;
将部分RAID组映射给正向元数据,将另一部分RAID组映射给反向元数据,且正向元数据与反向元数据具有对应关系;
当任一个RAID组出现故障导致数据丢失时,判断其数据是正向元数据还是反向元数据;若为正向元数据则采用对应反向元数据重建丢失的数据,若为反向元数据则采用对应正向元数据重建丢失的数据。
2.根据权利要求1所述的在全闪存存储阵列上提升元数据可靠性的方法,其特征在于,创建的多个RAID组为对称的RAID组。
3.根据权利要求1所述的在全闪存存储阵列上提升元数据可靠性的方法,其特征在于,映射给正向元数据的RAID组数量与映射给反向元数据的RAID组数量相等。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810996519.8A CN109086010B (zh) | 2018-08-29 | 2018-08-29 | 一种在全闪存存储阵列上提升元数据可靠性的方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810996519.8A CN109086010B (zh) | 2018-08-29 | 2018-08-29 | 一种在全闪存存储阵列上提升元数据可靠性的方法 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109086010A true CN109086010A (zh) | 2018-12-25 |
CN109086010B CN109086010B (zh) | 2021-12-17 |
Family
ID=64795082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810996519.8A Active CN109086010B (zh) | 2018-08-29 | 2018-08-29 | 一种在全闪存存储阵列上提升元数据可靠性的方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109086010B (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064765A (zh) * | 2012-12-28 | 2013-04-24 | 华为技术有限公司 | 数据恢复方法、装置及集群存储系统 |
CN103268291A (zh) * | 2013-05-23 | 2013-08-28 | 清华大学 | 在闪存存储系统中延迟持久化索引元数据的方法 |
CN103744795A (zh) * | 2013-12-19 | 2014-04-23 | 记忆科技(深圳)有限公司 | 固态硬盘快速启动的方法及其固态硬盘 |
CN107301133A (zh) * | 2017-07-20 | 2017-10-27 | 郑州云海信息技术有限公司 | 一种构建丢失的FTL table的方法及装置 |
-
2018
- 2018-08-29 CN CN201810996519.8A patent/CN109086010B/zh active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103064765A (zh) * | 2012-12-28 | 2013-04-24 | 华为技术有限公司 | 数据恢复方法、装置及集群存储系统 |
CN103268291A (zh) * | 2013-05-23 | 2013-08-28 | 清华大学 | 在闪存存储系统中延迟持久化索引元数据的方法 |
CN103744795A (zh) * | 2013-12-19 | 2014-04-23 | 记忆科技(深圳)有限公司 | 固态硬盘快速启动的方法及其固态硬盘 |
CN107301133A (zh) * | 2017-07-20 | 2017-10-27 | 郑州云海信息技术有限公司 | 一种构建丢失的FTL table的方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN109086010B (zh) | 2021-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9804939B1 (en) | Sparse raid rebuild based on storage extent allocation | |
US9317436B2 (en) | Cache node processing | |
EP1815337B1 (en) | Storage system condition indicator and method | |
US8839028B1 (en) | Managing data availability in storage systems | |
US8930745B2 (en) | Storage subsystem and data management method of storage subsystem | |
US10691339B2 (en) | Methods for reducing initialization duration and performance impact during configuration of storage drives | |
JP2017102964A (ja) | 不揮発性メモリシステムにおける同期ミラーリング | |
US10521345B2 (en) | Managing input/output operations for shingled magnetic recording in a storage system | |
US9836223B2 (en) | Changing storage volume ownership using cache memory | |
JP2015528973A (ja) | ファイル処理方法およびファイル処理装置、ならびに記憶デバイス | |
CN101609420A (zh) | 实现磁盘冗余阵列重建的方法和磁盘冗余阵列及其控制器 | |
US10409682B1 (en) | Distributed RAID system | |
CN104778018A (zh) | 基于非对称混合型磁盘镜像的宽条带磁盘阵列及存储方法 | |
US11256447B1 (en) | Multi-BCRC raid protection for CKD | |
US20200341873A1 (en) | Data access method, apparatus and computer program product | |
US11093339B2 (en) | Storage utilizing a distributed cache chain and a checkpoint drive in response to a data drive corruption | |
WO2018113322A1 (zh) | 数据读取方法及设备 | |
US9990261B2 (en) | System and method for recovering a storage array | |
CN116204137B (zh) | 基于dpu的分布式存储系统、控制方法、装置及设备 | |
US8239645B1 (en) | Managing mirroring in data storage system having fast write device and slow write device | |
US10216597B2 (en) | Recovering unreadable data for a vaulted volume | |
CN109086010A (zh) | 一种在全闪存存储阵列上提升元数据可靠性的方法 | |
KR20210137921A (ko) | 예비 스토리지 장치와 결함 복원형 스토리지 장치를 사용한 데이터 복구를 위한 시스템, 방법, 및 장치 | |
US9830094B2 (en) | Dynamic transitioning of protection information in array systems | |
US11989434B1 (en) | Optimizing protection of highly deduped data for performance and availability |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |