Several methods of disk compression for VMware virtual machines

Source: Internet
Author: User

VMware virtual machines in use, as software and data increase, the virtual disk occupies a larger amount of hard disk space, but after the data is deleted, it does not automatically reduce the physical hard disk space occupied

Instead, it continues to occupy the appropriate size. If you need to solve the above problem, you need to compress the WMware virtual disk, the author summarizes the commonly used three methods, respectively, as follows:

WMware version: 8.0.4 build-744019

Virtual machine system: CentOS release 6.3 (Final)

Method One, in the Linux system, if the installation of Vmware-tools only need to execute the following command

[[email protected]5201351 ~]# vmware-toolbox-cmd disk shrink///       can also specify other partitions

When the progress bar runs out, the SSH connection is disconnected, and the local terminal automatically starts compressing the disk.

Method Two, enter the Linux GUI, use the Vmware-toolbox command, open the Vmware-tools graphical interface.

[[email protected]5201351 ~]# vmware-toolbox        // disk compression by Operation

The above command is just a preparation phase before the disk is compressed, and when the progress bar is complete, you will be prompted as follows, and clicking Yes will start compressing the disk.

Method Three: Operate on the virtual machine software, if you need to shut down the virtual machine operating system, press the operation.

With the virtual machine selected, right--->settings, select disk, select Compact under Utilities, the disk will be compressed immediately, as shown in the following:


Several methods of disk compression for VMware virtual machines

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.