VM Disk Defragmentation for Cloud Storage Deduplication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current disaster recovery systems for virtual machines (VMs) face challenges in efficiently managing VMs with logically similar but physically different filesystems, leading to increased storage costs and slower recovery times due to the need for multiple block device backups and metadata overhead.

Innovation Solution

Implementing a similarity algorithm and distributed defragmentation algorithm to identify and align similar VMs' data, ensuring identical data is placed at the same disk offsets, reducing physical differences and allowing for a single VM recovery template to be used for multiple VMs, thereby minimizing cloud storage usage and enhancing recovery speed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If data is stored in object storage in the cloud for cost efficiency, then storage costs are reduced, but recovery speed slows down due to the need to restore from object storage to block storage upon demand

Engineering Contradiction:
Improvestorage costVSAvoidrecovery speed
Core Design Contradiction:
Loss of energyVSSpeed

Solution Approach 1:

The patent pre-organizes data in object storage by creating a mapping between object storage locations and block storage locations during normal operations. This preliminary organization allows the system to know exactly where data resides and how to reconstruct it, enabling fast recovery without requiring full restoration from object storage to block storage during disaster recovery events

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If VMs with logically similar filesystems are physically stored differently on disk, then filesystem flexibility is maintained, but storage efficiency decreases due to inability to use single block device backup template

Engineering Contradiction:
Improvefilesystem flexibilityVSAvoidstorage cost
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The patent segments the filesystem into logical components that can be independently mapped to physical storage locations. By separating logical filesystem structure from physical storage layout, the system maintains filesystem flexibility while enabling physical consolidation of identical data across multiple VMs, allowing use of single backup templates for storage efficiency

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a mapping layer that acts as an intermediary between the logical filesystem and physical storage. This mapping mechanism translates logical filesystem operations into physical storage operations, allowing VMs to maintain flexible filesystems while their actual data is stored in a consolidated, deduplicated manner that enables single backup template usage

Inventive Principle:
Principle #24Intermediary (Mediator)

3Loss of energy

If deduplication is implemented to reduce storage space, then storage costs are reduced, but rebuild time increases due to reading data from larger amount of objects

Engineering Contradiction:
Improvestorage costVSAvoidrebuild time
Core Design Contradiction:
Loss of energyVSLoss of time

Solution Approach 1:

The patent pre-creates and stores metadata mappings that record the relationship between deduplicated data objects and their original locations. This preliminary organization of metadata allows the system to quickly reconstruct data during rebuild operations by using the pre-computed mappings, avoiding the need to read through all deduplicated objects during recovery

Inventive Principle:
Principle #10Preliminary action

4Productivity

If files are not zeroed upon deletion to save write operations, then disk write operations are reduced, but data integrity is compromised due to presence of garbage data on disk

Engineering Contradiction:
Improvedisk write efficiencyVSAvoiddata integrity
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent introduces a mapping layer that acts as an intermediary between the filesystem and physical disk. When files are deleted, the mapping is updated to mark those locations as free or invalid, while the actual disk data can remain until overwritten. This allows the system to maintain data integrity through mapping validation without requiring immediate zeroing of deleted file spaces, improving disk write efficiency

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11995331B2Smart de-fragmentation of file systems inside VMs for fast rehydration in the cloud and efficient deduplication to the cloud
Publication Date: 2024.05.28 EMC IP HLDG CO LLC
  • US11995331B2 patent drawing
  • US11995331B2 patent drawing
  • US11995331B2 patent drawing

AI summary

One example method includes chunking a respective disk of each of a plurality of virtual machines (VM) to create a respective plurality of chunks associated with each of the VMs, creating, based on the chunking process, a cluster comprising one or more of the VMs, creating a VM template whose data and disk structure match respective data and disk structures of each of the VMs in the cluster, and in response to a file operation involving a first one of the VM disks, defragmenting the first VM disk so that a disk structure of the first VM disk is the same as a disk structure of the VM template.