From My technical experience in VMware world, i have met a lot of customers which asking me to shrink the size of a .vmdk disk. Really…This is a mission critical task, but let us go through this procedure to show up how to do this.We will learn how to do it without VMware converter as when using VMware converter, you will consume a lot of time.
I feel this is a little more advanced so
“Before your start the following procedure, please ensure you have a valid and tested Full Backup of your virtual machine. This does not mean a VMware Snapshot.”
“Before your start the following procedure, please ensure you have a valid and tested Full Backup of your virtual machine. This does not mean a VMware Snapshot.”
In fact, increasing the size of a VMware Virtual Machine Disk (VMDK) is straightforward, and is supported in the vSphere Client, by selecting the virtual hard disk, and increasing the size using the up arrow. or typing in a new value.
If you have a Mac with Retina Display, you can see the remote desktop in full resolution. Using Multiple Monitors. With the VMware Blast display protocol or the PCoIP display protocol, a remote desktop screen resolution of 4K (3840 x 2160) is supported. The default screen resolution for Mac OS X VirtualBox Guest is 1024×768. Below shows how to change the screen resolution of Mac OS VirtualBox guest running on Windows 10.
![Mac Mac](https://isipinoytek.files.wordpress.com/2018/06/feature_image_macosvm.jpg?w=907&h=540&crop=1)
However, although there is a down arrow present, you cannot shrink the disk in this way, it’s not supported. The only supported method of shrinking a VMware virtual machine disk (VMDK) is to use VMware vCenter Converter Standalone and create a virtual to virtual (V2V) conversion, a similar process to a Physical to Virtual (P2V) conversion.
For standard Mac Java installations and so you don't have to continually update the setting when you install new Java VMs, set the -vm flag to simply /usr/bin: -vm /usr/bin If you want to use another JDK (that has the macOS directory layout, like the.tar.gz from AdoptOpenJDK) you should use.
You can review this VMware KB :
V2V Disadvantages
- V2V Conversions can be slow.
- You need to ensure, you have enough datastore storage space for the new virtual machine disk.
- The virtual machine is converted, so there is a small risk, the conversion can cause issues with the converted virtual machine.
- The converted machine can contain a different MAC address.
- V2V are prone to failure.
V2V Advantages
- Support end-user method of re-sizing a virtual machine disk.
- GUI Interface when using VMware vCenter Converter Standalone
After reading and understanding this article, you will be able to reduce the size of virtual machine disks in less than five minutes. I will let the reader decide if this is a faster method than the traditional practice of using a V2V, to change the size of a VMware Virtual Machine Disk (VMDK). On occasion we come across an installation, where an Administrator has assigned a 2TB virtual disk, and does not have the space to create a V2V!
The following procedure is split into two parts
- Shrink the Operating System partition – This is covered in Step 1.
- Shrink the VMware Virtual Machine Disk (VMDK) – This is covered in Step 2
1. Login to the Virtual Machine and shrink the OS Partition
Before we can shrink the VMware virtual machine disk (VMDK), we need to shrink the OS partition. (to avoid file system corruption). In this example I am using Windows 2008 R2, which has a shrink function.
Using a RDP (Remote Desktop Protocol) connection or connect via the Console, using the vSphere Client, login to the virtual machine as an Administrator.
Press Control-Alt-Delete to login to the virtual machine.
Right Click My Computer and Select Manage
Select Disk Management, and select the partition you need to shrink.
Right Click the Volume/Partition to shrink, and select Shrink.
The above dialogue will briefly appear whilst the file system is queried.
the above dialogue will appear. Enter a size to reduce the OS partition.
In this example the VMware virtual machine disk (VMDK) is 40GB, and we would like to reduce the size of the VMware virtual machine disk (VMDK) to 20GB. The Disk Management utility scans the available file system, and reports a maximum size the OS partition can be reduce by, this is based on current file system usage.
Enter the figure 19.5 (GB) x 1024 = 19968
OS Partition size after Shrink Operation.
As can be clearly seen in the above screenshot, there is now an unallocated 19.5GB space on the virtual disk, in Step 2 the VMware virtual machine disk (VMDK) will be “chopped”, removing this unallocated storage space, and finally reducing the virtual machine disk (VMDK) to 20GB. Providing that we DO NOT affect the existing partitions, this is a safe operation. So in effect the “cut” will be made in the unallocated storage space, after the OS partition.
2. Reducing the size of the VMware Virtual Machine Disk (VMDK)
Login and connect to the VMware vSphere Host ESXi server which hosts the virtual machine.
Power OFF the Virtual Machine, and change to the datastore path where the VMware virtual machine disk (VMDK) is located.
cd /vmfs/volumes/<datastore name>/<VM folder_name>
We need to edit the *.vmdk, which is the descriptor file, which contains the variables for the size of the *.-flat.vmdk. Using cat, this is what the descriptor file contains
The number highlighted above, under the heading #Extent description, after the letters RW, defines the size of the VMware virtual disk (VMDK).
this number – 83886080, and it’s calculated as follows:
40 GB = 40 * 1024 * 1024 * 1024 / 512 = 83886080
Chrome app store for pc. We wanted to reduce the size of the VMware virtual machine disk (VMDK) from 40 GB to 20 GB. So the value we need to enter into the descriptor file is:-
20 GB = 20 * 1024 * 1024 * 1024 / 512 = 41943040
Using vi, edit the descriptor file, and change the number from 83886080 to 41943040, and save the file.
Migrate or Copy the virtual machine to another datastore.
After the virtual machine disk (VMDK) has been moved, you will notice the disk size reflects the desired size of 20GB.
After restarting the virtual machine, and checking with Disk Management, you will notice the 19.5GB unallocated storage space, has been removed, and disappeared.
Mac Vm Windows
Congratulations, you have successfully Shrunk a VMware Virtual Machine Disk (VMDK).
Thanks for reading my post ?
please leave a valuable feedback or share on Facebook, Twitter or Linkedin.
Windows users love to use Mac OS X to their computer in a different way. Virtually installation using Vmware workstation, Vmware Playstation, virtual box is popular most among them. In Vmware based Mac Os we sometimes don’t get actual screen resolution of it due to different reason. It may be due to lack of Mac OS drivers or something else. But our main motto is to get original display resolution.
Some other common problems those VMware Mac users generally face:
When I install Mac OS X using Vmware, I find no scaled display option other than 1024×768. But the recommended screen resolution for my 18.5 inchs AOC desktop is 1366×768. But how can I get the resolution back in my Mac OS X?
Here is the first display option that I get after first Mac Os X virtual installation.
Mac Vm On Windows
Now a free Mac VGA driver for Vmware can do the trick for you. Download Mac VGA Driver for VMware from Here. After downloading the driver software, install it. You will need administrator password for installing the software. After complete installation just restart Mac Os X and you will find the following changes.
Navigate to System Preferences >> Display and you will find different screen resolution options as shown in the below picture.
Mac Vm Size
Now select the resolution that you want for your desktop and enjoy the full screen enhanced view for Vmware Mac OS x.
Note: Sometimes at the end of software installation you can get “Software Installation Failure” notice. But don’t worry. 2018 picsart app. Even after getting such error message, you will be able to get all suitable screen resolutions for VMware Mac after restarting the OS.
Mac Vmware
Feel Free to share your thoughts in the comment section below.
Don't forget to follow us on Twitter, like our Facebook Fan Page and Add us to your circles on Google+ to keep you updated with the latest technology news, gadget reviews, launches around the world and much more