Mesaje recente

Members
Stats
  • Total Posts: 17,786
  • Total Topics: 1,234
  • Online today: 224
  • Online ever: 340
  • (22 November 2024, 00:10)
Users Online
Users: 0
Guests: 263
Total: 263

SCSI Bus Rescan

Started by kman, 04 September 2007, 20:49

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

kman

Am urmatoarea problema, o masina linux RHEL 4.3 care nu poate fi reboot-ata i-am atasat un nou disc prin fiberchannel si trebuie sa o conving sa isi rescaneze bus-ul scsi ca sa vada noul disc.

Metoda standard e # echo "- - -" >/sys/class/scsi_host/hostX/scan
... dar in cazul meu nu merge.

Voi mai stiti alte metode ?

kman

Cica intr-un final am reusit sa obtin acordul pentru reboot si am fixat asa problema.

Rezolvarea decenta, daca aveam si un kernel decent pe masina (dar n-am) era sa-i dau si un rescan la fiberchannel dar modulul de qla2xxx din kernelul 2.6.9-22.0.1 numai de rescan nu stie.

Solutia recomandata de redhat era:
# echo 1 > /sys/class/fc_host/host0/issue_lip
# echo 1 > /sys/class/fc_host/host2/issue_lip
# cat /proc/scsi/qla2xxx/0 | grep \ Total | cut -c3-6 | tr ":" " " | while read x y ; do echo 0 $x $y > /sys/class/scsi_host/host0/scan ; done
# cat /proc/scsi/qla2xxx/1 | grep \ Total | cut -c3-6 | tr ":" " " | while read x y ; do echo 0 $x $y > /sys/class/scsi_host/host1/scan ; done


... asta doar in caz ca intereseaza pe cineva ...