Skip to content

Instantly share code, notes, and snippets.

@jonchen727
Last active July 1, 2020 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonchen727/bba7bff4e92a439609a6d08be08676cc to your computer and use it in GitHub Desktop.
Save jonchen727/bba7bff4e92a439609a6d08be08676cc to your computer and use it in GitHub Desktop.
ESXi Console Commands

Converting uncompatable .vmdk to ESXi compatable .vmdk

vmktools -i <path to .vmdk> <path to new .vmdk>

Converting to other disk formats

vmktools -i <path to .vmdk> <path to new .vmdk> -d [disktype]

[disktype]

zeroedthick

Default option for disks stored on a VMFS datastore.

thin

Default option for disks stored on a NFS datastore. Growing storage.

eagerzerothick

Specal format required for cross-host virtual machine clustering and VMware Falt Tolerance (FT) VM's. Existing disks can be inflated to this format with out losing data.

rdmp

Default Raw device mapping format with physical compatability. Most SCSI commands are passed-through to the guest system to/from the physical storage. Required for cross-host virtual machine clustering, where both machines would share the same mapping file. This format does not support virtual machine snapshots.

rdm

Raw device mapping with virtual compatability. A sebset of SCSI commands are passed-through to the guest to/from the physical storage. This format supports virtual machine snapshots.

2gbsparse

This format is for desktop hosted products such as VMware Fusion, Player, etc. The disk is spanned across multiple 2GB chunks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment