Thin provisionning, what? Save diskspace with ESX and vSphere, oh yes…
I was always very happy with one of the features present in VMware Workstation since few years now. Actually you are able to specify in VMware Workstation when you configure new virtual disk how big the disk will be. But when you specify for example 50 Gigs virtual disk inside Workstation , the disks real space on your PC gets just few hundred Ko. The vmdk file which is laying on your hard disk will “auto-grow” as you install the system and the applications etc…
Sometimes I wish there was this possibility in an ESX environment, but unfortunately that is not possible, or is it? Yes.
The way it works is that you have to create a VMDK file for your virtual machine through a command line. (in vSphere 4 this can be done via VI client… )
This is because you cannot do this from the GUI of the Virtual Infrastructure client. For example I’ll show you how to create a VMDK file (your hard disk in ESX environement) that would grow until 20 GB but only take up the space that it really uses.
Here is how:
1.) Login to the Service Console of the server or remotely via putty (how to enable SSH and login remotely from putty)
2.) Type in “vmkfstools -c 20G -d thin /vmfs/volumes/datastore/virtualmachine_name/virtualmachine_disk1.vmdk”
3.) Then you can login to the VI client and add the existing disk you just created to the VM template.
Other posts from Server Virtualization
- Create your own Provider Virtual Data Center
- Measure some perf benchs with VMark
- VMware partners with Symantec on ApplicationHA
- Andre Leibovici's Linked cloning storage calculator
- SIOC yes, but not in the SMB kit...
- Best practices KB on how-to install ESX 4.1 and vCenter
- Hyper-V and new linux integration tools
- How to Fix “Transaction log for database ‘VIM_VCDB’ is full” errors
- How to change from ACPI Multiprocessor HAL back to ACPI Uniprocessor HAL in Windows 2003
- AD Integration for ESXi 4.1
- vCenter converter with Hyper-V import
- Serial Port handling in ESXi 4.1
- Four memory optimization techniques available in vSphere 4.1
- Activating remote access via SSH in ESXi4.1
- vSphere Compatibility Matrixes
- 150 new features or enhancements in vSphere 4.1
- Personalized install of VMware tools
- VMware tools download from VMware Website
- How to change virtual SCSI controler
- Microsoft's patch for .NET breaks VI client connection






















1 Comment
Trackbacks and Pingbacks