" />

mikerochford.com Being technical

13Mar/110

Installing VMWare tools for Debian or Ubuntu

Packages that are required to install VMWare Tools in debian or ubuntu


apt-get install make gcc linux-headers-$(uname -r)

Tagged as: , No Comments
23Jul/090

Changing the I/O timeout on your SCSI disk

Changing your I/O timeout for your SCSI disks are rare. When you are running VMWare that houses the guest OS on a NFS/SAN mount you need to change the timeout. If you dont you will run into a mess with your guest OS. You will try running a snapshot and browsing your file system and bam its locks up. Below is what you need to change in your udev rules to change it.

Location: /etc/udev/rules.d/50-udev-default.rules


SUBSYSTEM=="scsi" , SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 60 > /sys/block/sda/device/timeout'"
SUBSYSTEM=="scsi" , SYSFS{type}=="0|7|14", RUN+="/bin/sh -c 'echo 190 > /sys/block/sda/device/timeout'"
SUBSYSTEM=="scsi" , SYSFS{type}=="1", RUN+="/bin/sh -c 'echo 900 > /sys/block/sda/device/timeout'"

Tagged as: , No Comments