Your Question: How Do I Rescan Scsi Bus in Linux?
Contents

How do I scan a SCSI device in Linux?

When adding a new disk to your Linux system you need to rescan SCSI host.

  1. You can do this with the following command: echo “- – -” > /sys/class/scsi_host/hostX/scan.
  2. .. …
  3. The easiest way i’ve found is to rescan the specific device with the following command: echo “1” > /sys/class/block/sdX/device/rescan.
  4. ..

21 июл. 2015 г.

How do I install rescan-SCSI-bus SH?

The rescan-scsi-bus.sh script can also perform an issue_lip on supported devices. For more information about how to use this script, refer to rescan-scsi-bus.sh –help . To install the sg3_utils package, run yum install sg3_utils .

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest