Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How VMware reduces linux vm disk space on EXSi

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "VMware how to reduce linux vm disk space on EXSi". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "VMware how to reduce linux vm disk space on EXSi".

Problem: linux vm on EXSi initially allocated too much space (214G), and the exported vm file was too large to share.

Now, you want to delete the useless data and reclaim the free space so that the vm file from converter is not too large.

Many methods have been tried:

1. Use the clone of vCenter and select thin as the target disk type, which cannot reduce all unused space. This process should only narrow the space that has never been used.

2. After step 1, for the cloned vm, use converter to import the vm file, and select the disk type Not pre-allocated,vm file size 134G, which is reduced by 80g. This 80g should not be used by vm, but the 100g released by the deleted file still takes up physical disk space.

3. Export the OVF template, but you can't zoom out.

The final solution:

1. Use converter to export vm from EXSi to a local vm file, setting the disk format type: Not pre-allocated, which reduces the unused disk space.

2. After arriving locally, use VMware workstation to open it. Note: during the opening process, it is prompted that the VT in BIOS is not open and needs to be opened.

3. Then use VMware workstatin to install VMware tools. If it is not available locally, it will be downloaded online automatically to ensure network connectivity. Ref. 1

4. After installing VMware tools, use its command line: vmware-toolbox-cmd disk shrink /

To reclaim the space freed by deleting files.

Thank you for your reading, the above is the content of "how VMware reduces the linux vm disk space on EXSi". After the study of this article, I believe you have a deeper understanding of how VMware reduces the linux vm disk space on EXSi, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report