访客操作系统(OS)超时脚本为 Red Hat Enterprise Linux 版本 4、5、6 和 7 以及 SUSE Linux Enterprise Server 版本 9、10 和 11 设置 SCSI I/O 超时设置。可指定 60 秒超时或 190 秒超时。每次升级到新版本的 Linux 时,都必须运行该脚本。
必须事先装载包含 Linux 脚本的 ISO 映像。
- 访问 Linux 虚拟机的控制台,并登录具有根特权的帐户。
- 运行 linux_gos_timeout-install.sh 脚本。
对于 Red Hat Enterprise Linux 4 或 SUSE Linux Enterprise Server 9,将显示如下所示的消息:
Restarting udev... this may take a few seconds.
Setting I/O Timeout (60s) for /dev/sda - SUCCESS!
对于 Red Hat Enterprise Linux 5、Red Hat Enterprise Linux 6 和 Red Hat Enterprise Linux 7,将显示如下所示的消息:
patching file /etc/udev/rules.d/50-udev.rules
Hunk #1 succeeded at 333 (offset 13 lines).
Restarting udev... this may take a few seconds.
Setting I/O Timeout (60s) for /dev/sda - SUCCESS!
对于 SUSE Linux Enterprise Server 10 或 SUSE Linux Enterprise Server 11,将显示如下所示的消息:
patching file /etc/udev/rules.d/50-udev-default.rules
Hunk #1 succeeded at 114 (offset 1 line).
Restarting udev ...this may take a few seconds.
Updating all available device nodes in /dev: done
- 卸载 ISO 映像。