CN109358813B - Capacity expansion method and device for distributed storage system - Google Patents

Capacity expansion method and device for distributed storage system Download PDF

Info

Publication number
CN109358813B
CN109358813B CN201811178471.6A CN201811178471A CN109358813B CN 109358813 B CN109358813 B CN 109358813B CN 201811178471 A CN201811178471 A CN 201811178471A CN 109358813 B CN109358813 B CN 109358813B
Authority
CN
China
Prior art keywords
capacity expansion
target node
target
node
storage system
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
CN201811178471.6A
Other languages
Chinese (zh)
Other versions
CN109358813A (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 CN201811178471.6A priority Critical patent/CN109358813B/en
Publication of CN109358813A publication Critical patent/CN109358813A/en
Application granted granted Critical
Publication of CN109358813B publication Critical patent/CN109358813B/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/062Securing storage systems
    • G06F3/0623Securing storage systems in relation to content
    • 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/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

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

The embodiment of the application provides a capacity expansion method and a capacity expansion device for a distributed storage system, wherein the method comprises the following steps: responding to capacity expansion configuration operation triggered by a user, and acquiring capacity expansion configuration information; determining a target node identifier to be added according to the capacity expansion configuration information, and generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information; and sending the capacity expansion instruction to the target node, so that the target node executes capacity expansion operation according to the capacity expansion instruction. Therefore, in the application, when the capacity expansion operation is executed, a user does not need to manually write a capacity expansion instruction, and does not need to execute the corresponding capacity expansion operation, and the user can only execute the capacity expansion configuration operation, so that the target node can be triggered to automatically execute the capacity expansion operation, and the problems that extra performance consumption is brought to the distributed storage system due to operation omission or error of operators, and even data risk is brought to the distributed storage system are solved.

Description

Capacity expansion method and device for distributed storage system
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for expanding a capacity of a distributed storage system.
Background
In the era of internet big data, mass data appears, the mass data needs to occupy an overlarge storage space, and a distributed storage system is produced at the same time. Along with the development of services, the data volume of customer services increases exponentially, so as to adapt to the increase of the data volume, the phenomenon of the constraint of the original data storage space is inevitably caused, most customers can select to perform capacity expansion by taking nodes as units, and the capacity expansion operation needs a series of operations for the whole distributed storage system to enable the distributed storage system after capacity expansion to normally operate.
When the capacity expansion operation is executed at present, an operator needs to manually write a corresponding capacity expansion instruction and execute the corresponding capacity expansion operation to realize the capacity expansion. It can be understood that operation omission or error is inevitably caused in the operation process of the operator, and the situation may bring extra performance consumption to the distributed storage and even bring data risk to the distributed storage system.
Disclosure of Invention
The technical problem to be solved by the application is how to avoid the problems that extra performance consumption is brought to a distributed storage system and even data risk is brought to the distributed storage system due to operation omission or error of an operator, and a capacity expansion method and a capacity expansion device of the distributed storage system are provided.
In a first aspect, an embodiment of the present application provides a capacity expansion method for a distributed storage system, including:
responding to capacity expansion configuration operation triggered by a user, and acquiring capacity expansion configuration information;
determining a target node identifier to be added according to the capacity expansion configuration information, and generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information;
and sending the capacity expansion instruction to the target node, so that the target node executes capacity expansion operation according to the capacity expansion instruction.
Optionally, the capacity expansion configuration information includes an identifier of the target node and an identifier of a target disk to be added corresponding to the target node;
correspondingly, the capacity expansion instruction corresponding to the target node carries the identification of the target disk to be added corresponding to the target node.
Optionally, the target node identifier and the identifier of the target disk to be added corresponding to the target node are pre-allocated.
Optionally, the target node includes a plurality of nodes;
generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information, and sending the capacity expansion instruction to the target node, so that the target node performs a capacity expansion operation according to the capacity expansion instruction includes:
respectively generating capacity expansion instructions corresponding to the nodes; and respectively sending corresponding capacity expansion instructions to the nodes, so that the nodes respectively execute capacity expansion operation according to the corresponding capacity expansion instructions.
Optionally, the capacity expansion operation includes any one or a combination of the following:
detecting whether the target disk is inserted correctly, detecting whether the target disk is qualified, formatting the target disk into a file system format meeting the requirements of a distributed storage system, adding the formatted target disk into a virtual resource pool of the distributed storage system, and setting the weight of the target disk.
In a second aspect, an embodiment of the present application provides a capacity expansion device for a distributed storage system, including:
the acquisition unit is used for responding to capacity expansion configuration operation triggered by a user and acquiring capacity expansion configuration information;
a determining unit, configured to determine a target node identifier to be added according to the capacity expansion configuration information, and generate a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information;
and the sending unit is used for sending the capacity expansion instruction to the target node so that the target node executes capacity expansion operation according to the capacity expansion instruction.
Optionally, the capacity expansion configuration information includes an identifier of the target node and an identifier of a target disk to be added corresponding to the target node;
correspondingly, the capacity expansion instruction corresponding to the target node carries the identification of the target disk to be added corresponding to the target node.
Optionally, the target node identifier and the identifier of the target disk to be added corresponding to the target node are pre-allocated.
Optionally, the target node includes a plurality of nodes;
generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information, and sending the capacity expansion instruction to the target node, so that the target node performs a capacity expansion operation according to the capacity expansion instruction includes:
respectively generating capacity expansion instructions corresponding to the nodes; and respectively sending corresponding capacity expansion instructions to the nodes, so that the nodes respectively execute capacity expansion operation according to the corresponding capacity expansion instructions.
Optionally, the capacity expansion operation includes any one or a combination of the following:
detecting whether the target disk is inserted correctly, detecting whether the target disk is qualified, formatting the target disk into a file system format meeting the requirements of a distributed storage system, adding the formatted target disk into a virtual resource pool of the distributed storage system, and setting the weight of the target disk.
Compared with the prior art, the embodiment of the application has the following advantages:
the embodiment of the application provides a capacity expansion method and a capacity expansion device for a distributed storage system, wherein the method comprises the following steps: responding to capacity expansion configuration operation triggered by a user, and acquiring capacity expansion configuration information; determining a target node identifier to be added according to the capacity expansion configuration information, and generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information; and sending the capacity expansion instruction to the target node, so that the target node executes capacity expansion operation according to the capacity expansion instruction. Therefore, in the application, when the capacity expansion operation is executed, a user does not need to manually write a capacity expansion instruction, and does not need to execute the corresponding capacity expansion operation, and the user can only execute the capacity expansion configuration operation, so that the target node can be triggered to automatically execute the capacity expansion operation, and the problems that extra performance consumption is brought to the distributed storage system due to operation omission or error of operators, and even data risk is brought to the distributed storage system are solved.
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 described below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart illustrating a capacity expansion method of a distributed storage system according to an embodiment of the present application;
fig. 2 is a schematic diagram of an exemplary scenario provided by an embodiment of the present application;
fig. 3 is a schematic structural diagram of a capacity expansion device of a distributed storage system according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, 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 only a part of the embodiments of the present application, and not all of the 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.
The inventor of the present application finds, through research, that in the prior art, when performing a capacity expansion operation, an operator needs to manually write a corresponding capacity expansion instruction, and perform the corresponding capacity expansion operation to implement the capacity expansion. It can be understood that operation omission or error is inevitably caused in the operation process of the operator, and the situation may bring extra performance consumption to the distributed storage and even bring data risk to the distributed storage system.
In order to solve the foregoing problems, an embodiment of the present application provides a capacity expansion method and apparatus for a distributed storage system, where the method includes: responding to capacity expansion configuration operation triggered by a user, and acquiring capacity expansion configuration information; determining a target node identifier to be added according to the capacity expansion configuration information, and generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information; and sending the capacity expansion instruction to the target node, so that the target node executes capacity expansion operation according to the capacity expansion instruction. Therefore, in the application, when the capacity expansion operation is executed, a user does not need to manually write a capacity expansion instruction, and does not need to execute the corresponding capacity expansion operation, and the user can only execute the capacity expansion configuration operation, so that the target node can be triggered to automatically execute the capacity expansion operation, and the problems that extra performance consumption is brought to the distributed storage system due to operation omission or error of operators, and even data risk is brought to the distributed storage system are solved.
Various non-limiting embodiments of the present application are described in detail below with reference to the accompanying drawings.
Exemplary method
Referring to fig. 1, this figure is a schematic flowchart of a capacity expansion method of a distributed storage system according to an embodiment of the present application.
In this embodiment, the method may be implemented, for example, by the following steps S101-S103.
And S101, responding to the capacity expansion configuration operation triggered by the user to acquire capacity expansion configuration information.
It should be noted that, in the embodiment of the present application, the user triggers the capacity expansion configuration operation, for example, the user inputs corresponding capacity expansion configuration information on a capacity expansion configuration operation interface.
The embodiment of the present application does not specifically limit the capacity expansion configuration information, and as an example, the capacity expansion configuration information may include, for example, an identifier of a target node to be added and an identifier of a target disk to be added corresponding to the target node.
It should be noted that the target node identifier mentioned herein is used to uniquely identify the target node, and a node has a node identifier. And the identification of the target disk to be added corresponding to the target node is used for uniquely identifying the target disk in the target node, and one disk has one disk identification.
In order to facilitate management of a target node and a disk corresponding to the target node, in a possible implementation manner of the embodiment of the present application, corresponding identifiers may be pre-allocated to the target node and the disk corresponding to the target node in advance, in other words, in the embodiment of the present application, the identifier of the target node and the identifier of the target disk to be added corresponding to the target node are pre-allocated.
In this embodiment, the target node may be a node originally included in the distributed storage system, or may be a node not originally included in the distributed storage system. When the target node is an originally included node in the distributed storage system, the target disk may be, for example, an originally non-inserted disk in the target node. When the target node is a node that is not originally included in the distributed system, the target disk may be one or more disks that may be inserted into the target node.
In this embodiment of the present application, the target node may include only one node, or may include a plurality of nodes, and this embodiment of the present application is not specifically limited.
And S102, determining the identification of the target node to be increased according to the capacity expansion configuration information, and generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information.
In this embodiment of the present application, after obtaining the capacity expansion configuration information, the capacity expansion configuration information may be analyzed to obtain an identifier of the target node to be added, and then the capacity expansion instruction corresponding to the target node is generated by combining the identifier of the target node and the identifier of the target disk to be added corresponding to the target node.
The embodiment of the present application does not specifically limit the specific format of the capacity expansion instruction, and the specific format of the capacity expansion instruction may be determined according to an actual situation.
S103, sending the capacity expansion instruction to the target node, so that the target node executes capacity expansion operation according to the capacity expansion instruction.
S102, after generating a capacity expansion instruction corresponding to the target node, the capacity expansion instruction may be sent to the target node, and after receiving the capacity expansion instruction, the target node may analyze the capacity expansion instruction, determine an identifier of a corresponding target disk, and further perform a corresponding capacity expansion operation.
It should be noted that, the embodiment of the present application is not specifically limited to the capacity expansion operation, and as an example, the capacity expansion operation may include any one or a combination of the following:
detecting whether the target disk is inserted correctly, detecting whether the target disk is qualified, formatting the target disk into a file system format meeting the requirements of a distributed storage system, adding the formatted target disk into a virtual resource pool of the distributed storage system, and setting the weight of the target disk.
If the target disk is inserted incorrectly, for example, into an incorrect card slot, unnecessary data migration in the distributed storage system may result. Therefore, detecting whether the target disk is inserted correctly can avoid disk insertion errors, thereby avoiding unnecessary data migration.
If the target disk is not qualified, the distributed storage system may not work normally, and data loss may result. Therefore, whether the target disk is qualified or not can be detected, so that data loss caused by disqualification of the target disk can be avoided.
The distributed storage system has certain format requirements on the disk, so that the target disk can be formatted into a file system format meeting the requirements of the distributed storage system.
The distributed storage system is provided with a corresponding virtual resource pool, and the disk can be used as a storage of the distributed storage system after being added into the virtual resource pool after being formatted.
The weight of the target disk may identify, to a certain extent, a possibility that the target disk is accessed, and the weight of the target disk is not specifically defined in the embodiment of the present application, and the weight of the target disk may be determined according to the capacity of the target disk, for example.
It should be noted that, in the embodiment of the present application, when the execution of the capacity expansion operation is completed and no abnormality occurs, the capacity expansion is successful, otherwise, the capacity expansion fails.
As can be seen from the above description, the capacity expansion method for a distributed storage system provided in the embodiment of the present application includes: responding to capacity expansion configuration operation triggered by a user, and acquiring capacity expansion configuration information; determining a target node identifier to be added according to the capacity expansion configuration information, and generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information; and sending the capacity expansion instruction to the target node, so that the target node executes capacity expansion operation according to the capacity expansion instruction. Therefore, in the application, when the capacity expansion operation is executed, a user does not need to manually write a capacity expansion instruction, and does not need to execute the corresponding capacity expansion operation, and the user can only execute the capacity expansion configuration operation, so that the target node can be triggered to automatically execute the capacity expansion operation, and the problems that extra performance consumption is brought to the distributed storage system due to operation omission or error of operators, and even data risk is brought to the distributed storage system are solved.
As before, the target node may include one or more nodes, and if the target node includes a plurality of nodes, "generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information, and sending the capacity expansion instruction to the target node, so that the target node performs a capacity expansion operation according to the capacity expansion instruction includes" in concrete implementation, generating a capacity expansion instruction corresponding to each node respectively, and sending a corresponding capacity expansion instruction to each node respectively, so that each node performs a capacity expansion operation according to a corresponding capacity expansion instruction respectively. For example, as may be understood in conjunction with FIG. 2, the target nodes include node 201, node 202, and node 203.
A capacity expansion instruction corresponding to the node 201 (capacity expansion instruction 1 in fig. 2), a capacity expansion instruction corresponding to the node 202 (capacity expansion instruction 2 in fig. 2), and a capacity expansion instruction corresponding to the node 203 (capacity expansion instruction 3 in fig. 2) may be sent to the node 201. Therefore, the nodes 201, 202 and 203 execute corresponding capacity expansion operations in parallel, that is, a plurality of nodes can execute corresponding capacity expansion operations at the same time, and capacity expansion efficiency is improved.
It should be noted that fig. 2 illustrates 3 nodes as an example, which is only shown for convenience of understanding, and does not limit the embodiments of the present application.
Exemplary device
Referring to fig. 3, a schematic structural diagram of a capacity expansion device of a distributed storage system in an embodiment of the present application is shown. The apparatus 300 may specifically include, for example: an acquisition unit 310, a determination unit 320 and a transmission unit 330.
An obtaining unit 310, configured to obtain capacity expansion configuration information in response to a capacity expansion configuration operation triggered by a user;
a determining unit 320, configured to determine, according to the capacity expansion configuration information, a target node identifier to be added, and generate, according to the capacity expansion configuration information, a capacity expansion instruction corresponding to the target node;
a sending unit 330, configured to send the capacity expansion instruction to the target node, so that the target node performs a capacity expansion operation according to the capacity expansion instruction.
Optionally, the capacity expansion configuration information includes an identifier of the target node and an identifier of a target disk to be added corresponding to the target node;
correspondingly, the capacity expansion instruction corresponding to the target node carries the identification of the target disk to be added corresponding to the target node.
Optionally, the target node identifier and the identifier of the target disk to be added corresponding to the target node are pre-allocated.
Optionally, the target node includes a plurality of nodes;
generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information, and sending the capacity expansion instruction to the target node, so that the target node performs a capacity expansion operation according to the capacity expansion instruction includes:
respectively generating capacity expansion instructions corresponding to the nodes; and respectively sending corresponding capacity expansion instructions to the nodes, so that the nodes respectively execute capacity expansion operation according to the corresponding capacity expansion instructions.
Optionally, the capacity expansion operation includes any one or a combination of the following:
detecting whether the target disk is inserted correctly, detecting whether the target disk is qualified, formatting the target disk into a file system format meeting the requirements of a distributed storage system, adding the formatted target disk into a virtual resource pool of the distributed storage system, and setting the weight of the target disk.
It should be noted that the specific implementation of each unit of the apparatus 300 and the above method for expanding the capacity of the distributed storage system all have the same concept, and therefore, for the specific implementation of each unit of the apparatus 300, reference may be made to the description part of the method for expanding the capacity of the distributed storage system, and details are not described here.
As can be seen from the above description, in the capacity expansion device of the distributed storage system provided in the embodiment of the present application, when the capacity expansion operation is performed, a user does not need to manually write a capacity expansion instruction, and also does not need to perform a corresponding capacity expansion operation, and the user can only perform the capacity expansion configuration operation, that is, the target node can be triggered to automatically perform the capacity expansion operation, so that the problem that additional performance consumption is brought to the distributed storage system due to operation omission or error of an operator, and even data risk is brought to the distributed storage system is avoided.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the attached claims
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. A capacity expansion method of a distributed storage system is characterized by comprising the following steps:
responding to capacity expansion configuration operation triggered by a user, and acquiring capacity expansion configuration information;
determining a target node identifier to be added according to the capacity expansion configuration information, and generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information;
sending the capacity expansion instruction to the target node, so that the target node executes capacity expansion operation according to the capacity expansion instruction;
the capacity expansion configuration information comprises an identifier of the target node and an identifier of a target disk to be added corresponding to the target node; correspondingly, the capacity expansion instruction corresponding to the target node carries the identification of the target disk to be added corresponding to the target node;
the target node is a node originally included in the distributed storage system or a node not originally included in the distributed storage system; and when the target node is a node which is not contained in the distributed system originally, the target disk is one or more disks inserted into the target node.
2. The method of claim 1, wherein the target node identifier and the identifier of the target disk to be added corresponding to the target node are pre-assigned.
3. The method of claim 1, wherein the target node comprises a plurality of nodes;
generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information, and sending the capacity expansion instruction to the target node, so that the target node performs a capacity expansion operation according to the capacity expansion instruction includes:
respectively generating capacity expansion instructions corresponding to the nodes; and respectively sending corresponding capacity expansion instructions to the nodes, so that the nodes respectively execute capacity expansion operation according to the corresponding capacity expansion instructions.
4. The method according to any one of claims 1 to 3, wherein the capacity expansion operation comprises any one or a combination of the following:
detecting whether the target disk is inserted correctly, detecting whether the target disk is qualified, formatting the target disk into a file system format meeting the requirements of a distributed storage system, adding the formatted target disk into a virtual resource pool of the distributed storage system, and setting the weight of the target disk.
5. The capacity expansion device of a distributed storage system, comprising:
the acquisition unit is used for responding to capacity expansion configuration operation triggered by a user and acquiring capacity expansion configuration information;
a determining unit, configured to determine a target node identifier to be added according to the capacity expansion configuration information, and generate a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information;
a sending unit, configured to send the capacity expansion instruction to the target node, so that the target node performs a capacity expansion operation according to the capacity expansion instruction;
the capacity expansion configuration information comprises an identifier of the target node and an identifier of a target disk to be added corresponding to the target node; correspondingly, the capacity expansion instruction corresponding to the target node carries the identification of the target disk to be added corresponding to the target node;
the target node is a node originally included in the distributed storage system or a node not originally included in the distributed storage system; and when the target node is a node which is not contained in the distributed system originally, the target disk is one or more disks inserted into the target node.
6. The apparatus of claim 5, wherein the target node identifier and the identifier of the target disk to be added corresponding to the target node are pre-assigned.
7. The apparatus of claim 5, wherein the target node comprises a plurality of nodes;
generating a capacity expansion instruction corresponding to the target node according to the capacity expansion configuration information, and sending the capacity expansion instruction to the target node, so that the target node performs a capacity expansion operation according to the capacity expansion instruction includes:
respectively generating capacity expansion instructions corresponding to the nodes; and respectively sending corresponding capacity expansion instructions to the nodes, so that the nodes respectively execute capacity expansion operation according to the corresponding capacity expansion instructions.
8. The apparatus of any one of claims 5 to 7, wherein the capacity expansion operation comprises any one or a combination of:
detecting whether the target disk is inserted correctly, detecting whether the target disk is qualified, formatting the target disk into a file system format meeting the requirements of a distributed storage system, adding the formatted target disk into a virtual resource pool of the distributed storage system, and setting the weight of the target disk.
CN201811178471.6A 2018-10-10 2018-10-10 Capacity expansion method and device for distributed storage system Active CN109358813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811178471.6A CN109358813B (en) 2018-10-10 2018-10-10 Capacity expansion method and device for distributed storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811178471.6A CN109358813B (en) 2018-10-10 2018-10-10 Capacity expansion method and device for distributed storage system

Publications (2)

Publication Number Publication Date
CN109358813A CN109358813A (en) 2019-02-19
CN109358813B true CN109358813B (en) 2022-03-04

Family

ID=65349025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811178471.6A Active CN109358813B (en) 2018-10-10 2018-10-10 Capacity expansion method and device for distributed storage system

Country Status (1)

Country Link
CN (1) CN109358813B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116192880A (en) * 2020-06-12 2023-05-30 华为技术有限公司 Ethernet storage system and information notification method and related device thereof
CN112445802A (en) * 2020-12-03 2021-03-05 中国建设银行股份有限公司 Method and device for expanding database, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559054A (en) * 2013-10-30 2014-02-05 华为终端有限公司 Implementing and deleting method and device for intelligent terminal multi-operation system
WO2016180055A1 (en) * 2015-05-12 2016-11-17 中兴通讯股份有限公司 Method, device and system for storing and reading data
CN106909321A (en) * 2017-02-24 2017-06-30 郑州云海信息技术有限公司 A kind of control method and device based on storage system
CN108572795A (en) * 2017-12-21 2018-09-25 北京金山云网络技术有限公司 Based on expansion method, device, equipment and the storage medium for building Storage Virtualization

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9009405B2 (en) * 2012-04-30 2015-04-14 Lsi Corporation Methods and systems for instantaneous online capacity expansion
CN103106246B (en) * 2012-12-31 2016-08-17 中国科学院深圳先进技术研究院 The management method of the memory space of a kind of distributed file system and system
CN106873902B (en) * 2015-12-11 2020-04-28 杭州华为数字技术有限公司 File storage system, data scheduling method and data node
CN107562382B (en) * 2017-08-30 2020-05-29 郑州云海信息技术有限公司 Automatic dynamic disk capacity expansion method and system based on timed task

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559054A (en) * 2013-10-30 2014-02-05 华为终端有限公司 Implementing and deleting method and device for intelligent terminal multi-operation system
WO2016180055A1 (en) * 2015-05-12 2016-11-17 中兴通讯股份有限公司 Method, device and system for storing and reading data
CN106909321A (en) * 2017-02-24 2017-06-30 郑州云海信息技术有限公司 A kind of control method and device based on storage system
CN108572795A (en) * 2017-12-21 2018-09-25 北京金山云网络技术有限公司 Based on expansion method, device, equipment and the storage medium for building Storage Virtualization

Also Published As

Publication number Publication date
CN109358813A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN108681565B (en) Block chain data parallel processing method, device, equipment and storage medium
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
CN110865867A (en) Method, device and system for discovering application topological relation
CN107066519B (en) Task detection method and device
CN112241360B (en) Test case generation method, device, equipment and storage medium
US10282120B2 (en) Method, apparatus and system for inserting disk
CN110286997B (en) Multi-container application creation method, device, computer equipment and storage medium
CN110908865A (en) Memory leakage monitoring method and device and electronic equipment
CN109358813B (en) Capacity expansion method and device for distributed storage system
CN113434464A (en) Distributed log processing system and method
CN111061432A (en) Service migration method, device, equipment and readable storage medium
CN109491889A (en) The method and apparatus of automatic test in NFV
CN112540808B (en) Recording method of program behavior hierarchy call relationship and related equipment
JP6615071B2 (en) Computer system and test case management method
CN113360396A (en) Software performance pressure measurement method and device
EP4006725A1 (en) Virtual machine migration processing and strategy generation method, apparatus and device, and storage medium
KR101794016B1 (en) Method of analyzing application objects based on distributed computing, method of providing item executable by computer, server performing the same and storage media storing the same
CN111200654A (en) Client request error processing method and device
CN110764949A (en) Hard disk replacement method, hard disk replacement device, and storage medium
CN115617668A (en) Compatibility testing method, device and equipment
CN115237889A (en) Database switching method and device, storage medium and computer equipment
CN111400245B (en) Art resource migration method and device
CN109740027B (en) Data exchange method, device, server and storage medium
WO2016120989A1 (en) Management computer and rule test method
CN110908886A (en) Data sending method and device, electronic equipment and storage medium

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