Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Disk mounting method, device, equipment and storage medium

A mounting and disk technology, applied in the direction of input/output to record carrier, instrument, file access structure, etc., can solve problems affecting distributed storage systems, complex disk mounting operations, and disks cannot be mounted normally, and achieve operational simple effect

Active Publication Date: 2021-07-16
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Applying this method, after changing the disk or mounting the directory, you need to re-modify the uuid and the mount directory in the mount script, and you need to write the corresponding mount script for all disks. In addition, when a process is opening the file in the mount directory When the disk is unplugged, the disk cannot be mounted to the directory normally, which makes the disk mounting operation complicated and easily affects the normal external service provided by the distributed storage system.

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
  • Disk mounting method, device, equipment and storage medium
  • Disk mounting method, device, equipment and storage medium
  • Disk mounting method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] see figure 1 As shown, it is an implementation flowchart of a method for mounting a disk provided by an embodiment of the present invention, and the method may include the following steps:

[0047] S110: When it is recognized that the target disk is loaded, read the first feature code in the disk attribute of the target disk.

[0048] The disk mounting method provided by the embodiment of the present ...

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 discloses a method for mounting a disk. The method may include the following steps: when the target disk is identified to be loaded, read the first characteristic code in the disk attribute of the target disk; determine the first characteristic code and the rules of the device manager Whether the second characteristic code pre-configured in the file matches; if yes, based on the mounting path in the disk data of the target disk, the target disk is mounted to the final mounting directory corresponding to the mounting path. Applying the technical solution provided by the embodiment of the present invention can realize the automatic mounting of the disk, so that the disk can be correctly mounted and added to the distributed storage system, and the operation is simple, which can ensure that the distributed storage system can provide external services normally. The invention also discloses a disk mounting device, equipment and storage medium, which have corresponding technical effects.

Description

technical field [0001] The present invention relates to the field of computer application technology, in particular to a disk mounting method, device, equipment and storage medium. Background technique [0002] With the rapid development of computer technology, the application of distributed storage system is more and more extensive. The distributed storage system is composed of multiple storage servers, each storage server has dozens of disks, and each disk mounts a local file system as a data storage unit. In a distributed storage system, there are often failure operations such as machine shutdown and restart, disk replacement, etc. Therefore, automatic disk mounting becomes a necessary function for the distributed storage system to provide normal services. [0003] Currently, the systemd mount script is mainly used to automatically mount the disk. The script uses uuid (Universally Unique Identifier) ​​to mount the disk to the corresponding directory. [0004] Applying t...

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 Patents(China)
IPC IPC(8): G06F3/06G06F16/13
CPCG06F3/0604G06F3/0629G06F3/067G06F3/0689
Inventor 侯斌孔帅魏盟
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products