CN110908609B - Method, system and equipment for processing disk and readable storage medium - Google Patents

Method, system and equipment for processing disk and readable storage medium Download PDF

Info

Publication number
CN110908609B
CN110908609B CN201911157820.0A CN201911157820A CN110908609B CN 110908609 B CN110908609 B CN 110908609B CN 201911157820 A CN201911157820 A CN 201911157820A CN 110908609 B CN110908609 B CN 110908609B
Authority
CN
China
Prior art keywords
disk
virtual machine
processing
target
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911157820.0A
Other languages
Chinese (zh)
Other versions
CN110908609A (en
Inventor
李宏伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911157820.0A priority Critical patent/CN110908609B/en
Publication of CN110908609A publication Critical patent/CN110908609A/en
Priority to PCT/CN2020/104004 priority patent/WO2021098267A1/en
Application granted granted Critical
Publication of CN110908609B publication Critical patent/CN110908609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0635Configuration or reconfiguration of storage systems by changing the path, e.g. traffic rerouting, path reconfiguration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Abstract

The application discloses a method for processing a disk, which comprises the following steps: acquiring a disk processing command; when the disk processing command is a disk adding command, processing the target disk into a bare device disk; dividing a storage space of a bare device disk into a hidden space and a data space; and mapping the data space into an image device, and generating an access path for the image device so that the virtual machine accesses the image device through the access path. According to the method and the device, the bare device disk can store the configuration data of the virtual machine, so that the high availability of the virtual machine can be supported; meanwhile, the data space is mapped into the mapping equipment, and the access path is generated for the mapping equipment, so that the virtual machine can access the mapping equipment through the access path, the IO performance of the virtual machine is improved, and the reliability of the system is improved. The application also provides a system and equipment for processing the disk and a readable storage medium, and the system and the equipment have the beneficial effects.

Description

Method, system and equipment for processing disk and readable storage medium
Technical Field
The present application relates to the field of disk processing, and in particular, to a method, a system, a device, and a readable storage medium for disk processing.
Background
In the field of server virtualization, in order to ensure that enterprise-level services run continuously, a High Available (HA) virtual machine can quickly switch the virtual machine to other hosts and keep the services running continuously after a host where the user virtual machine is located fails, so that the interruption time is reduced to the minimum. The common scheme of the virtual machine HA is to store the virtual disks of the virtual machines in a shared storage pool in a file form, and when one host in a cluster fails, virtualization management software quickly selects one host in the cluster corresponding to the shared storage pool lock and pulls up all the virtual machines with problems on the host. One premise here is that the shared storage pool serves as a container that can store the disk image file and configuration file of the virtual machine, so that all hosts can share access and start the virtual machine.
The shared storage pool bottom layer is generally realized by adopting a cluster file system or NFS, and has the advantages that heterogeneous virtual machine data can be stored, the shared storage pool is simple and easy to use, and the consistency of virtual machine files can be ensured at the file system level; however, the disadvantage is also obvious, because the file system abstraction layer is introduced, the IO of the virtual machine can fall into the bottom block device only through the shared file system, which inevitably brings performance loss, and is unacceptable for the application scenario with large IO load.
In order to improve the IO performance of the virtual machine, it is a common practice in the industry to remove a file system layer and directly access the bare device disk by the virtual machine. However, the bare device disk cannot store metadata such as a virtual machine configuration file, and cannot support the virtual machine HA, which improves performance but reduces system reliability.
Therefore, how to improve the IO performance of the virtual machine and improve the reliability of the system is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a disk processing method, a system, equipment and a readable storage medium, which are used for improving the IO performance of a virtual machine and simultaneously improving the reliability of the system.
In order to solve the above technical problem, the present application provides a method for processing a disk, including:
acquiring a disk processing command;
when the disk processing command is a disk adding command, processing the target disk into a bare equipment disk;
dividing the storage space of the bare device disk into a hidden space and a data space; the hidden space is used for storing virtual machine configuration data;
and mapping the data space into image equipment, and generating an access path for the image equipment so that the virtual machine accesses the image equipment through the access path.
Optionally, the method further includes:
when a fault host is detected to exist, pulling up all fault virtual machines on the fault host;
determining a target hidden space corresponding to the fault virtual machine, and acquiring virtual machine configuration data in the target hidden space;
and selecting one host from the cluster corresponding to the shared storage pool as a target host, and starting a corresponding fault virtual machine on the target host according to the virtual machine configuration data.
Optionally, the processing the target disk as a bare device disk includes:
and formatting the target disk, and adding a preset magic number to the head of the target disk to obtain the bare disk device.
Optionally, when the disk processing command is a disk delete command, the method further includes:
determining a disk to be deleted according to the disk deletion command;
and deleting the mapping equipment and the access path corresponding to the disk to be deleted.
The present application further provides a system for disk processing, the system comprising:
the acquisition module is used for acquiring a disk processing command;
the processing module is used for processing the target disk into a bare equipment disk when the disk processing command is a disk adding command;
the dividing module is used for dividing the storage space of the bare equipment disk into a hidden space and a data space; the hidden space is used for storing virtual machine configuration data;
and the mapping module is used for mapping the data space into an image device and generating an access path for the image device so that the virtual machine can access the image device through the access path.
Optionally, the method further includes:
the system comprises a pull-up module, a storage module and a control module, wherein the pull-up module is used for pulling up all fault virtual machines on a fault host when the fault host is detected to exist;
the first determining module is used for determining a target hidden space corresponding to the fault virtual machine and acquiring virtual machine configuration data in the target hidden space;
and the starting module is used for selecting one host from the cluster corresponding to the shared storage pool as a target host and starting a corresponding fault virtual machine on the target host according to the virtual machine configuration data.
Optionally, the processing module includes:
and the processing submodule is used for formatting the target disk and adding a preset magic number to the head of the target disk to obtain the bare disk device.
Optionally, the method further includes:
the second determining module is used for determining a disk to be deleted according to the disk deleting command when the disk processing command is the disk deleting command;
and the deleting module is used for deleting the mapping equipment and the access path corresponding to the disk to be deleted.
The present application also provides a disk processing apparatus, including:
a memory for storing a computer program;
a processor for implementing the steps of the method of disk processing according to any one of the above when executing the computer program.
The present application also provides a readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of disk processing according to any of the above.
The method for processing the disk comprises the following steps: acquiring a disk processing command; when the disk processing command is a disk adding command, processing the target disk into a bare device disk; dividing a storage space of a bare device disk into a hidden space and a data space; the hidden space is used for storing virtual machine configuration data; and mapping the data space into an image device, and generating an access path for the image device so that the virtual machine accesses the image device through the access path.
According to the technical scheme provided by the application, the target disk is processed into the bare device disk, and then the storage space of the bare device disk is divided into the hidden space and the data space, so that the bare device disk can store the configuration data of the virtual machine, and the high availability of the virtual machine can be supported; meanwhile, the data space is mapped into the mapping equipment, and the access path is generated for the mapping equipment, so that the virtual machine can access the mapping equipment through the access path, the IO performance of the virtual machine is improved, and the reliability of the system is improved. The present application also provides a system, a device and a readable storage medium for disk processing, which have the above beneficial effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing a disk according to an embodiment of the present application;
FIG. 2 is a flow chart of another method for processing a disk according to an embodiment of the present application;
FIG. 3 is a block diagram of a disk processing system according to an embodiment of the present application;
FIG. 4 is a block diagram of another disk processing system provided in an embodiment of the present application;
fig. 5 is a structural diagram of a magnetic disk processing device according to an embodiment of the present application.
Detailed Description
The core of the application is to provide a method, a system, a device and a readable storage medium for disk processing, which are used for improving the IO performance of a virtual machine and simultaneously improving the reliability of the system.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for processing a disk according to an embodiment of the present application.
The method specifically comprises the following steps:
s101: acquiring a disk processing command;
based on the prior art, in order to improve the IO performance of the virtual machine, the file system layer is removed, and the virtual machine directly accesses the bare device disk. However, the bare device disk cannot store metadata such as a virtual machine configuration file and cannot support the virtual machine HA, so that the performance is improved, but the reliability of the system is reduced; therefore, the present application provides a method for processing a magnetic disk, which is used for solving the above problems;
optionally, the disk processing command mentioned herein may include, but is not limited to, a disk add command, a disk delete command, or a disk change command, where:
when the disk processing command is a disk deleting command, determining a disk to be deleted according to the disk deleting command, and deleting mapping equipment and an access path corresponding to the disk to be deleted so that a user can remove a fault hard disk or an old hard disk in the system;
when the disk processing command is a disk change command, the disk to be changed may also be determined according to the disk change command, and the disk to be changed is changed to an image device, specifically, the following steps may be performed:
the storage space of the disk to be changed is divided into a hidden space and a data space, the data space is mapped into an image device, and an access path is generated for the image device, so that the virtual machine can access the image device through the access path, and a user can obtain the image device which can be accessed by the virtual machine by directly processing an original disk instead of adding a new disk in a system.
In a specific embodiment, the acquisition of the disk processing command can be realized by adding a new udev rule on the host, so that the host can sense the addition, change and deletion events of the disk device, and call a rawdisk _ manager tool to process the original disk.
S102: when the disk processing command is a disk adding command, processing the target disk into a bare device disk;
the target disk mentioned here is a disk newly added to the system, and the target disk needs to be processed into an image device that can be accessed by the virtual machine;
a bare device (raw device), also called a bare partition (original partition), is a special block device file that is not read by Unix through a file system, and is read and written by an application program without buffering of the file system, and is a device that is not directly managed by the operating system. This device has one layer of operating system less and has higher I/O efficiency, and the disk read by Unix through file system;
optionally, as mentioned herein, the processing of the target disk as a bare device disk may specifically be:
and formatting the target disk, and adding a preset magic number to the head of the target disk to obtain the bare disk device.
S103: dividing a storage space of a bare device disk into a hidden space and a data space;
the hidden space mentioned here is used for storing virtual machine configuration data, and based on the fact that the existing bare device disk cannot store metadata such as a virtual machine configuration file, the storage space of the bare device disk is creatively divided into the hidden space and a data space, and the virtual machine configuration data is stored in the hidden space, so that the bare device disk supports high availability of a virtual machine.
S104: and mapping the data space into an image device, and generating an access path for the image device so that the virtual machine accesses the image device through the access path.
In one embodiment, a bare device disk may be divided into two parts, a front 32M space and a remainder space; and generating/dev/disk/by-id/rawdisk- < scsi id > paths for the rest space to be accessed by the virtual machine, wherein the front 32M space is a hidden space and is used for reserving metadata such as virtual machine configuration data.
Based on the technical scheme, according to the disk processing method provided by the application, the target disk is processed into the bare device disk, and then the storage space of the bare device disk is divided into the hidden space and the data space, so that the bare device disk can store the configuration data of the virtual machine, and the high availability of the virtual machine can be supported; meanwhile, the data space is mapped into the mapping equipment, and the access path is generated for the mapping equipment, so that the virtual machine can access the mapping equipment through the access path, the IO performance of the virtual machine is improved, and the reliability of the system is improved.
Based on the above embodiments, the present application further provides another method for processing a disk, which is described below with reference to fig. 2.
Referring to fig. 2, fig. 2 is a flowchart of another disk processing method according to an embodiment of the present application.
The method specifically comprises the following steps:
s201: when a fault host is detected to exist, pulling up all fault virtual machines on the fault host;
s202: determining a target hidden space corresponding to a fault virtual machine, and acquiring virtual machine configuration data in the target hidden space;
s203: and selecting one host from the cluster corresponding to the shared storage pool as a target host, and starting a corresponding fault virtual machine on the target host according to the virtual machine configuration data.
Based on the technical scheme, when a fault host is detected, the embodiment of the application pulls up all fault virtual machines on the fault host, then determines a target hidden space corresponding to the fault virtual machine, acquires virtual machine configuration data in the target hidden space, finally selects one host from a cluster corresponding to a shared storage pool as the target host, and starts the corresponding fault virtual machine on the target host according to the virtual machine configuration data, so that high availability of the virtual machine is realized.
Referring to fig. 3, fig. 3 is a block diagram of a system for disk processing according to an embodiment of the present application.
The system may include:
an obtaining module 100, configured to obtain a disk processing command;
the processing module 200 is configured to process the target disk as a bare device disk when the disk processing command is a disk add command;
a dividing module 300, configured to divide a storage space of a bare device disk into a hidden space and a data space; the hidden space is used for storing virtual machine configuration data;
the mapping module 400 is configured to map the data space into an image device, and generate an access path for the image device, so that the virtual machine accesses the image device through the access path.
Referring to fig. 4, fig. 4 is a block diagram of another disk processing system according to an embodiment of the present application.
The system may further comprise:
the pull-up module is used for pulling up all the fault virtual machines on the fault host when the fault host is detected to exist;
the first determining module is used for determining a target hidden space corresponding to the fault virtual machine and acquiring virtual machine configuration data in the target hidden space;
and the starting module is used for selecting one host from the cluster corresponding to the shared storage pool as a target host and starting a corresponding fault virtual machine on the target host according to the virtual machine configuration data.
The processing module 200 may include:
and the processing submodule is used for formatting the target disk and adding a preset magic number to the head of the target disk to obtain the bare disk device.
The system may further comprise:
the second determining module is used for determining the disk to be deleted according to the disk deleting command;
and the deleting module is used for deleting the mapping equipment and the access path corresponding to the disk to be deleted.
The various components of the above system may be practically applied in the following embodiments:
the acquisition module acquires a disk processing command; when the disk processing command is a disk adding command, the processing module processes the target disk into a bare device disk; the dividing module divides the storage space of the bare equipment disk into a hidden space and a data space; the mapping module maps the data space into the image equipment and generates an access path for the image equipment, so that the virtual machine accesses the image equipment through the access path.
When a fault host is detected, the pull-up module pulls up all fault virtual machines on the fault host; the method comprises the steps that a first determining module determines a target hidden space corresponding to a fault virtual machine and obtains virtual machine configuration data in the target hidden space; the starting module selects one host from the cluster corresponding to the shared storage pool as a target host, and starts a corresponding fault virtual machine on the target host according to the virtual machine configuration data.
When the disk processing command is a disk deleting command, the second determining module determines a disk to be deleted according to the disk deleting command; and the deleting module deletes the mapping equipment and the access path corresponding to the disk to be deleted.
Referring to fig. 5, fig. 5 is a structural diagram of a disk processing device according to an embodiment of the present application.
The disk processing device 500 may vary widely in configuration or performance and may include one or more processors (CPUs) 522 (e.g., one or more processors) and memory 532, one or more storage media 530 (e.g., one or more mass storage devices) storing applications 542 or data 544. Memory 532 and storage media 530 may be, among other things, transient storage or persistent storage. The program stored on the storage medium 530 may include one or more modules (not shown), each of which may include a sequence of instruction operations for the device. Further, the processor 522 may be configured to communicate with the storage medium 530, and execute a series of instruction operations in the storage medium 530 on the disk processing device 500.
The disk processing device 500 may also include one or more power supplies 525, one or more wired or wireless network interfaces 550, one or more input-output interfaces 558, and/or one or more operating systems 541, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The steps in the method of disk processing described in fig. 1 to 2 above are implemented by the disk processing device based on the structure shown in fig. 5.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, device and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a function calling device, or a network device) to execute all or part of the steps of the method of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The method, system, device and readable storage medium for processing a disk provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. A method of disk processing, comprising:
acquiring a disk processing command;
when the disk processing command is a disk adding command, processing the target disk into a bare equipment disk;
dividing the storage space of the bare device disk into a hidden space and a data space; the hidden space is used for storing virtual machine configuration data;
mapping the data space into image equipment, and generating an access path for the image equipment so that a virtual machine accesses the image equipment through the access path;
when a fault host is detected to exist, pulling up all fault virtual machines on the fault host;
determining a target hidden space corresponding to the fault virtual machine, and acquiring virtual machine configuration data in the target hidden space;
and selecting one host from the cluster corresponding to the shared storage pool as a target host, and starting a corresponding fault virtual machine on the target host according to the virtual machine configuration data.
2. The method of claim 1, wherein processing the target disk as a bare device disk comprises:
and formatting the target disk, and adding a preset magic number to the head of the target disk to obtain the bare device disk.
3. The method according to claim 1, wherein when the disk processing command is a disk delete command, further comprising:
determining a disk to be deleted according to the disk deletion command;
and deleting the mapping equipment and the access path corresponding to the disk to be deleted.
4. A disk processing system, comprising:
the acquisition module is used for acquiring a disk processing command;
the processing module is used for processing the target disk into a bare equipment disk when the disk processing command is a disk adding command;
the dividing module is used for dividing the storage space of the bare equipment disk into a hidden space and a data space; the hidden space is used for storing virtual machine configuration data;
the mapping module is used for mapping the data space into image equipment and generating an access path for the image equipment so that the virtual machine can access the image equipment through the access path;
the system comprises a pull-up module, a storage module and a control module, wherein the pull-up module is used for pulling up all fault virtual machines on a fault host when the fault host is detected to exist;
the first determining module is used for determining a target hidden space corresponding to the fault virtual machine and acquiring virtual machine configuration data in the target hidden space;
and the starting module is used for selecting one host from the cluster corresponding to the shared storage pool as a target host and starting a corresponding fault virtual machine on the target host according to the virtual machine configuration data.
5. The system of claim 4, wherein the processing module comprises:
and the processing submodule is used for formatting the target disk and adding a preset magic number to the head of the target disk to obtain the bare device disk.
6. The system of claim 4, further comprising:
the second determining module is used for determining a disk to be deleted according to the disk deleting command when the disk processing command is the disk deleting command;
and the deleting module is used for deleting the mapping equipment and the access path corresponding to the disk to be deleted.
7. A disk processing apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of disk processing according to any of claims 1 to 3 when executing the computer program.
8. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when being executed by a processor, realizes the steps of the method of disk processing according to any one of claims 1 to 3.
CN201911157820.0A 2019-11-22 2019-11-22 Method, system and equipment for processing disk and readable storage medium Active CN110908609B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911157820.0A CN110908609B (en) 2019-11-22 2019-11-22 Method, system and equipment for processing disk and readable storage medium
PCT/CN2020/104004 WO2021098267A1 (en) 2019-11-22 2020-07-24 Magnetic disk processing method, system, and device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911157820.0A CN110908609B (en) 2019-11-22 2019-11-22 Method, system and equipment for processing disk and readable storage medium

Publications (2)

Publication Number Publication Date
CN110908609A CN110908609A (en) 2020-03-24
CN110908609B true CN110908609B (en) 2021-09-17

Family

ID=69818936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911157820.0A Active CN110908609B (en) 2019-11-22 2019-11-22 Method, system and equipment for processing disk and readable storage medium

Country Status (2)

Country Link
CN (1) CN110908609B (en)
WO (1) WO2021098267A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110908609B (en) * 2019-11-22 2021-09-17 苏州浪潮智能科技有限公司 Method, system and equipment for processing disk and readable storage medium
CN111988169B (en) * 2020-07-29 2022-12-06 苏州浪潮智能科技有限公司 Method, system, equipment and medium for cleaning and repairing abnormal disk of cloud platform
CN111984375B (en) * 2020-08-28 2022-05-24 苏州浪潮智能科技有限公司 Disaster recovery method, system, device and medium for bare device
CN112214165A (en) * 2020-09-11 2021-01-12 济南浪潮数据技术有限公司 Storage method and system of virtualization platform and related components
CN113467887B (en) * 2021-06-25 2024-02-23 深信服科技股份有限公司 Fault repairing method, host machine and readable storage medium
CN113740781B (en) * 2021-08-30 2022-05-24 广州文远知行科技有限公司 Interface looseness detection method and device, vehicle and storage medium
CN114443223B (en) * 2022-01-18 2023-11-17 苏州浪潮智能科技有限公司 Bare computer disk management method, device and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077199A (en) * 2014-06-06 2014-10-01 中标软件有限公司 Shared disk based high availability cluster isolation method and system
CN104461687A (en) * 2014-11-20 2015-03-25 华为技术有限公司 Virtual machine configuration information storage method and device
CN106060013A (en) * 2016-05-18 2016-10-26 浪潮电子信息产业股份有限公司 Virtualization method based on iSCSI
CN106095524A (en) * 2011-12-22 2016-11-09 中国移动通信集团公司 A kind of virtual machine deployment method, system and device
CN106484328A (en) * 2016-09-23 2017-03-08 浪潮电子信息产业股份有限公司 A kind of virtual machine based on kvm system operation uses multipath block device method
CN107193491A (en) * 2017-05-17 2017-09-22 郑州云海信息技术有限公司 A kind of virtual environment disk operating method and apparatus
CN108363608A (en) * 2018-02-06 2018-08-03 广东睿江云计算股份有限公司 A kind of virtual machine configuration method and its system
WO2019152748A1 (en) * 2018-02-02 2019-08-08 Nutanix, Inc. System and method for preserving entity identifiers for virtual machines
CN110198329A (en) * 2018-03-26 2019-09-03 腾讯科技(深圳)有限公司 Database deployment method, device and system, electronic equipment and readable medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012162158A1 (en) * 2011-05-20 2012-11-29 Citrix Systems, Inc. Shell integration on a mobile device for an application executing remotely on a server
CN205809860U (en) * 2016-06-15 2016-12-14 成都云祺科技有限公司 A kind of virtual machine backup and recovery system
CN108038384B (en) * 2017-11-29 2021-06-18 北京京航计算通讯研究所 High-safety cluster shared storage virtualization method
US10761934B2 (en) * 2018-05-16 2020-09-01 Hewlett Packard Enterprise Development Lp Reconstruction of data of virtual machines
CN110908609B (en) * 2019-11-22 2021-09-17 苏州浪潮智能科技有限公司 Method, system and equipment for processing disk and readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095524A (en) * 2011-12-22 2016-11-09 中国移动通信集团公司 A kind of virtual machine deployment method, system and device
CN104077199A (en) * 2014-06-06 2014-10-01 中标软件有限公司 Shared disk based high availability cluster isolation method and system
CN104461687A (en) * 2014-11-20 2015-03-25 华为技术有限公司 Virtual machine configuration information storage method and device
CN106060013A (en) * 2016-05-18 2016-10-26 浪潮电子信息产业股份有限公司 Virtualization method based on iSCSI
CN106484328A (en) * 2016-09-23 2017-03-08 浪潮电子信息产业股份有限公司 A kind of virtual machine based on kvm system operation uses multipath block device method
CN107193491A (en) * 2017-05-17 2017-09-22 郑州云海信息技术有限公司 A kind of virtual environment disk operating method and apparatus
WO2019152748A1 (en) * 2018-02-02 2019-08-08 Nutanix, Inc. System and method for preserving entity identifiers for virtual machines
CN108363608A (en) * 2018-02-06 2018-08-03 广东睿江云计算股份有限公司 A kind of virtual machine configuration method and its system
CN110198329A (en) * 2018-03-26 2019-09-03 腾讯科技(深圳)有限公司 Database deployment method, device and system, electronic equipment and readable medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"基于KVM的虚拟化研究及应用";崔泽永 等;《计算机技术与发展》;20110610;第21卷(第6期);第3.2.1节 *

Also Published As

Publication number Publication date
CN110908609A (en) 2020-03-24
WO2021098267A1 (en) 2021-05-27

Similar Documents

Publication Publication Date Title
CN110908609B (en) Method, system and equipment for processing disk and readable storage medium
US10613786B2 (en) Heterogeneous disk to apply service level agreement levels
RU2658886C1 (en) Files management method, distributed storage system and control unit
US10025806B2 (en) Fast file clone using copy-on-write B-tree
US10037340B2 (en) Tiered distributed storage policies
EP3502877B1 (en) Data loading method and apparatus for virtual machines
US11693789B2 (en) System and method for mapping objects to regions
US11119942B2 (en) Facilitating access to memory locality domain information
US11132290B2 (en) Locality domain-based memory pools for virtualized computing environment
US11010355B2 (en) Layer-based file access method and apparatus of virtualization instance
US9612766B2 (en) Systems and methods for shadow migration progress estimation
JP2018518733A (en) File operation method and apparatus
CN107423301B (en) Data processing method, related equipment and storage system
US10162834B2 (en) Fine-grained metadata management in a distributed file system
EP3304294A1 (en) Method and system for allocating resources for virtual hosts
US11199990B2 (en) Data reduction reporting in storage systems
US10691590B2 (en) Affinity domain-based garbage collection
US20220058044A1 (en) Computer system and management method
CN107329798B (en) Data replication method and device and virtualization system
CN107832097B (en) Data loading method and device
US20170357657A1 (en) Systems and methods for implementing dynamic file systems
CN115562871A (en) Memory allocation management method and device
US20180095690A1 (en) Creating virtual storage volumes in storage systems
JP6720357B2 (en) Change network accessible data volume
CN107145305B (en) Use method of distributed physical disk and virtual machine

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant