A disk device mapping method in a distributed storage system
A distributed storage and disk device technology, applied in the field of cloud storage, can solve the problems of disordered disk drive letters and disordered data location in a distributed storage system, and achieve the effect of not easy to make mistakes and easy maintenance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2019-03-22
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The invention relates to the technical field of cloud storage, in particular to a disk device mapping method in a distributed storage system. Background technique
[0002] Replica is a common concept in distributed storage systems: data of a certain size is stored according to a certain redundancy strategy to ensure the availability of the system in the event of a partial failure. For the number of redundant copies, a three-copy scheme is commonly used. Distributed storage systems generally have the function of automatically restoring copies. When a local storage device fails and goes offline, there are generally two troubleshooting solutions:
[0003] Solution 1. Temporarily isolate the faulty device, ignore the copy on the device, wait for the faulty device to be repaired or replaced, and then complete the original data on the device. This solution is generally used in scenarios where the fault can be resolved in a short time middle;
[0004] The ...
Examples
Embodiment Construction
[0030] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is carried out on the premise of the technical solution of the present invention, and detailed implementation and specific operation process are given, but the protection scope of the present invention is not limited to the following embodiments.
[0031] This embodiment provides a disk device mapping method in a distributed storage system. The method sets a virtual device unique identification file, and realizes the mapping relationship between a real disk and a virtual device in a distributed storage system through the virtual device unique identification. The device unique identification file is stored in the same location as the storage data in the real device, such as figure 1 shown, including:
[0032] A. Steps to add a new disk device to the distributed storage system according to the unique identification file of the vi...