# ls -ltr /sys/class/scsi_host
total 0
lrwxrwxrwx. 1 root root 0 Feb 12 11:59 host2 -> ../../devices/pci0000:00/0000:00:10.0/host2/scsi_host/host2
lrwxrwxrwx. 1 root root 0 Feb 12 11:59 host1 -> ../../devices/pci0000:00/0000:00:07.1/ata2/host1/scsi_host/host1
lrwxrwxrwx. 1 root root 0 Feb 12 11:59 host0 -> ../../devices/pci0000:00/0000:00:07.1/ata1/host0/scsi_host/host0
Por cada host que nos devuelve el comando previo se ejecuta lo siguiente:
# echo "- - -" > /sys/class/scsi_host/host0/scan
# echo "- - -" > /sys/class/scsi_host/host1/scan
# echo "- - -" > /sys/class/scsi_host/host2/scan
No hay comentarios:
Publicar un comentario