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
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Thin to Thick Provisioning ==
== Thin to Thick Provisioning ==
# Power off the virtual machine.
# Power off the virtual machine.
# In vSphere Client, right-click the virtual machine in the inventory.
# In vSphere Client.
# Click Edit Settings to display the Virtual Machine Properties dialog box.
## <tt>'''Right-Click'''</tt> the virtual machine in the inventory.
# Click the Hardware tab and select the appropriate hard disk in the Hardware list.
### <tt>'''Click Edit Settings'''</tt> to display the Virtual Machine Properties dialog box.
** 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.
### <tt>'''Click the Hardware Tab.'''</tt>
 
#### <tt>'''Select'''</tt> the appropriate hard disk in the Hardware list.
#Click Cancel to exit out of Virtual Machine Properties dialog box.
#### '''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.
#Click the Summary tab of the virtual machine.
#### <tt>'''Click Cancel'''</tt> to exit out of Virtual Machine Properties dialog box.
#Under Resources, right-click the datastore where the virtual machine resides and click Browse Datastore.
## <tt>'''Click the Summary Tab'''</tt> of the virtual machine.
#Double-click the virtual machine folder to display the  .vmdk file.
### Under Resources.
#Right-click the .vmdk file, and click Inflate. The Inflate option converts the disk to thick provisioned.
####<tt>'''Right-Click'''</tt> the datastore where the virtual machine resides.
#Reload the .vmx file.
##### <tt>'''Click Browse Datastore.'''</tt>.
###### <tt>'''Double-click'''</tt> the virtual machine folder to display the  .vmdk file.
###### <tt>'''Right-click the .vmdk file.'''</tt>
###### <tt>'''Click Inflate'''</tt>. The Inflate option converts the disk to thick provisioned.
# Reload the .vmx file.


== Thick to Thin Provisioning ==
== Thick to Thin Provisioning ==
# Power off the virtual machine.
# Right-click the virtual machine, and click Migrate.
## Click Change datastore.
## Click Next, and select a datastore that is not the same as the current datastore.
## From the dropdown, select the Thin Provision virtual disk format.
### 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:
# Right-click the virtual machine and select Migrate.
# To locate a virtual machine, select a datacenter, folder, cluster, resource pool, host, or vApp.
## Click the Related Objects tab and click Virtual Machines.
## Select Change datastore and click Next.
## Select "Thin Provision" for the virtual machine's disks and click Next
## Select a virtual machine storage policy from the VM Storage Policy drop-down menu, click Next
## Select the datastore location where you want to store the virtual machine files and click Next.
## Review the information on the Review Selections page and click Finish.


== 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]]

Latest revision as of 14:11, 10 April 2015

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