Tag Archives: Troubleshooting - Page 2

ESXi 5 Network Troubleshooting Commands

Check if a remote host is online and reachable.

~ # ping
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=58 time=13.701 ms
64 bytes from icmp_seq=1 ttl=58 time=10.176 ms
64 bytes from icmp_seq=2 ttl=58 time=9.055 ms

--- ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 9.055/10.977/13.701 ms

Ping from a specific VMkernel adapter.

~ # ping -I vmk1
PING ( 56 data bytes
64 bytes from icmp_seq=0 ttl=58 time=9.991 ms
64 bytes from icmp_seq=1 ttl=58 time=9.270 ms

Read more »

Howto Shrink a Thin Provisioned Virtual Disk (VMDK)

Thin provisioned disks are a great feature to save capacity as you virtual machines filesystem will never use the full capacity. I do not know a single system where you do not have at least 10GB of free space for OS disks. I am not considering databases, applications or fileservers which will grow constantly. Having thin provisioned disk is usually no longer a performance problem so it is a valid design choice even in production.

A common issue with thin disks is that the size will grow when required, but never shrink. When you require the capacity only once you might want to get it back from the virtual machine. This post describes how to reclaim unused space from the virtual machine.

Read more »

Identify Disk Usage of a Thin Provisioned Virtual Disk

This post demonstrates various ways to identify the disk usage of a thin provisioned virtual disk.

I have a virtual machine with a 10 GB thin provisioned disk. You can verify the disk type from the virtual machine settings page.


Read more »

Enabling verbose logging on QLogic and Emulex HBAs in ESXi 5.5

KB1005576 explains how to enable or disable verbose logging on QLogic and Emulex Host Bus Adapters. With ESXi 5.5 and its Native Device Driver Architecture the option has been slightly changed, but is still available. This post explains how to enable verbose logging on QLogic and Emulex HBAs in ESXi 5.5.

The new native drivers and their predecessor are:

Emulex FC: lpfc (replaces lpfc820)
QLogic FC: qlnativefc (replaces qla2xxx)

Read more »

vSphere Mobile Watchlist - VM Administration for Andorid and iOS

VMware has just published a new App for Andorid and iOS: vSphere Mobile Watchlist. The App which has been announced at the last VMware Partner Exchange 2014 allows to monitor your virtual machines in your vSphere infrastructure remotely on your phone. I've tested the app on my HTC One to see how powerful it is.


Read more »

Howto Check Network Port Availability from vMA

VMwares vSphere Management Assistant does not have much tools available. When you vMA is behind a firewall you might want to check if ports are reachable for troubleshooting purposes. As the vMA does not come with telnet or netcat you can use the built in bash feature:

Read more »