GNU Linux/Detect new disk without rebooting

From WhyAskWhy.org Wiki
Jump to: navigation, search


  1. Add new disk
  2. Detect the new hard disk by rescanning the SCSI bus
    • ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done


References