ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 164 - XK0-005 discussion

Report
Export

A Linux administrator has physically added a new RAID adapter to a system. Which of the following commands should the Linux administrator run to confirm that the device has been recognized?

(Select TWO).

A.
rmmod
Answers
A.
rmmod
B.
Is -11 /etc
Answers
B.
Is -11 /etc
C.
Ishw -class disk
Answers
C.
Ishw -class disk
D.
pvdisplay
Answers
D.
pvdisplay
E.
rmdir /dev
Answers
E.
rmdir /dev
F.
dmesg
Answers
F.
dmesg
Suggested answer: C, F

Explanation:

The following commands can help you confirm that the new RAID adapter has been recognized by the Linux system:

dmesg: This command displays the kernel messages, which can show the information about the newly detected hardware device. You can use dmesg | grep -i raid to filter the output for RAIDrelated messages.

lshw -class disk: This command lists the disk devices on the system, including the RAID controller and its model name. You can use lshw -class disk | grep -i raid to filter the output for RAID-related information1.

The other commands are not relevant for this purpose. For example:

rmmod: This command removes a module from the Linux kernel, which is not useful for detecting a new device.

ls -l /etc: This command lists the files and directories in the /etc directory, which is not related to hardware devices.

pvdisplay: This command displays the attributes of physical volumes, which are part of the logical volume management (LVM) system, not the RAID system.

rmdir /dev: This command removes an empty directory, which is not helpful for detecting a new device. Moreover, /dev is a special directory that contains device files, and should not be removed.

asked 02/10/2024
null null
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first