Changing the Provisioning of a Virtual Disk

From UNIX Systems Administration
Jump to: navigation, search

Thin to Thick Provisioning

  1. Power off the virtual machine.
  2. In vSphere Client.
    1. Right-Click the virtual machine in the inventory.
      1. Click Edit Settings to display the Virtual Machine Properties dialog box.
      2. Click the Hardware Tab.
        1. Select the appropriate hard disk in the Hardware list.
        2. 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.
        3. Click Cancel to exit out of Virtual Machine Properties dialog box.
    2. Click the Summary Tab of the virtual machine.
      1. Under Resources.
        1. Right-Click the datastore where the virtual machine resides.
          1. Click Browse Datastore..
            1. Double-click the virtual machine folder to display the .vmdk file.
            2. Right-click the .vmdk file.
            3. Click Inflate. The Inflate option converts the disk to thick provisioned.
  3. 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