nerdexam
CompTIA

XK0-004 · Question #149

A Linux engineer is troubleshooting a newly added SCSI device for a Linux server that needed more disk space without rebooting. The engineer discovers that the new device is not visible by the Linux…

The correct answer is A. echo "- - -" > /sys/class/scsi_host/host0/scan. https://geekpeek.net/rescan-scsi-bus-on-linux-system/

Troubleshooting and Diagnostics

Question

A Linux engineer is troubleshooting a newly added SCSI device for a Linux server that needed more disk space without rebooting. The engineer discovers that the new device is not visible by the Linux kernel in output. Which of the following commands should be used to rescan the entire SCSI bus? fdisk -l

Options

  • Aecho "- - -" > /sys/class/scsi_host/host0/scan
  • Becho ' ' > /sys/class/scsi_host/host0/scan
  • Cecho "- - -" > /sys/scsi/scsi_host/host0/scan
  • Decho "scan" > /sys/class/scsi_host/host0/scan

How the community answered

(37 responses)
  • A
    70% (26)
  • B
    8% (3)
  • C
    3% (1)
  • D
    19% (7)

Explanation

https://geekpeek.net/rescan-scsi-bus-on-linux-system/

Topics

#SCSI rescan#sysfs#hot-plug storage#device management

Community Discussion

No community discussion yet for this question.

Full XK0-004 Practice