Changing the Provisioning of a Virtual Disk: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:


== Further Reading ==
== Further Reading ==
* [http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2014832 Changing the thick or thin provisioning of a virtual disk (2014832)
* [http://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1026043 Reloading a vmx file without removing the virtual machine from inventory (1026043)]
* [http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006160 Registering or adding a virtual machine to the inventory on vCenter Server or on an ESX/ESXi host (1006160)]


[[Category:VMWare]]
[[Category:VMWare]]

Revision as of 14:02, 10 April 2015

Thin to Thick Provisioning

  1. Power off the virtual machine.
  2. In vSphere Client, right-click the virtual machine in the inventory.
  3. Click Edit Settings to display the Virtual Machine Properties dialog box.
  4. Click the Hardware tab and select the appropriate hard disk in the Hardware list.
Note: The Disk Provisioning Type section on the right displays either Thin Provision or Thick Provision. If the disk provision type is Thick, disk provisioning has already taken place. In this case, the disk provisioning is Thin.
  1. Click Cancel to exit out of Virtual Machine Properties dialog box.
  2. Click the Summary tab of the virtual machine.
  3. Under Resources, right-click the datastore where the virtual machine resides and click Browse Datastore.
  4. Double-click the virtual machine folder to display the .vmdk file.
  5. Right-click the .vmdk file, and click Inflate. The Inflate option converts the disk to thick provisioned.
  6. Reload the .vmx file.

Thick to Thin Provisioning

  1. Power off the virtual machine.
  2. Right-click the virtual machine, and click Migrate.
    1. Click Change datastore.
    2. Click Next, and select a datastore that is not the same as the current datastore.
    3. From the dropdown, select the Thin Provision virtual disk format.
      1. Click Next, then Finish. You can monitor the progress of the conversion in the Tasks and Events view in vCenter Server.
Follow the below steps to do Storage vMotion from vSphere Webclient for vSphere 5.5:
  1. Right-click the virtual machine and select Migrate.
  2. To locate a virtual machine, select a datacenter, folder, cluster, resource pool, host, or vApp.
    1. Click the Related Objects tab and click Virtual Machines.
    2. Select Change datastore and click Next.
    3. Select "Thin Provision" for the virtual machine's disks and click Next
    4. Select a virtual machine storage policy from the VM Storage Policy drop-down menu, click Next
    5. Select the datastore location where you want to store the virtual machine files and click Next.
    6. Review the information on the Review Selections page and click Finish.

Further Reading