IBM / hana-os-healthchecker

HANA OS HEALTHCHECKER - HOH
Apache License 2.0
6 stars 7 forks source link

Add UDEV rule check for 2145 #4

Closed bolinches closed 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'"

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

bolinches commented 5 years ago

Basic one but it does check it exists.