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

Physical bare computer disk storage management method based on Go language

A disk storage and management method technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve problems such as low efficiency, misoperation by operators, etc., and achieve the effect of improving flexibility

Active Publication Date: 2021-08-27
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, at present, when configuring LVM through the command line, it is necessary to understand the various ways of using the LVM command line and the corresponding parameter restrictions, which may easily lead to misoperation by the operator, and the efficiency not tall

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
  • Physical bare computer disk storage management method based on Go language
  • Physical bare computer disk storage management method based on Go language
  • Physical bare computer disk storage management method based on Go language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Go language: Go (also known as Golang) is a statically strongly typed, compiled, concurrent, and garbage-collected programming language developed by Google.

[0028] Gin framework: Gin is a web framework written in Go language, which can support middleware and json very well.

[0029] LVM: LVM is the abbreviation of Logical Volume Manager (logical volume management), which is a mechanism for managing disk partitions in the Linux environment.

[0030] The physical storage medium (The physical media): refers to the storage device of the system: the hard disk, such as: / dev / hda, / dev / sda, etc., is the storage unit at the lowest level of the storage system.

[0031] Physical volume: A physical volume refers to a hard disk partition or a device (such as RAID) that logically has the same function as a disk partition. etc.), but contains management parameters related to LVM.

[0032] Volume group (volume group): LVM volume group is similar to a physical hard disk in a non-LV...

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 physical bare computer disk storage management method based on a Go language, and relates to the technical field of disk storage. A configuration file compiled through the Go language runs on a Linux physical machine platform, a gin framework is used for developing an API for managing disk storage, the API is exposed to the outside in a service mode, disk storage is further managed through management of an LVM, the size of the file system can be freely adjusted, the file system can conveniently cross different disks and partitions, and the file system can be conveniently stored in the Linux physical machine platform, so the flexibility of disk management is greatly improved.

Description

technical field [0001] The invention discloses a method and relates to the technical field of disk storage, in particular to a method for managing physical bare-metal disk storage based on Go language. Background technique [0002] In daily use, as time goes by, the amount of data is getting larger and larger, while the hard disk space of the physical machine is getting smaller and smaller. When expanding the capacity, it is necessary to mount a new hard disk for data migration, which will stop the foreground business. Therefore, it is necessary to adjust the size of the file system under the premise of zero downtime. The Logical Volume Manager (LVM, Logical Volume Manager) mechanism provided by Linux is an existing solution. LVM abstracts and encapsulates the underlying physical hard disk and presents it to the upper system in the form of a logical volume. The size of the logical volume can be dynamically adjusted without losing existing data. The newly added hard disk wi...

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): G06F3/06
CPCG06F3/0604G06F3/0644G06F3/0635
Inventor 胡天昊蔡卫卫谢涛涛张鲲鹏
Owner SHANDONG LANGCHAO YUNTOU 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