Rescan added HDD since last boot
Da WikiSitech.
Versione del 11 dic 2013 alle 15:45 di Mazzotti (discussione | contributi) (Creata pagina con '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 ...')
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