nerdexam
CompTIA

XK0-005 · Question #669

A systems administrator needs to remove a disk from a Linux server. The disk size is 500G, and it is the only one that size on that machine. Which of the following commands can the administrator use…

The correct answer is D. lsscsi -s. 'lsscsi -s' lists SCSI/SATA/NVMe storage devices along with their sizes (the -s flag adds size information). This makes it straightforward to identify a disk by its capacity (500G) and find its corresponding device name (e.g., /dev/sdb). 'fdisk -V' only displays the fdisk…

System Management

Question

A systems administrator needs to remove a disk from a Linux server. The disk size is 500G, and it is the only one that size on that machine. Which of the following commands can the administrator use to find the corresponding device name?

Options

  • Afdisk -V
  • Bpartprobe -a
  • Clsusb -t
  • Dlsscsi -s

How the community answered

(35 responses)
  • B
    6% (2)
  • C
    3% (1)
  • D
    91% (32)

Explanation

'lsscsi -s' lists SCSI/SATA/NVMe storage devices along with their sizes (the -s flag adds size information). This makes it straightforward to identify a disk by its capacity (500G) and find its corresponding device name (e.g., /dev/sdb). 'fdisk -V' only displays the fdisk version. 'partprobe -a' informs the kernel of partition table changes but does not list devices. 'lsusb -t' lists USB devices in a tree view and would not show internal SCSI/SATA disks.

Topics

#Linux commands#Disk management#Device identification#System utilities

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice