jueves, 7 de julio de 2016

Recreating VMDK



How to create a .vmdk from flat.vmdk?


Hello Guys!!

In this post I'm going to Show how to recreate a vmdk file from a flat.vmdk.

Run from esxcli df -h here you can find the volume where you virtual machine reside.


so, run ls -l for identify your virtual machine


Here you need to run this command: ls -l yourvirtualmachinename-flat.vmdk this output show the virtual disk size.

After that you need to execute this command: vmkfstools -c 4294967296 (this the virtual disk size) -a lsilogic -d thin temp.vmdk


Here you need to execute this command: mv temp.vmdk yourvirtualmachinename.vmdk


Here execute this command vi yourvirtualmachinename.vmdk

Take Note: You should execute this command in the virtual machine directory.


After just exit and start your virtual machine.

Thanks for visiting my blog!!

Share and be sociable!!

No hay comentarios:

Publicar un comentario

Installing Kubernetes on RHEL 9

  Hello Guys, In this post I will show you how to install a Kubernetes cluster on RHEL8. Let's Start: Disablle Swapp: sudo swapoff -a Co...