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

What is the use of disk space recycling on esxi hosts?

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

Share

Shulou(Shulou.com)05/31 Report--

Today, I will show you how to use disk space recycling on esxi hosts. The content of the article is good. Now I would like to share it with you. Friends who feel in need can understand it. I hope it will be helpful to you. Let's read it along with the editor's ideas.

Problem: insufficient storage space of esxi host, monitoring alarm, unable to create virtual machine snapshot

Analysis: due to the excessive pre-allocation of disk space when creating the virtual machine, the available space of the virtual machine is much larger than the actual need, but the host is insufficient, thus affecting the normal use.

Idea: complete backup of the source virtual machine through Windows Server Backup, and then restore the source virtual machine to the host through bare metal

Prepare the environment:

1 failed ESXI host and virtual machine that needs reclaimed space

1 ESXI host with enough space for virtual operation of bare metal recovery. # to reduce the failure risk of virtual machine backup and recovery, it is recommended to prepare an esxi host for bare metal recovery

Set up the vcenter and add 2 esxi to it for virtual machine migration after recovery

Implementation steps:

1. Remove unnecessary settings from the source virtual machine, such as CD/DVD drives

2. Sort out the disk space of the source virtual machine, sort out and compress the disk space that can be cleaned in the virtual machine according to the actual situation.

Note: when the system exists, multiple partitions have space that can be sorted out and compressed, and the compressed space needs to be sorted together.

You can use the Partition Assistant to move the partition to the front of the blank partition

It is proved by experiments that when there are multiple partitions with compressed space, the disk space will only subtract the space of the last blank partition when restoring the virtual machine in bare metal, otherwise it will be prompted in the bare metal recovery that the hard disk space in bios is less than the source backup.

2. Full backup of the source virtual machine

3. Create a new virtual machine on esxi. The disk space is greater than or equal to the compressed space of the source virtual machine. It is recommended that it is slightly larger than the compressed space of the source virtual machine by 1-10g.

A. Boot from the system CD-repair the computer-troubleshoot-restore the system image-select the system image

B. Add network image location

C. Select the system to be restored

D, choose according to the actual situation, now need to make a full recovery

The steps of bare metal recovery of source virtual machine to esxi after reboot are completed.

After logging in to the system, it is found that the space occupied by the virtual machine has now reached the target.

4. Migrate virtual machines

Log in to vcenter, delete the original virtual machine, and migrate the newly restored virtual machine to the original esxi host, and the original virtual machine space is reclaimed.

These are all about the use of esxi host disk space recycling, and you can search for previous articles or browse the following articles to learn more about the use of esxi host disk space recycling. I believe the editor will add more knowledge to you. I hope you can support it!

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