Automatic Mirror Relationship Detection in Storage Drives
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Manual configuration of mirror relationships between system drives in data storage systems is difficult and error-prone, especially when dealing with multiple primary and secondary drives, making it challenging to ensure correct failover and data redundancy.
Innovation Solution
A method and apparatus for detecting mirror relationships by writing a unique data pattern to primary system drives and inspecting secondary drives for copies of this pattern after synchronization, allowing for automatic configuration and detection of mirror relationships.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual configuration of mirror relationships is performed, then the file server can be licensed for correct SDs, but the process is difficult and error-prone when dealing with multiple primary and secondary drives
Solution Approach 1:
The system performs self-identification of mirror relationships by automatically writing unique data patterns to primary SDs and detecting them on secondary SDs. This eliminates the need for manual configuration, allowing the system to automatically determine which SDs are mirrored to each other and configure licensing accordingly.
Solution Approach 2:
The patent uses unique data patterns as identifiers analogous to color coding. Each primary SD receives a distinct data pattern that acts as a signature, making it easily identifiable on the secondary SD. This pattern-based identification system simplifies the detection and configuration process compared to manual methods.
2Measurement precision
If manual configuration is used to map twenty primary SDs to twenty secondary SDs, then mirror relationships can be established, but it is difficult to tell which secondary corresponds to which primary
Solution Approach 1:
The system writes a unique data pattern from each primary SD to its corresponding secondary SD through the mirror synchronization process. This creates a copy of the identifier that can be used to trace the mirror relationship, making it simple to determine which secondary SD corresponds to which primary SD without complex manual mapping.
Solution Approach 2:
The unique data patterns are written to primary SDs before the mirror synchronization occurs. This preliminary action ensures that when the secondary SDs are inspected, the patterns are already present and can be immediately used to identify mirror relationships without requiring complex analysis or manual configuration.
3Reliability
If automatic mirror detection is implemented, then configuration errors are reduced, but additional steps for writing and inspecting data patterns are required
Solution Approach 1:
The patent combines the mirror detection process with the existing mirror synchronization process. The unique data patterns are written during normal operation, and the inspection is performed as part of the setup or verification process. This merging eliminates the need for separate detection steps and integrates seamlessly with existing RAID operations.
Solution Approach 2:
The data patterns are written in advance during system initialization or setup, and the inspection can be performed subsequently. This preliminary action allows the automatic detection to be completed quickly without interrupting normal operations, as the patterns are already in place and ready for detection.
Data Source
AI summary
Mirror relationships between system drives may be detected and/or configured automatically by writing a predetermined data pattern to a predetermined location within a system drive and then checking one or more other system drives for a mirrored copy of the same data pattern. If the data pattern is found in another SD, then it can be assumed that there is a mirror relationship between the two SDs. Failure to find the data pattern in another SD, or finding the data pattern in multiple other SDs, may indicate an error condition. Once mirror relationships are discovered, the mirror relationships can be configured into the file server automatically so that the engineer does not have to manually configure the mirror relationships. The same mechanism can be used to check mirror relationships from time to time, for example, to detect possible problems with the RAID system.


