discover new disk without reboot

Latest response

how do you discover new without rebooting the system. Have 3 disk add not able to boot at this time

Responses

Hi Michael,

Please, see this solution: How to rescan the SCSI bus to add or remove a SCSI device without rebooting the computer. It's a little lengthy, so you might want to skim down to the part titled Adding a Storage Device or a Path, which shows the relevant command.

Alternatively, you can use the rescan-scsi-bus.sh script from the sg3_utils package. See Adding/Removing a Logical Unit Through rescan-scsi-bus.sh for more info.

Or if your security folks have mandated that things like sg3_utils not be loaded (it happens), something like:

for BUS in /sys/class/scsi_host/host*/scan
do
   echo "- - -" >  ${BUS}
done

Will do the trick.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.