Question: Simulate any one of the disks in / dev / md 5 array for failure, and note the spare disk being replaced for the faulty

Simulate any one of the disks in /dev/md5 array for failure, and note the spare disk being replaced for the faulty
disk.Following SCREENSHOTS required at each stage given below
Aftersetting 1 disk as failed After failed disk removed After spare disk replaced
cat /proc/mdstat
mdadm -D /dev/md5
mdadm -E /dev/md5 disk_failed
ls -ld /raid5;ls -l /raid5;df -Th /raid5
cat /proc/mdstat
mdadm -D /dev/md5
mdadm -E /dev/md5 any_arraydisk
ls -ld /raid5;ls -l /raid5;df -Th /raid5
cat /proc/mdstat
mdadm -D /dev/md5
mdadm -E /dev/md5 disk_replaced
ls -ld /raid5;ls -l /raid5;df -Th /raid5

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!