Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for identifying disk exception and distributed storage system

A distributed storage and disk technology, applied in static memory, instruments, etc., can solve problems such as high operating costs and IO performance fluctuations, and achieve the effect of ensuring stable operation and avoiding IO performance fluctuations

Active Publication Date: 2020-11-27
FENGHUO COMM SCI & TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the above defects or improvement needs of the prior art, the present invention provides a method, device and distributed storage system for identifying disk abnormalities. Technical issues with IO performance fluctuations caused by exit

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for identifying disk exception and distributed storage system
  • Method and device for identifying disk exception and distributed storage system
  • Method and device for identifying disk exception and distributed storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other.

[0050] see figure 1 , figure 1 It is a schematic structural diagram of a distributed storage system provided by an embodiment of the present invention. The distributed storage system 100 includes at least one application host 10. The application host 10 may specifically be a server, and the distributed storage system 100 may form multiple servers into a super large server cluster. The server ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention belongs to the technical field of distributed storage, and relates to a method and device for identifying disk exception and a distributed storage system. The method comprises the following steps: deploying a mapping relationship between an OSD and a disk in a kernel module through virtual block equipment; when the OSD reads and writes a disk, submitting a received IO request to thevirtual block device, and after the virtual block device sends the IO request, intercepting and capturing the IO request by the kernel module; the kernel module submits the IO request to a disk corresponding to the OSD through an SCSI layer according to the mapping relationship; when the IO request fails to respond to the disk, the kernel module acquires an SCSI error code and analyzes the SCSI error code; and identifying the abnormality of the disk according to the analysis result of the SCSI error code. According to the method and device for identifying the disk exception and the distributedstorage system provided by the invention, the SCSI error code of the disk can be obtained, and the exception of the disk is identified according to the SCSI error code, so that the stable operation of the system is ensured to the greatest extent.

Description

technical field [0001] The invention belongs to the technical field of distributed data storage, and more specifically relates to a method, device and distributed storage system for identifying disk abnormalities. Background technique [0002] Disks are the final storage place for data in a distributed storage system. Disk failures are very common in storage systems. How to ensure that system services are not affected after a single or a small number of disks fail in a cluster is a problem that storage software must solve. [0003] In a distributed storage system, when the disk is abnormal, it will cause the IO request processing to fail, and the OSD (Object Storage Device, object storage device) will receive a response of the IO request failure, which is generally a simple response to some error codes retries, and most errors will trigger OSD to exit abnormally. [0004] In the process of implementing the embodiment of the present invention, the inventor found that the rel...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G11C29/44
CPCG11C29/44
Inventor 李海静马平川张书东蓝海李庆林
Owner FENGHUO COMM SCI & TECH CO LTD