Tag Archives: VMware

Reclaim thin provisioned space in VMware datastore

We were using a portable storage array as temporary storage array to store data from an older array that had to be reconfigured. Capacity was quite an issue and everything would barely fit (with dedupe and compression doing its best on the Dell EMC XtremIO we were using for this), but we discovered that provisioned space wasn’t immediately reclaimed, so we got a bit into trouble when space wasn’t immediately reclaimed when data was deleted from a VMware version 5 datastore.

We were facing two options:

  • Datastore VMFS version 6: Unmap automatically every 12 hours (not 100% sure about this interval)
  • Datastore VMFS version 5: Unmap manually from the ESXi command line:

esxcli storage vmfs unmap -l XIO-05-VMFS-013

Before:

After running the command “esxcli storage vmfs unmap -l MGG-XIO-05-VMFS-013” and a few hours of patience and waiting:

Source: : https://kb.vmware.com

How to enable SSH on a VMware 5.5 ESXi host using the vSphere client

virtual machine

Recently I needed to make some edits on vmdk files in order to get rid of a reference to the change tracking files, as mentioned in Gabrie’s post: Cannot open the disk and could not open change tracking file. An SSH connection to a VMware ESXi host was required. SHH was disabled and I needed to enable it temporarily.

How to enable SSH on an ESXi host using the vSphere client

In vSphere, select the host you want to enable SSH on.

Select the “Configuration” TAB, then “Security Profile”. In the upper right select “Properties.

A new window opens, now select SSH (you may need to scroll down a bit) and in the lower right select “Options”.

Again a new window opens and here you can either “Start” or “Stop” the SSH daemon.

enable SSH

Want to play around with VMware VVOLs? Here’s your chance! The Software Defined VNX is here!

Hard Drive

VMware now has this great new feature to be more in control of where its data blocks actually land on the storage system: VVOLs. But up until now EMC didn’t have a system capable of actually providing the back end for that. Until now I said. Starting with the VNXe 3200 all storage arrays are made vVOL capable and you can play around with that yourself. FOR FREE!

The Software Defined VNX is now a reality!

Read more »

Optimizing performance using VAAI and the ESX MaxHWTransferSize setting

xcopy transfer size

If you’re running an EMC VNX using a lower version than block OE version 05.32.000.5.209, you might want to upgrade to the latest and greatest version (patch 209 or newer). The 209 offers EMC’s latest fixes and enhancements for VAAI performance. Many of the found performance issues have been fixed in the 209 code. However, in some environments sub-optimal performance has been detected with xcopy operations, or in some cases with the performance of non-xcopy IO during xcopy operations to the same pool.

Read more »

How to translate Windows disk ids to storage array’s LUNs

Converting disk information in a VM into the actual LUN information

We’ve all been there: you have a certain Windows virtual machine with several disks of the same size and you don’t know which Windows-disk is in fact which storage LUN.

The VMware settings for this VM might look like this:

VM-config

Read more »

Live VMware datastore expansion with running VMs

How to enlarge datastore capacity in Virtual Center?

There are several ways to get more disk storage available for your VMs running on VMware ESX. Adding an extra datastore is an option, but having multiple datastores creates an extra administrative overhead since you now have multiple datastores to monitor.

Another option is to simply extend an existing datastore. Live!

Read more »

VMware: “adaptive queue depth” setting

What is the recommended LUN queue depth throttling in VMware ESX/ESXi?

According to EMC this “adaptive queue depth” setting is not yet supported (June 2013). The full article can be found on this link. It is known as Primus solution id emc279718.

My advice would be not to use this setting until EMC certifies this setting for use with their arrays.

The exact Article is as follows:

What is the recommended LUN queue depth throttling in VMware ESX/ESXi?
 
  • Need to know QFullThreshold,QFullSampleSize & Queue Fulls values for VMware.
  • Host Connectivity Guide does not include any standard values.
  • Performance issues.
 
OS: VMware ESX / ESXi
Product: CLARiiON / Symmetrix and I assume VNX as well
 
According to Engineering, enabling the adaptive queue depth algorithm is NOT documented in the Host Connectivity Guide or the EMC Support Matrix.
The recommendation is to use the default setting which is disable adaptive queue depth.
Additional checks with E-Lab VMware quality engineers, E-Lab testing is done with the default setting.
 
See emc274169 for additional information and or changes.  Also see these two documents on support pages support.emc.com or Powerlink.Using EMC VNX Storage with VMware VsphereUsing EMC Clariion Storage with Vmware Vsphere & VMware Infracture Version 4.0

2 Free vSphere ebooks on Amazon! On June 5 and 6 2013 only!!

2 Free ebooks @Amazon

Generally I don’t want to abuse a blog to advertise for certain goods, but I’ve found 2 good ebooks for you VMware lovers:

  1. VMware vSphere 4.1 HA and DRS Technical deepdive (http://amzn.to/hwUFhA)
  2. VMware vSphere 5 Clustering Technical Deepdive (http://amzn.to/om16q1)

Make sure you check the Kindle version, since today and tomorrow it will be for $0, so that’s a good deal, don’t you think?

%d bloggers like this: