bolinches / HANA-TDI-healthcheck

HANA OS HEALTHCHECKER - HOH
Apache License 2.0
1 stars 0 forks source link

Add check for UDEV rule on 2145 #17

Open bolinches opened 5 years ago

bolinches commented 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'"

bolinches commented 5 years ago

Reference https://www.ibm.com/support/knowledgecenter/STHGUJ_8.1.2/com.ibm.storwize.tb5.812.doc/svc_linux_settings.html