Question
Option 4 : 0x34
Detailed Solution
सही उत्तर 0x34 है।
Question:
A RAID-5 array has $4$ disks; one disk fails. A stripe held data blocks $0\text{x}12$, $0\text{x}34$, $0\text{x}56$ with parity $0\text{x}70$, and the block $0\text{x}34$ was on the failed disk. What value is rebuilt for the missing block? / $4$ डिस्कों वाले RAID-5 ऐरे में एक डिस्क विफल हो गई। एक स्ट्राइप में डेटा ब्लॉक $0\text{x}12$, $0\text{x}34$, $0\text{x}56$ और पैरिटी $0\text{x}70$ थी; $0\text{x}34$ वाला ब्लॉक विफल डिस्क पर था। लापता ब्लॉक हेतु कौन-सा मान पुनर्निर्मित होगा?
Correct Answer: 0x34
Missing block $= $ XOR of survivors $= 0\text{x}12 \oplus 0\text{x}56 \oplus 0\text{x}70 = 0\text{x}34$ ($0\text{x}12 \oplus 0\text{x}56 = 0\text{x}44$; $0\text{x}44 \oplus 0\text{x}70 = 0\text{x}34$). Option (a) wrongly returns the parity block itself instead of XORing it with the surviving data. / लापता ब्लॉक $=$ बचे ब्लॉकों का XOR $= 0\text{x}12 \oplus 0\text{x}56 \oplus 0\text{x}70 = 0\text{x}34$। विकल्प (a) बचे डेटा से XOR किए बिना पैरिटी ब्लॉक को ही उत्तर मानने की गलती है।