nerdexam
CompTIA

XK0-005 · Question #232

A Linux administrator receives a call from the network operations team that one of the database applications is down on a Linux server. The Linux server is configured with RAID 1 for redundancy, and…

The correct answer is A. mdadm /dev/md0 --remove /dev/sdb1 C. mdadm /dev/md0 --fail /dev/sdb1. The correct two-step process using mdadm is: (1) Mark the device as faulty: mdadm /dev/md0 --fail /dev/sdb1 (Choice C), then (2) Remove it: mdadm /dev/md0 --remove /dev/sdb1 (Choice A). The syntax always places the array first, then the action flag, then the member device. You…

System Management

Question

A Linux administrator receives a call from the network operations team that one of the database applications is down on a Linux server. The Linux server is configured with RAID 1 for redundancy, and the array /dev/md0 consists of two devices called /dev/sda1 and /dev/sdb1. After looking at the status of the RAID 1 array in the /proc/mdstat file, the administrator discovers the RAID 1 array is degraded and the disk /dev/sdb1 on which the database application was installed appears to have failed. Which of the following steps should the administrator take to remove the device /dev/sdb1 from the RAID array md0? (Choose two.)

Options

  • Amdadm /dev/md0 --remove /dev/sdb1
  • Bmdadm /dev/sdb1 --fail /dev/md0
  • Cmdadm /dev/md0 --fail /dev/sdb1
  • Dmdadm /dev/sdb1 --remove /dev/md0
  • Eracadm --remove /dev/sdb1
  • Fracadm --fail /dev/sdb1

How the community answered

(65 responses)
  • A
    85% (55)
  • B
    2% (1)
  • D
    8% (5)
  • E
    5% (3)
  • F
    2% (1)

Explanation

The correct two-step process using mdadm is: (1) Mark the device as faulty: mdadm /dev/md0 --fail /dev/sdb1 (Choice C), then (2) Remove it: mdadm /dev/md0 --remove /dev/sdb1 (Choice A). The syntax always places the array first, then the action flag, then the member device. You cannot remove a drive that has not first been marked as failed. Choices B and D have the arguments reversed. Choices E and F use racadm, which is a Dell DRAC/iDRAC remote management tool - not a software RAID management tool.

Topics

#Linux#RAID#mdadm#Storage Management

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice