Lpic 2 Linux Engineer · Free Practice Question Easy

Question 20

You recently configured a RAID 5 array using three disks. You want to verify its status to ensure it's operating correctly. Which file should you check to get real-time information about the RAID status?
  • A /etc/mdadm.conf
  • B /proc/mdstat
  • C /var/log/raid.log
  • D /sys/block/md0/md/array_state
Reveal correct answer

Correct answer: B

A. The /etc/mdadm.conf file is used to store configuration information for the mdadm tool, which is used for managing software RAID arrays. It does not provide real-time information about the RAID status.

B. The /proc/mdstat file is the correct choice as it provides real-time information about the status of software RAID arrays. It shows details such as the RAID level, number of devices, and their status (active, inactive, syncing, etc.).

C. The /var/log/raid.log file is not a standard location for RAID status information in Linux systems. It is more likely to contain log messages related to RAID events or errors, rather than real-time status updates.

D. The /sys/block/md0/md/array_state path is not a valid location for checking RAID status information. The /sys/block directory contains information about block devices, but it does not provide specific details about RAID arrays and their status.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need