Online File System Check Storage Zone Allocation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing file system checks, especially online checks, face challenges in maintaining system availability due to the risk of conflicts with new writes and require significant storage space reservation, leading to inefficiencies and extended unavailability during the process.
Innovation Solution
Implementing a storage volume with a non-reserved zone and a soft-reserved zone, where storage space from the soft-reserved zone can be reassigned to the non-reserved zone during normal operation and used during online file system checks, allowing writes without data migration and optimizing storage utilization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If an offline file system check is carried out when the file system is un-mounted, then the file system check can be completed without interference from user read/write requests, but the file system becomes unavailable for an extended period of time
Solution Approach 1:
The patent designates a soft-reserved zone in advance before any file system check is initiated. This zone is pre-configured as a temporary storage area that can be dynamically allocated during the check process, allowing the system to prepare the necessary infrastructure beforehand without requiring full offline operation.
Solution Approach 2:
The storage volume is divided into a non-reserved zone and a soft-reserved zone. This segmentation allows the file system to separate the areas used for normal operations from those used for check operations, enabling concurrent access without full unmounting while maintaining organizational structure.
2Ease of operation
If a hard reserved partition is designated for online file system checks, then writes can occur during the check process, but a large amount of storage space is reserved and not available during normal use
Solution Approach 1:
The soft-reserved zone is designed to be dynamically adjustable rather than fixed. Its size can be expanded or contracted based on the actual needs of the file system check process and available system resources, allowing the system to adapt storage allocation in real-time rather than being constrained by a static hard reserved partition.
Solution Approach 2:
The system changes the operational state of the soft-reserved zone based on whether a file system check is in progress. During normal operation, the zone remains soft-reserved and available for allocation; during a check, it becomes actively used for temporary storage. This parameter change allows the same space to serve different functions at different times.
3Productivity
If storage space is allocated from the non-reserved zone during normal operation, then storage utilization is optimized, but new writes may conflict with changes made to data or metadata during an online file system check
Solution Approach 1:
The patent extracts the potential conflict area by designating the soft-reserved zone as a separate buffer area specifically for use during file system checks. Normal writes continue to use the non-reserved zone as before, but when a check is initiated, the soft-reserved zone is activated as a isolated workspace, removing the possibility of conflicts between concurrent writes and check operations.
Data Source
AI summary
Storage space may be allocated from a non-reserved zone of a file system when the file system is not undergoing an online file system check. When the file system is undergoing an online file system check, storage space is allocated from a soft-reserved zone.


