Dynamic Snapshot Mounting for NAS Memory and Latency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional NAS systems face memory constraints and performance degradation due to the large number of snapshots maintained, leading to high metadata requirements and locking latency issues as the number of snapshots and primary filesystems increases.
Innovation Solution
Implement a method to dynamically mount and unmount a subset of snapshots, maintaining separate databases for each primary filesystem to minimize memory usage and locking latency, while ensuring fast access and mounting of commonly-used snapshots.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If all snapshots are mounted on the NAS server, then user access to historical data is improved, but system memory consumption increases dramatically
Solution Approach 1:
The patent extracts only the most recently used or frequently accessed snapshots from the complete set of snapshots and mounts them in memory, while leaving less frequently accessed snapshots unmounted on storage. This selective extraction approach maintains fast access to commonly needed snapshots while avoiding the memory consumption of mounting all snapshots.
Solution Approach 2:
The patent implements dynamic mounting and unmounting of snapshots based on access patterns and system conditions. The system continuously monitors snapshot access frequency and dynamically adjusts which snapshots remain mounted in memory versus unmounted on storage, optimizing the balance between access speed and memory usage over time.
2Reliability
If the number of snapshots per primary filesystem is increased, then data backup coverage is improved, but filesystem database locking latency increases
Solution Approach 1:
The patent segments the filesystem database into multiple separate databases, with each database dedicated to storing metadata for a specific primary filesystem and its snapshots. This segmentation allows the system to maintain comprehensive snapshot records for improved backup coverage while reducing locking latency by isolating database operations to smaller, filesystem-specific segments rather than requiring locks on a single large global database.
Data Source
AI summary
Techniques are presented for keeping only the most commonly-accessed snapshots mounted at any given time, while providing for fast mounting of unmounted snapshots. Techniques are also provided for maintaining separate databases for the snapshots of each primary filesystem in order to minimize locking latency.


