Changes between Version 47 and Version 48 of notes/vmware
- Timestamp:
- 2017-04-05T07:29:01Z (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
notes/vmware
v47 v48 186 186 187 187 == заплатка для виртуалок на ненадёжном сторедже 188 `/etc/udev/rules.d/99-vmware-scsi-udev.rules`: 189 {{{#!bash 190 # vcsa:/etc/udev/rules.d/99-vmware-scsi-udev.rules 188 для el6 `/etc/udev/rules.d/99-vmware-scsi-udev.rules`: 189 {{{#!bash 191 190 # 192 191 # VMware SCSI devices Timeout adjustment … … 197 196 ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware ", ATTRS{model}=="Virtual disk ", RUN+="/bin/sh -c 'echo 777 >/sys$DEVPATH/timeout'" 198 197 ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware, ", ATTRS{model}=="VMware Virtual S", RUN+="/bin/sh -c 'echo 777 >/sys$DEVPATH/timeout'" 198 }}} 199 200 для el6 `/usr/lib/udev/rules.d/99-vmware-scsi-udev.rules`: 201 {{{#!bash 202 # 203 # VMware SCSI devices Timeout adjustment 204 # 205 # Modify the timeout value for VMware SCSI devices so that 206 # in the event of a failover, we don't time out. 207 # See Bug 271286 for more information. 208 ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware*" , ATTRS{model}=="Virtual disk*", RUN+="/bin/sh -c 'echo 777 >/sys$DEVPATH/device/timeout'" 209 ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware*" , ATTRS{model}=="VMware Virtual S", RUN+="/bin/sh -c 'echo 777 >/sys$DEVPATH/device/timeout'" 199 210 }}} 200 211 и не забыть `udevadm trigger`.