This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
storage:svc_host_mpio [2024/09/13 15:25] manu |
storage:svc_host_mpio [2024/10/11 17:29] (current) manu |
||
---|---|---|---|
Line 35: | Line 35: | ||
udevadm control -R | udevadm control -R | ||
/sbin/udevadm trigger --type=devices --action=add | /sbin/udevadm trigger --type=devices --action=add | ||
+ | |||
+ | **For Redhat 9.2 and higher** | ||
+ | |||
+ | Change the kernel parameter | ||
+ | * scsi_mod.inq_timeout=70 | ||
+ | <cli prompt='#'> | ||
+ | [root@rheltpl9 ~]# grubby --update-kernel=ALL --args="scsi_mod.inq_timeout=70" | ||
+ | |||
+ | [root@rheltpl9 ~]# grubby --info DEFAULT | ||
+ | index=0 | ||
+ | kernel="/boot/vmlinuz-5.14.0-427.33.1.el9_4.ppc64le" | ||
+ | args="ro crashkernel=2G-4G:384M,4G-16G:512M,16G-64G:1G,64G-128G:2G,128G-:4G rd.lvm.lv=rootvg/root rd.lvm.lv=rootvg/swap rd.lvm.lv=rootvg/usr $tuned_params scsi_mod.inq_timeout=70" | ||
+ | root="/dev/mapper/rootvg-root" | ||
+ | initrd="/boot/initramfs-5.14.0-427.33.1.el9_4.ppc64le.img $tuned_initrd" | ||
+ | title="Red Hat Enterprise Linux (5.14.0-427.33.1.el9_4.ppc64le) 9.4 (Plow)" | ||
+ | id="c4ba590dff44403bb6ce4ee53e233ca8-5.14.0-427.33.1.el9_4.ppc64le" | ||
+ | |||
+ | [root@rheltpl9 ~]# cat /etc/default/grub | ||
+ | GRUB_TIMEOUT=5 | ||
+ | GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" | ||
+ | GRUB_DEFAULT=saved | ||
+ | GRUB_DISABLE_SUBMENU=true | ||
+ | GRUB_TERMINAL_OUTPUT="ofconsole" | ||
+ | GRUB_CMDLINE_LINUX="crashkernel=2G-4G:384M,4G-16G:512M,16G-64G:1G,64G-128G:2G,128G-:4G rd.lvm.lv=rootvg/root rd.lvm.lv=rootvg/swap rd.lvm.lv=rootvg/usr scsi_mod.inq_timeout=70" | ||
+ | GRUB_DISABLE_RECOVERY="true" | ||
+ | GRUB_ENABLE_BLSCFG=true | ||
+ | GRUB_TERMINFO="terminfo -g 80x24 console" | ||
+ | GRUB_DISABLE_OS_PROBER=true | ||
+ | [root@rheltpl9 ~]# init 6 | ||
+ | </cli> | ||
+ | |||
+ | Check after reboot | ||
+ | <cli prompt='#'> | ||
+ | [root@rheltpl9 ~]# systool -m scsi_mod -A inq_timeout | ||
+ | Module = "scsi_mod" | ||
+ | |||
+ | inq_timeout = "70" | ||
+ | [root@rheltpl9 ~]# cat /sys/module/scsi_mod/parameters/inq_timeout | ||
+ | 70 | ||
+ | </cli> | ||
+ | |||
+ | ===== Windows ===== | ||
+ | |||
+ | Changing the disk timeout on Microsoft Windows Server | ||
+ | |||
+ | On your Windows Server hosts, change the disk I/O timeout value to 60 in the Windows registry, as follows: | ||
+ | |||
+ | In Windows, click Start > Run. | ||
+ | In the dialog text box, type regedit and click Enter. | ||
+ | In the registry browsing tool, locate the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Disk\TimeOutValue key. | ||
+ | Confirm that the value for the key is 60 (decimal value). If necessary, change the value to 60. | ||
+ |