GNU Linux/Detect new disk without rebooting

From WhyAskWhy.org Wiki
< GNU Linux
Revision as of 12:32, 2 April 2015 by Deoren (talk | contribs) (Stub page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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