Which single command simulates a failed device within a RAID 5 array?
Which single command simulates a failed device within a RAID 5 array?
To simulate a failed device within a RAID 5 array using the mdadm command, you can mark the device as faulty. The appropriate command for this is 'mdadm --fail /dev/md0 /dev/sdc1'. This command tells mdadm to mark the specified device (/dev/sdc1) within the specified RAID array (/dev/md0) as failed, which simulates a device failure.
Do you know if this dump cover all the program of exam? Is it valid?
D - 100%
Is correct D
Anyone who can give an opinion on the questions of this site. There may be another source to learn or purchase a paid version?
The man page for mdadm states -f --force. There is no --fail . I
Not true. Both --force and --fail exist, but --force doesn't do what the question suggest. D is correct.
D Is correct
The answer is D. There is no --force-faulty option, but we have --set-faulty which works the same way as --fail option
The correct answer is D Here from the man page; -f, --fail Mark listed devices as faulty. As well as the name of a device file, the word detached or a set name like set-A can be given. The former will cause any device that has been detached from the system to be marked as failed. It can then be removed.
-f, --fail : The former will cause any device that has been detached from the system to be marked as failed. It can then be removed.