How do I rescan hardware in Linux?
Answer
When adding a new disk to your Linux system you need to rescan SCSI host.
Answer
When adding a new disk to your Linux system you need to rescan SCSI host.
- You can do this with the following command: echo “- – -” > /sys/class/scsi_host/hostX/scan.
- .. …
- The easiest way i’ve found is to rescan the specific device with the following command: echo “1” > /sys/class/block/sdX/device/rescan.
- ..