Rescan added HDD since last boot

Da WikiSitech.
Vai alla navigazioneVai alla ricerca

Rescan the SCSI Bus to Add a SCSI Device Without rebooting the VM

A rescan can be issued by typing the following command:

echo "- - -" > /sys/class/scsi_host/host#/scan
fdisk -l
tail -f /var/log/message

where host# must be replaced withan actual value such as host0. You can find scsi_host value using the following command:

# ls /sys/class/scsi_host

Output:

host0

Now type the following to send a rescan request:

echo "- - -" > /sys/class/scsi_host/host0/scan
fdisk -l
tail -f /var/log/message