You will discover that the cloned disk now reflects the new size of 12.5G: * For this example I will to shrink the disk to 12.5GĪfter making this change you can use ‘vmkfstools -i’ to clone this disk: If you want to shrink (or increase) the size of your vmdk file, alter this value in the descriptor file to reflect your new desired size*. The value between ‘RW’ and ‘VMFS’ is the size of disk when divided by 512: If you have ever taken a look at the descriptor file for a vmdk file, you will the “Extent description” section: I do not and will not take responsibility for your corrupted vmdk’s as a result of following this process, whether correctly or incorrectly ** For those people I just mentioned, I have a treat for you: The reason for this probably stems from those few customers that were not familiar with using the command properly and ended up cutting off too much of the disk and corrupted their Guest OS file system as a result.Įver since the option was removed there have been more experienced users wanting the option to be added back to vmkfstools as they are aware of the risks and want that ability again. While it is a somewhat known fact that you used to be able to shrink disks using vmkfstools -X in ESX 2.x, the option was removed as of ESX 3.0.
0 Comments
Leave a Reply. |