File System Snapshot Inconsistency Detection and Auto-Thaw

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing snapshot creation techniques in network storage systems do not effectively warn users of inconsistent persistent point-in-time images and may leave file systems frozen indefinitely if the snapshot creation process fails, requiring manual intervention.

Innovation Solution

A method and system that automatically detect and report inconsistencies in file system snapshots by using additional processes to check for changes made to the file system during snapshot creation and implement a timer to automatically thaw the file system if the snapshot creation process crashes, preventing indefinite freezing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the client-side software tool freezes the file system during snapshot creation to ensure consistency, then the snapshot consistency is improved, but the file system availability deteriorates

Engineering Contradiction:
Improvesnapshot consistencyVSAvoidfile system availability
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system performs preliminary actions by freezing the file system before snapshot creation begins, ensuring that no changes occur during the snapshot process. This preliminary freezing action guarantees snapshot consistency while the snapshot is being created.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms through signals between processes. Process P2 monitors the file system state and sends signals to Process P1 about changes detected during snapshot creation, enabling the system to respond to state changes and maintain consistency awareness.

Inventive Principle:
Principle #23Feedback

2Reliability

If the file system is frozen during snapshot creation, then the snapshot consistency is improved, but the loss of time increases

Engineering Contradiction:
Improvesnapshot consistencyVSAvoidfile system freeze duration
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system dynamically adjusts the snapshot creation process by allowing the file system to be thawed and refrozen multiple times during snapshot creation. This dynamic approach enables the system to maintain consistency while minimizing the total freeze duration by allowing brief periods of activity.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The file system undergoes periodic freezing and thawing cycles during snapshot creation. Instead of a single long freeze, the system uses multiple shorter freeze periods interspersed with brief thaw periods, reducing overall time loss while maintaining snapshot consistency.

Inventive Principle:
Principle #19Periodic action

3Measurement precision

If additional processes are added to monitor file system changes, then the inconsistency detection capability is improved, but the device complexity increases

Engineering Contradiction:
Improveinconsistency detection capabilityVSAvoidprocess structure
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

Process P2 serves as an intermediary that monitors file system changes and communicates with Process P1 through signals. This intermediary approach enables precise inconsistency detection while maintaining a relatively simple overall process structure by using standard inter-process communication mechanisms.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system uses self-service mechanisms where processes monitor themselves and each other through signal-based communication. Process P1 can detect inconsistencies by receiving signals from Process P2, enabling self-diagnosis without requiring complex external monitoring infrastructure.

Inventive Principle:
Principle #25Self-service

4Reliability

If the snapshot creation process crashes, then the reliability deteriorates, but the file system remains frozen indefinitely

Engineering Contradiction:
Improvesnapshot creation reliabilityVSAvoidindefinite file system freezing
Core Design Contradiction:
ReliabilityVSObject-generated harmful factors

Solution Approach 1:

The system prepares compensatory measures in advance by having Process P2 ready to detect and report inconsistencies, and by implementing timeout mechanisms that will automatically thaw the file system if the snapshot creation process crashes or hangs, preventing indefinite freezing.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Solution Approach 2:

The timeout mechanism provides feedback about the snapshot creation process status. If Process P1 does not complete within the expected time frame, the timeout triggers an automatic response to thaw the file system, ensuring that crashes do not lead to indefinite freezing.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS7925631B1Method and system for reporting inconsistency of file system persistent point in time images and automatically thawing a file system
Publication Date: 2011.04.12 NETAPP INC
  • US7925631B1 patent drawing
  • US7925631B1 patent drawing
  • US7925631B1 patent drawing

AI summary

A process such as a snapshot creation application process freezes a file system upon initiating a process to create a snapshot of a file system or a part thereof. Upon freezing the file system, the snapshot application process causes a second process to make a change to the file system. If the change is successfully made before the snapshot creation application process tries to thaw the file system, the second process sends a signal back to the snapshot application. Upon receiving a signal from the second process, the snapshot creation application process outputs a warning to a user that the snapshot is inconsistent. The snapshot application also causes a third process to automatically thaw the file system, if a certain period of time has passed and the third process has not received a signal from the snapshot application process indicating the snapshot has been successfully created.