Closed bolinches closed 5 years ago
We should check when 2145 taht at least this file exists /etc/udev/rules.d/99-ibm-2145.rules
Maybe even the content is: Set SCSI command timeout to 120s (default == 30 or 60) for IBM 2145 devices
SUBSYSTEM=="block", ACTION=="add", ENV{ID_VENDOR}=="IBM",ENV{ID_MODEL}=="2145", RUN+="/bin/sh -c 'echo 120 >/sys/block/%k/device/timeout'"
Reference https://www.ibm.com/support/knowledgecenter/STHGUJ_8.1.2/com.ibm.storwize.tb5.812.doc/svc_linux_settings.html
Basic one but it does check it exists.
We should check when 2145 taht at least this file exists /etc/udev/rules.d/99-ibm-2145.rules
Maybe even the content is: Set SCSI command timeout to 120s (default == 30 or 60) for IBM 2145 devices
Reference https://www.ibm.com/support/knowledgecenter/STHGUJ_8.1.2/com.ibm.storwize.tb5.812.doc/svc_linux_settings.html