Virtual Machine Data Storage Recovery via Metadata Verification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing data recovery processes for virtual machines on virtualization platforms are inefficient, leading to potential data loss due to the long IO stack and susceptibility to failures at any level during recovery.

Innovation Solution

A data storage method for virtual machines that involves acquiring a starting instruction, loading a storage device, accessing and verifying metadata information, determining data storage states based on data region bitmap information, and sending target data for storage only when both files are in a normal state.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional storage recovery methods are used, then data recovery can be achieved, but the IO stack is very long and any failure at any level leads to data loss

Engineering Contradiction:
Improvedata recovery reliabilityVSAvoidIO stack complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent segments the data recovery process into independent file-level operations with parallel processing. Each file is treated as an independent unit with its own metadata verification and data region bitmap checking, allowing simultaneous recovery operations across multiple files without blocking each other, thus reducing the overall IO stack depth and failure propagation risk.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent performs preliminary verification of metadata information and data region bitmap before actual data recovery. By checking the integrity and status of file metadata and bitmap structures in advance, the system identifies and skips corrupted files, preventing recovery failures from propagating through the entire IO stack and ensuring more reliable data recovery.

Inventive Principle:
Principle #10Preliminary action

2Quantity of substance

If comprehensive data recovery is performed, then data completeness is improved, but recovery time increases due to lengthy IO stack

Engineering Contradiction:
Improvedata recovery completenessVSAvoidrecovery time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent implements partial recovery by selectively processing only files that pass metadata verification and bitmap integrity checks. Instead of attempting to recover all files sequentially through a deep IO stack, the system identifies valid files and recovers only those, skipping corrupted or inaccessible files, thus reducing recovery time while maintaining completeness for recoverable data.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent enables continuous parallel recovery operations across multiple files simultaneously. By maintaining independent recovery threads for each file and using bitmap information to track recovery status, the system continues useful recovery actions without interruption from IO stack blocking, significantly reducing total recovery time while preserving data completeness for all recoverable files.

Inventive Principle:
Principle #20Continuity of useful action

3Reliability

If file-level verification is implemented, then data storage reliability is improved, but verification complexity increases

Engineering Contradiction:
Improvedata storage reliabilityVSAvoidverification complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces data region bitmap information as an intermediary structure between file metadata and actual data regions. The bitmap serves as a mediator that translates complex file-level verification requirements into simple bit-checking operations, making the verification process less complex while maintaining high reliability through comprehensive file status tracking.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20250045173A1Data storage method and apparatus of virtual machine, virtual machine, and storage medium
Publication Date: 2025.02.06 INSPUR SUZHOU INTELLIGENT TECH CO LTD
  • US20250045173A1 patent drawing
  • US20250045173A1 patent drawing
  • US20250045173A1 patent drawing

AI summary

Disclosed are a data storage method and apparatus of a virtual machine, a virtual machine, and a storage medium. The method includes: acquiring a starting instruction of a virtual machine, and loading a storage device on the basis of the starting instruction; accessing metadata information recorded in first storage regions of at least two corresponding files in the storage device, and verifying the metadata information to obtain a verification result; when the verification result is normal, accessing data region bitmap information recorded in second storage regions of the at least two files; determining, on the basis of the data region bitmap information, data storage states of the at least two files; and when the data storage states of the at least two files are both normal, sending target data to the at least two files to perform data storage.