Skip to content

Sun StorageTek 2540 and ESX troubleshooting

We experienced a few issues with the StorageTek 2540 array that forms the core of our SAN recently. The symptom was that the array flagged itself as being in a degraded state and that one or more volumes were not assigned to the preferred controller.   The first step was to upgrade the SAN firmware …

Show progress during dd

If you need to show progress during dd copy, you can firstly find PID with ps -A|grep dd then you can send signal USR1 to this process with the following command kill -USR1 “DDPID” If you like to run automaticaly every x second you can use the command watch as watch -n 5 kill -USR1 …

Configuring SNMP on ESXi 4.1 via the vSphere CLI 4.1

1) Download the vSphere CLI 4.1 and install 2) From the VMware vSphere CLI command line, type: vicfg-snmp.pl –server ESXIHOSTIP -c COMMUNITYNAME -p 161 -t DESTINATIONHOSTIP@161/COMMUNITYNAME 3) Enabling agent vicfg-snmp.pl –server ESXIHOSTIP  –E

Howto Convert from VirtualBox to VMWare ESX

The following procedure was used to convert a virtual machine from Oracle VirtualBox to VMWare. In most cases, administrators are trying to convert from VirtualBox to VMWare. Export the Appliance Export a VirtualBox Appliance from within VirtualBox. File, Export Appliance… Check box for “Write legacy OVF 0.9” Choose a location and save. After the export …

driver ath9k is slow or not responding – BUG #735171

As reported on bugs.launchpad.net, Ubuntu 11.04 soffer of kernel bug on ath9k module. The bug consist in a very slow or not responding wireless connection (https://bugs.launchpad.net/ubuntu/natty/+source/linux/+bug/735171) The kernel was rebuild to correct the problem and now is in proposed repository. To enable this repo, you can follow the link https://wiki.ubuntu.com/Testing/EnableProposed

How to extract and repack initram

To unpack initram you could use the following command gunzip < initramfs.img|cpio -i after make the change you can repack with the following command find | cpio -H newc -o|gzip > ../initramfs.img

Install ESX 4.x formatting local VMFS volumes with a specific block size

To reconfigure the installer to format VMFS partitions with a specified block size: Boot the ESX installation DVD and choose Install in graphical mode. Press Ctrl+Alt+F2 to switch to the shell. Run: ps | grep Xorg    Kill the PID which shows Xorg -br -logfile ….    For example, run:   kill 590   Where 590 is the PID, …

Calculating the overhead required by snapshot files

Symptoms When creating a snapshot for the virtual machine, you experience these symptoms: In the vSphere Client, you see the error: File is larger than the maximum size supported by datastore   In the /var/log/vmware/hostd.log file, you see the error: Snapshot guest failed: The file is too big for the filesystem. Calculating the overhead required by …

How to calc Robocopy IPG

Robocopy’s “inter-packet gap” (IPG) option allows some control over the network bandwidth utilized in a session. In theory, the following formula expresses the delay (D, in milliseconds) required to simulate a desired bandwidth (BD, in kilobits per second), over a network link with an available bandwidth of BA kbps: