虚拟机磁盘扩容方法、电子设备、计算机可读介质及计算机程序产品

By receiving IO requests to update the expansion step size and dynamically adjusting the virtual machine disk capacity, the problem of disk space waste in virtualization scenarios is solved, achieving efficient expansion under adaptive business pressure and reducing storage costs.

CN120762580BActive Publication Date: 2026-07-17ZTE CORP

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZTE CORP
Filing Date
2025-06-19
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In virtualization scenarios, automatic disk expansion cannot be dynamically adjusted according to actual usage, resulting in wasted disk space and unresponsiveness to business pressure, leading to low expansion efficiency.

Method used

By receiving IO requests, the target disk capacity is determined, and the expansion step size is updated based on the amount of data written in the current and previous cycles. The virtual machine disk capacity is dynamically adjusted to the target physical disk capacity, avoiding expansion to the maximum value at once.

Benefits of technology

It enables dynamic adjustment of virtual machine disk capacity based on user needs, adapts to business pressure, improves expansion efficiency, reduces storage costs, and avoids disk space waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120762580B_ABST
    Figure CN120762580B_ABST
Patent Text Reader

Abstract

本公开提供了一种虚拟机磁盘扩容方法,包括:接收IO请求,确定IO请求对应的目标占用磁盘容量;在目标占用磁盘容量满足预设扩容条件的情况下,确定当前周期写入的数据量和前一周期写入的数据量,周期为累计新增数据量的采集周期,当前周期写入的数据量和前一周期写入的数据量根据累计新增数据量确定;根据当前周期写入的数据量、前一周期写入的数据量和预设扩容步长初始值更新扩容步长,得到当前扩容步长;根据当前扩容步长和预设虚拟磁盘容量,确定目标物理磁盘容量,并将虚拟机磁盘容量扩容至目标物理磁盘容量;能够自适应业务压力,兼顾扩容效率和磁盘使用率,有效降低成本。本公开还提供一种电子设备、计算机可读介质及计算机程序产品。
Need to check novelty before this filing date? Find Prior Art