CN109062515A - A kind of disk management method, system and associated component - Google Patents

A kind of disk management method, system and associated component Download PDF

Info

Publication number
CN109062515A
CN109062515A CN201810961090.9A CN201810961090A CN109062515A CN 109062515 A CN109062515 A CN 109062515A CN 201810961090 A CN201810961090 A CN 201810961090A CN 109062515 A CN109062515 A CN 109062515A
Authority
CN
China
Prior art keywords
disk
configuration file
magnetic disc
disks
disk management
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.)
Granted
Application number
CN201810961090.9A
Other languages
Chinese (zh)
Other versions
CN109062515B (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810961090.9A priority Critical patent/CN109062515B/en
Publication of CN109062515A publication Critical patent/CN109062515A/en
Application granted granted Critical
Publication of CN109062515B publication Critical patent/CN109062515B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses a kind of disk management method, the disk management method includes according to the number of disks of the disk of the disk management instructions query operating system carry, and determining the magnetic disc ID of each disk when receiving disk management instruction;Corresponding configuration file is generated according to the number of disks and the magnetic disc ID;Disk management operation is executed to the corresponding disk of each magnetic disc ID according to the configuration file.This method, which can be realized, carries out automatic management for the disk of carry under operating system, evades due to manual operation bring maloperation risk.Disclosed herein as well is a kind of disk management system, a kind of computer readable storage medium and a kind of electronic equipment, have the above beneficial effect.

Description

A kind of disk management method, system and associated component
Technical field
The present invention relates to data storage management technical field, in particular to a kind of disk management method, system, a kind of calculating Machine readable storage medium storing program for executing and a kind of electronic equipment.
Background technique
Currently, make rapid progress using cloud computing, big data, artificial intelligence as the generation information technology of representative, passed through to various countries Ji social development, national management, governance, people's lives bring important and far-reaching influence.Nowadays, China is also with all strength Digitlization China Reconstructs is promoted, currently, digital economy development in China's has entered fast traffic lane, and digital economy total amount is more than 22,000,000,000,000 Member accounts for the 30% of GDP specific gravity.And data center is as the most important thing that carrier is even more in entire ecological chain.
It is well known that one data center machine room of construction is not a simple thing, the construction of data center is one whole Body solution, the carelessness of any one details are likely to cause the generation of problem, and the problem of fall into minor details in, finally Cause construction delay.
In the prior art, the number of devices that Constructing data center is related to is numerous, and type is numerous and jumbled.The physical environment on basis is built If after the completion, being all the operation such as operating system, data disk for disposing each calculate node by artificial mode.But it is this The method of manual type deployment is a job dry as dust for staff, and repeated workload is quite big, and Fault can be brought with manual operation, to bring huge trouble to environmental construction.
Therefore, how to realize and automatic management is carried out for the disk of carry under operating system, evade due to manual operation Bring maloperation risk is a technical problem that technical personnel in the field need to solve at present.
Summary of the invention
The purpose of the application is to provide a kind of disk management method, system, a kind of computer readable storage medium and one kind Electronic equipment can be realized and carry out automatic management for the disk of carry under operating system, evades since manual operation is brought Maloperation risk.
In order to solve the above technical problems, the application provides a kind of disk management method, which includes:
When receiving disk management instruction, according to the magnetic of the disk of the disk management instructions query operating system carry Disk quantity, and determine the magnetic disc ID of each disk;
Corresponding configuration file is generated according to the number of disks and the magnetic disc ID;
Disk management operation is executed to the corresponding disk of each magnetic disc ID according to the configuration file.
Optionally, generating corresponding configuration file according to the number of disks and the magnetic disc ID includes:
Judge whether the disk management instruction is serial management instruction;
If so, generating corresponding first configuration file according to the number of disks and the magnetic disc ID;Wherein, described It include the configuration information of the corresponding disk of all magnetic disc IDs in one configuration file;
If it is not, then generating corresponding the second configuration file of preset quantity part according to the number of disks and the magnetic disc ID; Wherein, the quantity of second configuration file is equal with the number of disks, and each magnetic disc ID has one-to-one institute State the second configuration file.
Optionally, when disk management instruction is serial management instruction, according to the configuration file pair The corresponding disk of each magnetic disc ID executes disk management operation
Step 1: judge the disk with the presence or absence of operating system file;If it is not, then entering step two;
Step 2: removing original attribute of the disk and is converted the format of the disk according to the capacity of the disk To preset disc format;
Step 3: division operation and format manipulation are carried out to the disk and distribute drive for the disk;
Step 4: judge whether all disks are assigned the drive;If it is not, then entering step one.
Optionally, when disk management instruction is concurrent management instruction, according to the configuration file to each The corresponding disk of the magnetic disc ID executes disk management operation
Target disk is set by all disks there is no the operating system file;
Original attribute of parallel all target disks of removing, and according to the capacity of the target disk by the magnetic The format of disk is converted to default disc format;
The carry out division operation parallel to the target disk and format manipulation simultaneously distribute drive for the disk.
Optionally, the operating system is Windows operating system or (SuSE) Linux OS.
Optionally, it is operated executing disk management to the corresponding disk of each magnetic disc ID according to the configuration file Afterwards, further includes:
Test is written and read to the disk, to detect the readwrite performance of the disk.
Present invention also provides a kind of disk management system, which includes:
Disc information determining module, for when receive disk management instruction when, according to the disk management instructions query The number of disks of the disk of operating system carry, and determine the magnetic disc ID of each disk;
Configuration file generation module, for generating corresponding configuration file according to the number of disks and the magnetic disc ID;
Disk management module, for executing disk pipe to the corresponding disk of each magnetic disc ID according to the configuration file Reason operation.
Optionally, the configuration file generation module includes:
Judging unit, for judging whether the disk management instruction is serial management instruction;
First configuration file generation unit is used for when disk management instruction is serial management instruction, according to The number of disks and the magnetic disc ID generate corresponding first configuration file;It wherein, include institute in first configuration file There is the configuration information of the corresponding disk of the magnetic disc ID;
Second configuration file generation unit is used for when disk management instruction is concurrent management instruction, then root Corresponding the second configuration file of preset quantity part is generated according to the number of disks and the magnetic disc ID;Wherein, second configuration The quantity of file is equal with the number of disks, and each magnetic disc ID has one-to-one second configuration file.
Present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the computer Program realizes the step of above-mentioned disk management method executes when executing.
Present invention also provides a kind of electronic equipment, including memory and processor, calculating is stored in the memory Machine program, the processor realize the step that above-mentioned disk management method executes when calling the computer program in the memory Suddenly.
The present invention provides a kind of disk management methods, including when receiving disk management instruction, according to the disk The number of disks of the disk of instructions query operating system carry is managed, and determines the magnetic disc ID of each disk;According to described Number of disks and the magnetic disc ID generate corresponding configuration file;It is corresponding to each magnetic disc ID according to the configuration file Disk executes disk management operation.
The purpose of automatic management disk is to realize the management operation for carrying out multiple disks serial or parallel, operation phase Between without staff carry out manual operation.Therefore the application passes through according to the life of the number of disks and magnetic disc ID of carry under operating system At corresponding configuration file, automation determines the magnetic for needing to carry out disk management operation according to the magnetic disc ID in configuration file Disk is operated by the management that the information recorded in configuration file completes all disks.The application is realized for carry under operating system Disk carry out automatic management, evade due to manual operation bring maloperation risk.The application additionally provides one kind simultaneously Disk management system, a kind of computer readable storage medium and a kind of electronic equipment have above-mentioned beneficial effect, no longer superfluous herein It states.
Detailed description of the invention
In ord to more clearly illustrate embodiments of the present application, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, the drawings in the following description are only some examples of the present application, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of disk management method provided by the embodiment of the present application;
Fig. 2 is the flow chart of another kind disk management method provided by the embodiment of the present application;
Fig. 3 is a kind of structural schematic diagram of disk management system provided by the embodiment of the present application.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Below referring to Figure 1, Fig. 1 is a kind of flow chart of disk management method provided by the embodiment of the present application.
Specific steps may include:
S101: when receiving disk management instruction, according to the magnetic of the disk management instructions query operating system carry The number of disks of disk, and determine the magnetic disc ID of each disk;
Wherein, the method for the number of disks of the disk of inquiry operation system carry has very much, such as can receive magnetic When disk management instructs, deployment engineer is actively interactively inquired, receive and operating system carry is inputted by deployment engineer The operation of number of disks;Number of disks can also be determined by scanning device list.Under operating system can with the multiple disks of carry, After the quantity for obtaining disk, each magnetic of carry under operating system can also be determined by executing list of devices scan operation The magnetic disc ID of disk.
It should be noted that the operating system mentioned in the present embodiment may include several operation systems, such as Windows System or linux system etc. further may include personal Windows system, data center's Windows system and virtual Machine Windows operating system.Technical solution described in the present embodiment can be achieved in i.e. all Windows operating systems.
S102: corresponding configuration file is generated according to the number of disks and the magnetic disc ID;
It wherein, can be according to number of disks in configuration file in the case where obtaining operating system after the number of disks of carry The configuration information of respective numbers is generated, and records the magnetic disc ID of each disk and the corresponding relationship of corresponding configuration information, so as to The configuration information in configuration file is executed to each disk by corresponding operation according to magnetic disc ID in the next steps.
S103: disk management operation is executed to the corresponding disk of each magnetic disc ID according to the configuration file.
It wherein, can be according to the magnetic disc ID recorded in configuration file to being hung under operating system after having obtained configuration file The disk of load executes disk management operation.It should be noted that utilizing configuration when the disk of carry under operating system has multiple File, which carries out disk management operation to disk, can be serial execution, be also possible to parallel execution.
As a preferred embodiment, disk management operation may include online disk, disk initialization, disk point The operations such as area, disk formatting and distribution drive.Specifically, management operation can be online by disk and be initialized, The original attribute of disk is removed, disk is converted into MBR or GPT disk.According to disk size difference, different disk lattice are selected Formula.Subregion is carried out to disk, is formatted.Default form file system is NTFS, and engineer can specify other according to demand File system, such as FAT, FAT32.After the completion of formatting, drive can also be distributed automatically to disk.After distributing corresponding drive, Disk can be written and read as local disk
The purpose of automatic management disk is to realize the management operation for carrying out multiple disks serial or parallel, operation phase Between without staff carry out manual operation.Therefore the application passes through according to the life of the number of disks and magnetic disc ID of carry under operating system At corresponding configuration file, automation determines the magnetic for needing to carry out disk management operation according to the magnetic disc ID in configuration file Disk is operated by the management that the information recorded in configuration file completes all disks.The application is realized for carry under operating system Disk carry out automatic management, evade due to manual operation bring maloperation risk.
Fig. 2 is referred to below, and Fig. 2 is the flow chart of another kind disk management method provided by the embodiment of the present application;
Specific steps may include:
S201: when receiving disk management instruction, according to the magnetic of the disk management instructions query operating system carry The number of disks of disk, and determine the magnetic disc ID of each disk;
S202: judge whether the disk management instruction is serial management instruction;If so, into S203;If it is not, then into Enter S204;
Wherein, the instruction of the present embodiment default disk management only includes serial management instruction and concurrent management instructs two kinds.
S203: corresponding first configuration file is generated according to the number of disks and the magnetic disc ID;Wherein, described first It include the configuration information of the corresponding disk of all magnetic disc IDs in configuration file;
S204: corresponding the second configuration file of preset quantity part is generated according to the number of disks and the magnetic disc ID;Its In, the quantity of second configuration file is equal with the number of disks, and each magnetic disc ID has one-to-one described Second configuration file.
S205: disk is executed to the corresponding disk of each magnetic disc ID according to the first configuration file or the second configuration file Management operation.
Since S203 and S204 are the first configuration file and the second configuration file for serial and concurrent each self-generating, because " executing disk management operation to the corresponding disk of each magnetic disc ID according to the configuration file " on this in embodiment can To be changed to " execute disk management behaviour to the corresponding disk of each magnetic disc ID according to the first configuration file or the second configuration file Make ".
As a preferred embodiment, executing disk according to the first configuration file or the second configuration file in this step When management operation, it can first detect whether the disk is equipped with operating system file, operating system file can then jump if it exists The disk management operation to this disk is crossed, to prevent from damaging operating system.
Specifically, when the disk management instruction be the serial management instruct when, S205 can specifically include with Lower operation:
Step 1: judge the disk with the presence or absence of operating system file;If it is not, then entering step two;
Step 2: removing original attribute of the disk and is converted the format of the disk according to the capacity of the disk To preset disc format;
Step 3: division operation and format manipulation are carried out to the disk and distribute drive for the disk;
Step 4: judge whether all disks are assigned the drive;If it is not, then entering step one.
Specifically, when the disk management instruction be the serial management instruct when, S205 can specifically include with Lower operation:
Step 1: target disk is set by all disks there is no the operating system file;
Step 2: original attribute of parallel all target disks of removing, and according to the capacity of the target disk The format of the disk is converted into default disc format;
Step 3: the carry out division operation parallel to the target disk and format manipulation and be the disk distribution plate Symbol.
After having executed above-mentioned all steps, test can also be written and read to the disk, to detect the magnetic The readwrite performance of disk.
All embodiments of foregoing description can be realized by Python+Power shell, but Python+Power Shell is a kind of realization rate of embodiment described herein, and the present invention is not limited by programming language, that is, passed through The method of the invention that other programming languages are realized equally is weighed by the invention patent and is protected.
The method for the automatized magnetic disk management that the present embodiment is realized, is greatly saved online manual operation disk, subregion, lattice A series of cumbersome operations such as formula, not only save manpower, also greatly improve work efficiency, and have evaded to a certain extent accidentally Bring risk is operated, especially in the construction of large-scale data center, Institute of Automation bring convenience is aobvious with high efficiency And it is clear to.The present embodiment only needs deployment engineer to inform the number of disks under implementation environment, and other work are all by this implementation The technical solution of example description is completed, and manual intervention is not necessarily to, and liberates manpower, improves working efficiency.
Fig. 3 is referred to, Fig. 3 is a kind of structural schematic diagram of disk management system provided by the embodiment of the present application;
The system may include:
Disc information determining module 100, for being looked into according to disk management instruction when receiving disk management instruction The number of disks of the disk of operating system carry is ask, and determines the magnetic disc ID of each disk;
Configuration file generation module 200, for generating corresponding configuration text according to the number of disks and the magnetic disc ID Part;
Disk management module 300, for executing magnetic to the corresponding disk of each magnetic disc ID according to the configuration file Disk management operation.
Optionally, the configuration file generation module 200 includes:
Judging unit, for judging whether the disk management instruction is serial management instruction;
First configuration file generation unit is used for when disk management instruction is serial management instruction, according to The number of disks and the magnetic disc ID generate corresponding first configuration file;It wherein, include institute in first configuration file There is the configuration information of the corresponding disk of the magnetic disc ID;
Second configuration file generation unit is used for when disk management instruction is concurrent management instruction, then root Corresponding the second configuration file of preset quantity part is generated according to the number of disks and the magnetic disc ID;Wherein, second configuration The quantity of file is equal with the number of disks, and each magnetic disc ID has one-to-one second configuration file.
Further, when disk management instruction is serial management instruction, disk management module includes:
Disk judging unit, for judging the disk with the presence or absence of operating system file;If it is not, then starting format conversion The corresponding workflow of unit;
Serial form converting unit, for remove the disk original attribute and will be described according to the capacity of the disk The format of disk is converted to default disc format;
Serial form unit, for carrying out division operation and format manipulation to the disk and being distributed for the disk Drive;
Drive judging unit, for judging whether all disks are assigned the drive;If it is not, then starting disk The corresponding workflow of judging unit.
Further, when disk management instruction is concurrent management instruction, disk management module 300 includes:
Marking unit, for setting target disk for all disks there is no the operating system file;
Parallel form converting unit, for original attribute of parallel all target disks of removing, and according to described The format of the disk is converted to default disc format by the capacity of target disk;
Parallel form unit, for the parallel carry out division operation of the target disk and format manipulation and be institute State disk distribution drive.
Further, the operating system is Windows operating system or (SuSE) Linux OS.
Further, the disk management system further include:
Test module, for being written and read test to the disk, to detect the readwrite performance of the disk.
Since the embodiment of components of system as directed is corresponded to each other with the embodiment of method part, the embodiment of components of system as directed is asked Referring to the description of the embodiment of method part, wouldn't repeat here.
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program It is performed and step provided by above-described embodiment may be implemented.The storage medium may include: USB flash disk, mobile hard disk, read-only deposit Reservoir (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or The various media that can store program code such as CD.
Present invention also provides a kind of electronic equipment, may include memory and processor, have meter in the memory Calculation machine program may be implemented provided by above-described embodiment when the processor calls the computer program in the memory Step.Certain electronic equipment can also include various network interfaces, the components such as power supply.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For system disclosed in embodiment Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration ?.It should be pointed out that for those skilled in the art, under the premise of not departing from the application principle, also Can to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection scope of the claim of this application It is interior.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.Under the situation not limited more, the element limited by sentence "including a ..." is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (10)

1. a kind of disk management method characterized by comprising
When receiving disk management instruction, according to the disk number of the disk of the disk management instructions query operating system carry Amount, and determine the magnetic disc ID of each disk;
Corresponding configuration file is generated according to the number of disks and the magnetic disc ID;
Disk management operation is executed to the corresponding disk of each magnetic disc ID according to the configuration file.
2. disk management method according to claim 1, which is characterized in that raw according to the number of disks and the magnetic disc ID Include: at corresponding configuration file
Judge whether the disk management instruction is serial management instruction;
If so, generating corresponding first configuration file according to the number of disks and the magnetic disc ID;Wherein, described first matches Set include in file the corresponding disk of all magnetic disc IDs configuration information;
If it is not, then generating corresponding the second configuration file of preset quantity part according to the number of disks and the magnetic disc ID;Wherein, The quantity of second configuration file is equal with the number of disks, and each magnetic disc ID has one-to-one described second Configuration file.
3. disk management method according to claim 2, which is characterized in that when disk management instruction is the string When row management instruction, executing disk management operation to the corresponding disk of each magnetic disc ID according to the configuration file includes:
Step 1: judge the disk with the presence or absence of operating system file;If it is not, then entering step two;
Step 2: removing original attribute of the disk and is converted to the format of the disk according to the capacity of the disk pre- If disc format;
Step 3: division operation and format manipulation are carried out to the disk and distribute drive for the disk;
Step 4: judge whether all disks are assigned the drive;If it is not, then entering step one.
4. disk management method according to claim 2, which is characterized in that when disk management instruction is collateral vessel When reason instruction, executing disk management operation to the corresponding disk of each magnetic disc ID according to the configuration file includes:
Target disk is set by all disks there is no the operating system file;
Original attribute of parallel all target disks of removing, and according to the capacity of the target disk by the disk Format is converted to default disc format;
The carry out division operation parallel to the target disk and format manipulation simultaneously distribute drive for the disk.
5. disk management method according to claim 1, which is characterized in that the operating system is Windows operating system Or (SuSE) Linux OS.
6. disk management method according to claim 1, which is characterized in that according to the configuration file to each magnetic The corresponding disk of disk ID executes after disk management operation, further includes:
Test is written and read to the disk, to detect the readwrite performance of the disk.
7. a kind of disk management system characterized by comprising
Disc information determining module, for being operated according to the disk management instructions query when receiving disk management instruction The number of disks of the disk of system carry, and determine the magnetic disc ID of each disk;
Configuration file generation module, for generating corresponding configuration file according to the number of disks and the magnetic disc ID;
Disk management module, for executing disk management behaviour to the corresponding disk of each magnetic disc ID according to the configuration file Make.
8. disk management system according to claim 7, which is characterized in that the configuration file generation module includes:
Judging unit, for judging whether the disk management instruction is serial management instruction;
First configuration file generation unit is used for when disk management instruction is serial management instruction, according to described Number of disks and the magnetic disc ID generate corresponding first configuration file;It wherein, include all institutes in first configuration file State the configuration information of the corresponding disk of magnetic disc ID;
Second configuration file generation unit is used for when disk management instruction is concurrent management instruction, then according to institute It states number of disks and the magnetic disc ID generates corresponding the second configuration file of preset quantity part;Wherein, second configuration file Quantity it is equal with the number of disks, each magnetic disc ID has one-to-one second configuration file.
9. a kind of electronic equipment characterized by comprising
Memory, for storing computer program;
Processor realizes such as disk management method as claimed in any one of claims 1 to 6 when for executing the computer program The step of.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program is realized when the computer program is executed by processor such as disk management method as claimed in any one of claims 1 to 6 Step.
CN201810961090.9A 2018-08-16 2018-08-16 Disk management method, system and related components Active CN109062515B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810961090.9A CN109062515B (en) 2018-08-16 2018-08-16 Disk management method, system and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810961090.9A CN109062515B (en) 2018-08-16 2018-08-16 Disk management method, system and related components

Publications (2)

Publication Number Publication Date
CN109062515A true CN109062515A (en) 2018-12-21
CN109062515B CN109062515B (en) 2021-10-15

Family

ID=64686784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810961090.9A Active CN109062515B (en) 2018-08-16 2018-08-16 Disk management method, system and related components

Country Status (1)

Country Link
CN (1) CN109062515B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918354A (en) * 2019-03-01 2019-06-21 浪潮商用机器有限公司 A kind of disk localization method, device, equipment and medium based on HDFS
CN111124743A (en) * 2019-12-20 2020-05-08 深圳市斯博科技有限公司 Disk enumeration method, device and computer readable storage medium based on DiskArbitration
CN113076064A (en) * 2021-04-01 2021-07-06 浪潮电子信息产业股份有限公司 Device for formatting server hard disk, server and server system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641517A (en) * 2004-01-09 2005-07-20 顺德市顺达电脑厂有限公司 Automatic formatting method for computer hard disk
CN1955913A (en) * 2005-10-20 2007-05-02 戴尔产品有限公司 Method for persistent mapping of disk drive identifiers to server connection slots
CN101751228A (en) * 2009-12-29 2010-06-23 成都市华为赛门铁克科技有限公司 Disk array implementing method, data read-write method and device
CN101815095A (en) * 2010-03-26 2010-08-25 山东高效能服务器和存储研究院 SAN stored resource unified management and distribution method
CN105893273A (en) * 2016-03-29 2016-08-24 广州市中海达测绘仪器有限公司 Method, system and device for achieving multiple partitions and multiple disk identifiers on basis of single disk
CN107526536A (en) * 2016-06-22 2017-12-29 伊姆西公司 For managing the method and system of storage system
US9933953B1 (en) * 2016-06-30 2018-04-03 EMC IP Holding Company LLC Managing copy sessions in a data storage system to control resource consumption

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1641517A (en) * 2004-01-09 2005-07-20 顺德市顺达电脑厂有限公司 Automatic formatting method for computer hard disk
CN1955913A (en) * 2005-10-20 2007-05-02 戴尔产品有限公司 Method for persistent mapping of disk drive identifiers to server connection slots
CN101751228A (en) * 2009-12-29 2010-06-23 成都市华为赛门铁克科技有限公司 Disk array implementing method, data read-write method and device
CN101815095A (en) * 2010-03-26 2010-08-25 山东高效能服务器和存储研究院 SAN stored resource unified management and distribution method
CN105893273A (en) * 2016-03-29 2016-08-24 广州市中海达测绘仪器有限公司 Method, system and device for achieving multiple partitions and multiple disk identifiers on basis of single disk
CN107526536A (en) * 2016-06-22 2017-12-29 伊姆西公司 For managing the method and system of storage system
US9933953B1 (en) * 2016-06-30 2018-04-03 EMC IP Holding Company LLC Managing copy sessions in a data storage system to control resource consumption

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918354A (en) * 2019-03-01 2019-06-21 浪潮商用机器有限公司 A kind of disk localization method, device, equipment and medium based on HDFS
CN109918354B (en) * 2019-03-01 2022-11-04 浪潮商用机器有限公司 HDFS-based disk positioning method, device, equipment and medium
CN111124743A (en) * 2019-12-20 2020-05-08 深圳市斯博科技有限公司 Disk enumeration method, device and computer readable storage medium based on DiskArbitration
CN111124743B (en) * 2019-12-20 2023-08-11 深圳万兴软件有限公司 Disk enumeration method, device and computer readable storage medium based on DiskArbitration
CN113076064A (en) * 2021-04-01 2021-07-06 浪潮电子信息产业股份有限公司 Device for formatting server hard disk, server and server system
CN113076064B (en) * 2021-04-01 2023-08-25 浪潮电子信息产业股份有限公司 Device for formatting server hard disk, server and server system

Also Published As

Publication number Publication date
CN109062515B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN109062515A (en) A kind of disk management method, system and associated component
CN102591789B (en) Storage space recovery method and storage space recovery device
CN103399781A (en) Cloud server and virtual machine management method thereof
CN103927261A (en) Efficient Allocation And Reclamation Method For Thin-provisioned Storage And System Thereof
CN104636084B (en) A kind of apparatus and method of the large data of electric power being carried out to distributed store
CN103365781A (en) Method and device for dynamically reconfiguring storage system
CN104714858A (en) Data backup method, data recovery method and device
CN102667703A (en) System and method for optimized reclamation processing in a virtual tape library system
CN110019138B (en) Automatic transfer table space migration method and system based on Zabbix
CN102968438B (en) History data store control system in comprehensive monitoring system
CN102413010B (en) Testing environment deployment method and device
KR101358037B1 (en) Record medium recorded in a structure of file format and directory for massive cfd(computational fuid dynamics) data visualization in parallel, and method for transforming structure of data file format thereof
CN110399171A (en) A kind of hard disk management method, system and associated component
CN113468111A (en) Log monitoring management system and method for container cloud
CN104040512A (en) Method and device for processing storage space and non-volatile computer readable storage medium
CN111857735A (en) Method and system for creating Crush based on hook deployment Ceph
CN104182436A (en) Method and device for cleaning databases
CN107798120B (en) Data conversion method and device
CN105391586A (en) Fault positioning analysis method and system
CN110032477A (en) A kind of method, system and associated component for restoring continuous data protection
CN110134646B (en) Knowledge platform service data storage and integration method and system
CN104484358A (en) Process template displaying method and system
CN110784347A (en) Node management method, system, equipment and storage medium for container cluster
CN105260266A (en) Snapshot volume writing method and dependent snapshot system
CN109254730A (en) A kind of batch realizes the method and device of automatized magnetic disk management under numerous linux systems

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