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.

CN104731915BActive Publication Date: 2019-03-22EISOO SOFTWARE
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2019-03-22

Smart Images

  • Figure 1
    Figure 1
Patent Text Reader

Abstract

The invention relates to a magnetic disk device mapping method in a distributed memory system. According to the magnetic disk device mapping method, a virtual device unique identification file is set, and the mapping relationship between virtual device unique identifications and virtual devices in the distributed memory system is achieved. The magnetic disk device mapping method comprises the specific steps that firstly, a newly arranged magnetic disk device is added to the distributed memory system according to the virtual device unique identification file; secondly, according to the virtual device unique identification file, the magnetic disk device added to the distributed memory system is mounted after a computer is started; thirdly, a faulty magnetic disk device is replaced according to the virtual device unique identification file. Compared with the prior art, the magnetic disk device mapping method has the advantages of being simple, easy to implement, flexible, reliable and the like.
Need to check novelty before this filing date? Find Prior Art

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...