- 1、本文档共130页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
存储系统架构
A key element in RAID arrays is redundancy to improve fault tolerance. Mirroring uses multiple drives that hold identical copies of the data (usually 2 drives). Every write to a data disk is also a write to the mirror disk(s), meaning that all drives contain the same data. This is transparent to the attached host. If a disk fails, the RAID controller uses the mirror drive for data recovery and continuous operation. Data on a replaced drive is rebuilt from the mirrored drive. Benefits - fast recovery from a failure and improved read performance Drawbacks: Degrades write performance because each block of host data is written to multiple disks High cost of data protection due to the need for multiple disks Parity is a redundancy check that ensures that the data is protected without having to have a full set of duplicate drives. If a single disk in the array fails, the other disks have enough redundant data so that the data from the failed disk can be recovered Like striping, parity is generally a function of the RAID controller and is transparent to the host . Parity information can either be: Stored on a separate, dedicated drive Distributed with the data across all the drives in the array This example uses arithmetic operations to demonstrate how parity works. It illustrates the concept, but not the actual mechanism. Think of parity as the sum of the data on the other disks in the RAID set. Each time data is updated, the parity will be updated as well, so that it always reflects the current sum of the data on the other disks. Note: While parity is calculated on a per stripe basis, the diagram omits this detail for the sake of simplification. If a disk fails, the value of its data is calculated by using the parity information and the data on the surviving disks. If the parity disk fails, the value of its data is calculated by using the data disks. Parity will only need to be recalculated, and saved, when the failed disk is replaced with a new disk. In the even
文档评论(0)