Question: Part C: Simulate Drive Failures Important: To prevent having to build array parity multiple times, ensure that you gather all the information once your array

Part C: Simulate Drive Failures
Important: To prevent having to build array parity multiple times, ensure that you gather all the information once your array is completed (fully synchronized) before you follow the steps below to simulate disk failure.
Mark one of the drives in your array as failed. For example:
mdadm --manage / dev/md0--set-faulty
HERE?d>evDRIVE NAME HERE>
Check the details of the array using the mdadm utility. For example:
mdadm --detail ?devmd0 SCREEN CAP 4
Note: You can also check the array status using the command: # catprocmdstat.
Mark another of the drives in your array as failed.
Check the details about the array using the mdadm utility. SCREEN CAP 5
Part D: Remove and Examine the Failed Drives
Remove the failed drives from the array and check the details of the array. For example:
mdadm ?devmd0-r?dev?
Examine the failed drives using the mdadm command with the --misc --examine option. For example:
mdadm --misc --examinedevHERE> SCREEN CAP 6
Overwrite the superblock of the failed drive with zeros. When you add the drive back in, ensure that it doesn't have any old superblock information. For example:
mdadm --misc --zero-superblock / dev/
 Part C: Simulate Drive Failures Important: To prevent having to build

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!