Changes between Version 47 and Version 48 of notes/vmware


Ignore:
Timestamp:
2017-04-05T07:29:01Z (8 years ago)
Author:
root
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • notes/vmware

    v47 v48  
    186186
    187187== заплатка для виртуалок на ненадёжном сторедже
    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
    191190#
    192191# VMware SCSI devices Timeout adjustment
     
    197196ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware  ", ATTRS{model}=="Virtual disk    ", RUN+="/bin/sh -c 'echo 777 >/sys$DEVPATH/timeout'"
    198197ACTION=="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.
     208ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware*" , ATTRS{model}=="Virtual disk*", RUN+="/bin/sh -c 'echo 777 >/sys$DEVPATH/device/timeout'"
     209ACTION=="add", SUBSYSTEMS=="scsi", ATTRS{vendor}=="VMware*" , ATTRS{model}=="VMware Virtual S", RUN+="/bin/sh -c 'echo 777 >/sys$DEVPATH/device/timeout'"
    199210}}}
    200211и не забыть `udevadm trigger`.