CN110647292A - Method and system for expanding storage capacity in server system - Google Patents
Method and system for expanding storage capacity in server system Download PDFInfo
- Publication number
- CN110647292A CN110647292A CN201910757269.7A CN201910757269A CN110647292A CN 110647292 A CN110647292 A CN 110647292A CN 201910757269 A CN201910757269 A CN 201910757269A CN 110647292 A CN110647292 A CN 110647292A
- Authority
- CN
- China
- Prior art keywords
- nvme hard
- hard disk
- data
- storage capacity
- pcie
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0625—Power saving in storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
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)
- Power Sources (AREA)
Abstract
The application discloses a method and a system for expanding storage capacity in a server system, wherein the method comprises the following steps: storing data to be stored into a first NVMe hard disk, and acquiring the current temporarily stored data capacity of the first NVMe hard disk; judging whether the data capacity is larger than or equal to a set storage capacity threshold value or not; if so, starting power supplies of a PCIe Switch matched with the first NVMe hard disk and a second NVMe hard disk; transmitting the data temporarily stored in the first NVMe hard disk to a second NVMe hard disk; and returning to the first step. The system comprises: the device comprises a plurality of first NVMe hard disks, a plurality of PCIe switches, a first NVMe hard disk data capacity acquisition module, a judgment module, a power supply starting module, a data transmission module and a plurality of second NVMe hard disks. One PCIe Switch is connected with one first NVMe hard disk through a PCIe link. The first NVMe hard disk is also connected with the CPU through a PCIe link. By the method and the device, the storage capacity of the server is expanded, and meanwhile, the power consumption of the server system can be greatly reduced, and energy conservation is facilitated.
Description
Technical Field
The present application relates to the field of server storage technologies, and in particular, to a method and a system for expanding storage capacity in a server system.
Background
In the technical field of server storage, currently, a main storage device is an NVMe (Non-Volatile Memory host controller interface specification) hard disk. NVMe hard disks are typically connected to a CPU in a server system via PCIe (peripheral component interconnect express) link. However, CPU PCIe ports in the server system are limited, and how to increase NVMe hard disks inside the system as much as possible in the limited CPU PCIe ports, thereby expanding the storage capacity of the entire server, is an important issue.
Referring to fig. 1, a schematic structural diagram of a current apparatus for expanding a storage capacity of a server may be shown, where PCIe SW in fig. 1 is PCIe Switch. As shown in fig. 1, the device mainly uses PCIe Switch (PCIe Switch) to extend PCIe ports, the CPU is connected to multiple PCIe switches, and each PCIe Switch can be connected to multiple NVMe hard disks, so that the storage capacity of the entire server can be extended.
However, in the current device for expanding the storage capacity of the server, since the PCIe Switch belongs to a high power consumption device, the application of multiple PCIe switches may greatly increase the power consumption of the whole system. And moreover, more PCIe ports are expanded through a plurality of PCIe switches, and the number of NVMe hard disks connected with the PCIe ports is also more, so that the power consumption of the whole system is further increased. Therefore, the current method for expanding the storage capacity of the server greatly increases the power consumption of the whole server system, which is not beneficial to energy saving.
Disclosure of Invention
The application provides a method and a system for expanding storage capacity in a server system, which aim to solve the problems that the method for expanding the storage capacity of the server in the prior art causes the power consumption of the server system to be too high and is not beneficial to energy conservation.
In order to solve the technical problem, the embodiment of the application discloses the following technical scheme:
a method of expanding storage capacity in a server system, the method comprising:
s1: storing data to be stored into first NVMe hard disks, wherein the first NVMe hard disks are used for temporarily storing the data to be stored, one PCIe Switch is connected with one first NVMe hard disk, and the first NVMe hard disks are respectively connected with a CPU and one PCIe Switch through PCIe links;
s2: acquiring the current temporarily stored data capacity of the first NVMe hard disk;
s3: judging whether the data capacity is larger than or equal to a set storage capacity threshold value or not;
s4: if so, starting power supplies of a PCIe Switch matched with the first NVMe hard disk and a second NVMe hard disk, wherein the second NVMe hard disk is an NVMe hard disk mounted under the PCIe Switch matched with the first NVMe hard disk and used for permanently storing the data to be stored;
s5: transmitting the data temporarily stored in the first NVMe hard disk to the second NVMe hard disk;
s6: return is made to step S1.
Optionally, the method for turning on the power supplies of the PCIe Switch and the second NVMe hard disk that are matched with the first NVMe hard disk specifically includes:
and starting power supplies of a PCIe Switch matched with the first NVMe hard disk and a second NVMe hard disk by using the CPLD.
Optionally, the number of the second NVMe hard disks mounted by one PCIe Switch is 2 to 20.
Optionally, the storage capacity threshold is: the storage capacity of the first NVMe hard disk is 60%.
A system for expanding storage capacity in a server system, the system comprising: the system comprises a plurality of first NVMe hard disks, a plurality of PCIe switches, a first NVMe hard disk data capacity acquisition module, a judgment module, a power on module, a data transmission module and a plurality of second NVMe hard disks, wherein one PCIe Switch is connected with one first NVMe hard disk through PCIe (peripheral component interconnect express) link, any one of the first NVMe hard disks is further connected with a CPU (central processing unit) through PCIe link, the power on module is respectively connected with any one of the PCIe switches, any one of the PCIe switches is hung with a plurality of second NVMe hard disks, the first NVMe hard disks are used for temporarily storing data to be stored, and the second NVMe hard disks are used for permanently storing the data to be stored;
the first NVMe hard disk data capacity acquisition module is used for acquiring the current temporarily stored data capacity of the first NVMe hard disk;
the judging module is used for judging whether the data capacity is larger than or equal to a set storage capacity threshold value;
the power supply starting module is used for starting power supplies of a PCIe Switch and a second NVMe hard disk which are matched with the first NVMe hard disk when the data capacity is larger than or equal to a set storage capacity threshold;
the data transmission module is used for transmitting the data temporarily stored in the first NVMe hard disk to the second NVMe hard disk.
Optionally, the power-on module is a CPLD (Complex Programmable Logic Device), and the CPLD is connected to any PCIe Switch.
Optionally, the number of the second NVMe hard disks mounted by one PCIe Switch is 2 to 20.
Optionally, the storage capacity threshold is: the storage capacity of the first NVMe hard disk is 60%.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
the application provides a method for expanding storage capacity in a server system, which comprises the steps of firstly storing data to be stored into a first NVMe hard disk to realize temporary storage of the data to be stored; secondly, monitoring the data capacity of the first NVMe hard disk in real time to obtain the current temporarily stored data capacity of the first NVMe hard disk; then judging whether the data capacity is larger than or equal to a set storage capacity threshold value or not; if yes, the power supply of the PCIe Switch matched with the first NVMe hard disk and the second NVMe hard disk mounted under the PCIe Switch is started, so that the operating system can recognize the PCIe Switch and the second NVMe hard disk mounted under the PCIeSlwitch. After a PCIe Switch and a second NVMe hard disk mounted under the PCIe Switch are identified, transmitting the data temporarily stored in the first NVMe hard disk to the second NVMe hard disk to realize the permanent storage of the data to be stored, and emptying the first NVMe hard disk at the moment; and then returning to the first step to continuously store the subsequent data to be stored into the first NVMe hard disk, and circulating the steps. In this embodiment, by temporarily storing data to be stored and monitoring the data storage capacity of the first NVMe hard disk in time, corresponding permanent storage is not started until the data storage capacity of the first NVMe hard disk reaches a set storage capacity threshold. The method comprises the steps that data to be stored after CPU processing can be stored in the first NVMe hard disk in time and used for temporarily storing the data to be stored, as the power supplies of the PCIe Switch matched with the first NVMe hard disk and the second NVMe hard disk mounted under the PCIe Switch are not started at the moment, the data are not started until the data capacity temporarily stored in the first NVMe hard disk reaches a set storage capacity threshold value, therefore, when the PCIe switches and the second NVMe hard disks mounted under each Switch are not started, the power supplies of the PCIe switches and the second NVMe hard disks mounted under each Switch are all in a closed expansion state.
In addition, in this embodiment, the storage capacity threshold is 60% of the storage capacity of the first NVMe hard disk, and the storage capacity threshold can ensure that enough data is stored, so as to facilitate subsequent permanent storage, and can reserve enough space for writing new data into the system, thereby avoiding the system instability caused by insufficient space of the first NVMe hard disk for data temporary storage, and being beneficial to improving the stability and flexibility of data storage.
The present application also provides a system for expanding storage capacity in a server system, the system mainly comprising: the device comprises a plurality of first NVMe hard disks, a plurality of PCIe switches, a first NVMe hard disk data capacity acquisition module, a judgment module, a power supply starting module, a data transmission module and a plurality of second NVMe hard disks. One PCIe Switch is connected with one first NVMe hard disk through a PCIe link. The first NVMe hard disk is further connected with the CPU through a PCIe link, so that data to be stored are temporarily stored in the first NVMe hard disk after being processed by the CPU, the plurality of PCIe switches and the plurality of second NVMe hard disks mounted under any one PCIe Switch do not work, and until the data capacity stored in the first NVMe hard disk reaches a set storage capacity threshold value, the power supplies of the PCIe Switch matched with the currently temporarily stored data in the first NVMe hard disk and the plurality of second NVMe hard disks mounted under the PCIe Switch are not started. Therefore, the structure enables the PCIe Switch which is not used yet and a plurality of second NVMe hard disks which are mounted under the PCIeSlwitch not to be started, so that the power consumption of the system can be greatly reduced, and the energy conservation is facilitated.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an apparatus for expanding storage capacity of a server in the prior art;
FIG. 2 is a flowchart illustrating a method for expanding storage capacity in a server system according to an embodiment of the present disclosure;
FIG. 3 is a schematic structural diagram of a system for expanding storage capacity in a server system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of the extended storage capacity in the server system when 2 PCIe switches are adopted in the embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, 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.
For a better understanding of the present application, embodiments of the present application are explained in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 2, a flowchart of a method for expanding storage capacity in a server system according to an embodiment of the present application is shown. As shown in fig. 2, the method for expanding storage capacity in the server system of the present embodiment mainly includes the following steps:
s1: and storing the data to be stored in the first NVMe hard disk.
The first NVMe hard disk is used for temporarily storing data to be stored, one PCIe Switch is connected with the first NVMe hard disk, and the first NVMe hard disk is respectively connected with the CPU and the PCIe Switch through PCIe links.
Compared with the prior art, after the data to be stored is processed by the CPU, the step of temporarily storing the data to be stored is added in this embodiment, that is, the data to be stored is temporarily stored by the first NVMe hard disk. The storage capacity of the first NVMe hard disk is typically: 4TB, enabling it to store the capacity of multiple hard disks for permanent storage. Because the first NVMe hard disk is used for temporarily storing the data to be stored, only the power supply of the first NVMe hard disk needs to be started, and at the moment, the power supplies of the PCIe Switch and the second NVMe hard disk mounted by the PCIe Switch are not needed to be started, so that the power consumption of the server system can be greatly saved.
S2: and acquiring the current temporarily stored data capacity of the first NVMe hard disk.
In this embodiment, the data capacity currently temporarily stored in the first NVMe hard disk may be acquired by the operating system. In this embodiment, the method for acquiring the current temporary storage data capacity of the first NVMe hard disk by the operating system may adopt a method in the prior art, and details are not described here.
S3: and judging whether the data capacity is larger than or equal to a set storage capacity threshold value.
The storage capacity threshold set in this embodiment is preferably: the storage capacity of the first NVMe hard disk is 60%. That is, when the data capacity in the first NVMe hard disk reaches 60% of the storage capacity of the first NVMe hard disk, the subsequent step S4 is started; otherwise, when the data capacity is smaller than the set storage capacity threshold, returning to execute step S2, and continuing to acquire the data capacity temporarily stored in the first NVMe hard disk at the current time, thereby monitoring the data capacity temporarily stored in the first NVMe hard disk. The setting of this storage capacity threshold value can enough ensure that current storage capacity satisfies the demand to follow-up in time with the data transmission of keeping in to the second NVMe hard disk carry out permanent storage, can reserve the storage space of storage capacity x 40% of first NVMe hard disk for the new data of system write-in again, consequently, this kind of storage capacity threshold value is provided with and does benefit to the stability and the flexibility that improve data storage.
With continued reference to FIG. 2, if the data capacity is greater than or equal to the set storage capacity threshold, step S4 is executed: and starting power supplies of the PCIe Switch matched with the first NVMe hard disk and the second NVMe hard disk.
And the second NVMe hard disk is an NVMe hard disk mounted under the PCIe Switch matched with the first NVMe hard disk and used for permanently storing data to be stored. One PCIe Switch matches one first NVMe hard disk and a plurality of second NVMe hard disks.
As can be seen from step S4, when the data capacity currently buffered by the first NVMe hard disk reaches the set storage capacity threshold, only the power supplies of the PCIe Switch matched with the first NVMe hard disk and the second NVMe hard disk mounted under the PCIe Switch are started, and it is not necessary to start all the PCIe Switch and all the second NVMe hard disks, nor to start the power supplies of the PCIe Switch matched with the first NVMe hard disk and the second NVMe hard disk mounted under the PCIe Switch in advance. Therefore, the method in the embodiment can greatly reduce the power consumption of the server system, thereby realizing energy conservation. In addition, after the corresponding power supply is started, the operating system can identify the PCIe Switch and the second NVMe hard disk mounted under the PCIe Switch, so as to perform subsequent data transmission.
Specifically, in step S4, the power supply of the PCIe Switch and the second NVMe hard disk matching the first NVMe hard disk may be turned on by using the CPLD. And when the data capacity in the first NVMe hard disk is larger than or equal to the set storage capacity threshold value, the operating system informs the CPLD to start the PCIe Switch and the power supply of the corresponding second NVMe hard disk through the CPLD.
After the power supplies of the corresponding PCIe Switch and the second NVMe hard disk mounted under the PCIe Switch are started, step S5 is executed: and transmitting the data temporarily stored in the first NVMe hard disk to a second NVMe hard disk. Namely, the data to be stored temporarily stored in the first NVMe hard disk is migrated to the corresponding second NVMe hard disk.
Data can be migrated to the second NVMe hard disks as long as the data capacity stored in the first NVMe hard disk reaches a set storage capacity threshold value, and when the capacity of one second NVMe hard disk is full, the first NVMe hard disk migrates data to the other second NVMe hard disk until all data in the first NVMe hard disk are migrated.
And when the data capacity is smaller than the set storage capacity threshold value, returning to execute the step S2, and continuously acquiring the data capacity temporarily stored in the first NVMe hard disk at the current moment.
Through the above steps S1-S5, that is, completing data storage of one cycle, after the data in the first NVMe hard disk is transferred to the second NVMe hard disk, the data to be stored is permanently stored, and at this time, the first NVMe hard disk is emptied, so that step S6 may be executed: returning to step S1, the process then proceeds to the next cycle, and the process loops.
By the method, the storage capacity of the server system is ensured to be expanded, the PCIe Switch which does not need to work and the power supply of the second NVMe hard disk mounted under the PCIe Switch are in a closed state, the power consumption of the server system can be greatly reduced, and energy conservation is facilitated.
It should be noted that in this embodiment, the number of the second NVMe hard disks mounted by one PCIe Switch is 2 to 20. Namely: in actual use, 2-20 second NVMe hard disks can be hooked according to user requirements and different PCIe Switch models.
Example two
Referring to fig. 3 based on the embodiment shown in fig. 2, fig. 3 is a schematic structural diagram of a system for expanding storage capacity in a server system according to an embodiment of the present application. The dotted box in fig. 3 is a system for expanding storage capacity in a server system, which is connected to a CPU. As can be seen from fig. 3, the system for expanding storage capacity in the server system of the present embodiment mainly includes: the device comprises a plurality of first NVMe hard disks, a plurality of PCIe switches, a first NVMe hard disk data capacity acquisition module, a judgment module, a power supply starting module, a data transmission module and a plurality of second NVMe hard disks.
One PCIe Switch is connected with one first NVMe hard disk through a PCIe l ink, and any one first NVMe hard disk is further connected with the CPU through a PCIe link. That is, any one of the first NVMe hard disks is connected to the CPU and one PCIe Switch through a PCIe link, so that the CPU and the PCIe Switch can access data in the first NVMe hard disk. The power supply starting module is respectively connected with any PCIe Switch, a plurality of second NVMe hard disks are hung on any PCIe Switch, the first NVMe hard disks are used for temporarily storing data to be stored, and the second NVMe hard disks are used for permanently storing the data to be stored. The first NVMe hard disk data capacity acquisition module is used for acquiring the current temporarily stored data capacity of the first NVMe hard disk; the judging module is connected with the first NVMe hard disk data capacity acquiring module and used for judging whether the data capacity is larger than or equal to a set storage capacity threshold value or not according to the data capacity acquired by the first NVMe hard disk data capacity acquiring module. And the power supply starting module is used for starting the power supplies of the PCIe Switch and the second NVMe hard disk matched with the first NVMe hard disk when the data capacity is larger than or equal to the set storage capacity threshold. And the data transmission module is used for transmitting the data temporarily stored in the first NVMe hard disk to the second NVMe hard disk.
Further, in this embodiment, the power supply startup module adopts a CPLD, the CPLD is respectively connected to the multiple PCIe switches, and the CPLD is used to control the startup of the power supplies of the PCIe Switch and the second NVMe hard disk matched with the first NVMe hard disk, so that the operating system can recognize the PCIe Switch and the second NVMe hard disk mounted under the PCIe Switch, and then transmit the data temporarily stored in the first NVMe hard disk to the second NVMe hard disk through the PCIe Switch by the data transmission module.
In this embodiment, the storage capacity threshold is 60% of the storage capacity of the first NVMe hard disk.
Taking an example that two PCIe switches are provided in a system for expanding storage capacity in a server system, a schematic structural diagram of the system in the embodiment of the present application is shown in fig. 4. As can be seen from fig. 4, there are two first NVMe hard disks, namely, a first NVMe hard disk a and a first NVMe hard disk B. The first NVMe hard disk A is connected with the CPU through a PCIe _ CPU _ Port _0 Port through a PICe link, the first NVMe hard disk B is connected with the CPU through a PCIe _ CPU _ Port _ N Port through a PICe link, and the two first NVMe hard disks are used for acquiring data to be stored after the data are processed by the CPU. The first NVMe hard disk A is also connected with one PCIe Switch through a PCIe _ SW _ Port _0 Port arranged on the PCIe Switch, and the first NVMe hard disk B is also connected with another PCIe Switch through a PCIe _ SW _ Port _ N Port arranged on the PCIe Switch. Two PCIe switches are connected to the CPU through PCIe _ CPU _ Port _1 and PCIe _ CPU _ Port _ N-1 ports, respectively. One PCIe Switch is respectively connected with N second NVMe hard disks through N ports, namely PCIe _ SW _ Port _1-PCIe _ SW _ Port _ N arranged on the PCIe Switch; the other PCIeSlwitch is connected with N second NVMe hard disks through N ports, namely PCIe _ SW _ Port _0-PCIe _ SW _ Port _ N-1 ports, which are arranged on the PCIe Switch. The CPLD is respectively connected with the two PCIe switches and used for controlling the PCIe switches and the power Switch states of the second NVMe hard disks mounted by the PCIe switches.
In summary, in this embodiment, by setting a plurality of first NVMe hard disks and connecting any one of the first NVMe hard disks to the CPU and one PCIe Switch through a PCIe link, the data to be stored is processed by the CPU and then temporarily stored in the first NVMe hard disk, at this time, the plurality of PCIe switches and the plurality of second NVMe hard disks mounted under any one of the PCIe switches do not start the power supply, and until the data capacity stored in the first NVMe hard disk reaches the set storage capacity threshold, the PCIe Switch matched with the currently temporarily stored data in the first NVMe hard disk and the power supply of the plurality of second NVMe hard disks mounted under the PCIe Switch are not started. And only the power supply of the corresponding second NVMe hard disk is started, so that the system structure can greatly reduce the system power consumption and is beneficial to energy conservation.
The parts of the embodiment not described in detail can refer to the embodiment shown in fig. 2, and the two embodiments can be referred to each other, and are not described again here.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (8)
1. A method for expanding storage capacity in a server system, the method comprising:
s1: storing data to be stored into first NVMe hard disks, wherein the first NVMe hard disks are used for temporarily storing the data to be stored, one PCIe Switch is connected with one first NVMe hard disk, and the first NVMe hard disks are respectively connected with a CPU and one PCIe Switch through PCIe links;
s2: acquiring the current temporarily stored data capacity of the first NVMe hard disk;
s3: judging whether the data capacity is larger than or equal to a set storage capacity threshold value or not;
s4: if so, starting power supplies of a PCIe Switch matched with the first NVMe hard disk and a second NVMe hard disk, wherein the second NVMe hard disk is an NVMe hard disk mounted under the PCIe Switch matched with the first NVMe hard disk and used for permanently storing the data to be stored;
s5: transmitting the data temporarily stored in the first NVMe hard disk to the second NVMe hard disk;
s6: return is made to step S1.
2. The method for expanding the storage capacity in the server system according to claim 1, wherein the method for turning on the power supplies of the PCIe Switch matched with the first NVMe hard disk and the second NVMe hard disk specifically comprises:
and starting power supplies of a PCIe Switch matched with the first NVMe hard disk and a second NVMe hard disk by using the CPLD.
3. The method of claim 1, wherein the number of the second NVMe hard disks mounted by one PCIe Switch is 2 to 20.
4. A method for expanding storage capacity in a server system according to any one of claims 1-3, wherein the storage capacity threshold is: the storage capacity of the first NVMe hard disk is 60%.
5. A system for expanding storage capacity in a server system, the system comprising: the system comprises a plurality of first NVMe hard disks, a plurality of PCIe switches, a first NVMe hard disk data capacity acquisition module, a judgment module, a power on module, a data transmission module and a plurality of second NVMe hard disks, wherein one PCIe Switch is connected with one first NVMe hard disk through a PCIe link, any one of the first NVMe hard disks is further connected with a CPU through a PCIe link, the power on module is respectively connected with any one of the PCIe switches, a plurality of second NVMe hard disks are hung on any one of the PCIe switches, the first NVMe hard disks are used for temporarily storing data to be stored, and the second NVMe hard disks are used for permanently storing the data to be stored;
the first NVMe hard disk data capacity acquisition module is used for acquiring the current temporarily stored data capacity of the first NVMe hard disk;
the judging module is used for judging whether the data capacity is larger than or equal to a set storage capacity threshold value;
the power supply starting module is used for starting power supplies of a PCIe Switch and a second NVMe hard disk which are matched with the first NVMe hard disk when the data capacity is larger than or equal to a set storage capacity threshold;
the data transmission module is used for transmitting the data temporarily stored in the first NVMe hard disk to the second NVMe hard disk.
6. The system of claim 5, wherein the power-on module is a CPLD, and the CPLD is respectively connected to any one of the PCIe switches.
7. The system for expanding storage capacity in a server system according to claim 5, wherein the number of the second NVMe hard disks mounted by one PCIe Switch is 2-20.
8. A system for expanding storage capacity in a server system according to any one of claims 5-7, wherein the storage capacity threshold is: the storage capacity of the first NVMe hard disk is 60%.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910757269.7A CN110647292B (en) | 2019-08-16 | 2019-08-16 | Method and system for expanding storage capacity in server system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910757269.7A CN110647292B (en) | 2019-08-16 | 2019-08-16 | Method and system for expanding storage capacity in server system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110647292A true CN110647292A (en) | 2020-01-03 |
CN110647292B CN110647292B (en) | 2022-06-07 |
Family
ID=69009580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910757269.7A Active CN110647292B (en) | 2019-08-16 | 2019-08-16 | Method and system for expanding storage capacity in server system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110647292B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506822A (en) * | 2020-12-04 | 2021-03-16 | 四川效率源信息安全技术股份有限公司 | Method for mounting hard disk by PCIE card |
CN113360318A (en) * | 2021-04-22 | 2021-09-07 | 山东英信计算机技术有限公司 | Data backup method, system, storage medium and equipment |
CN115168266A (en) * | 2022-06-22 | 2022-10-11 | 长光卫星技术股份有限公司 | Extensible NVMe solid-state disk-based satellite-borne high-speed universal memory |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106569969A (en) * | 2016-10-19 | 2017-04-19 | 曙光信息产业(北京)有限公司 | Server |
CN108595356A (en) * | 2018-04-24 | 2018-09-28 | 郑州云海信息技术有限公司 | A kind of hard disk backboard and method of compatible RSSD hard disks and NVMe hard disks |
CN109933554A (en) * | 2019-03-20 | 2019-06-25 | 浪潮商用机器有限公司 | A kind of NVMe hard disk expansion apparatus based on GPU server |
-
2019
- 2019-08-16 CN CN201910757269.7A patent/CN110647292B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106569969A (en) * | 2016-10-19 | 2017-04-19 | 曙光信息产业(北京)有限公司 | Server |
CN108595356A (en) * | 2018-04-24 | 2018-09-28 | 郑州云海信息技术有限公司 | A kind of hard disk backboard and method of compatible RSSD hard disks and NVMe hard disks |
CN109933554A (en) * | 2019-03-20 | 2019-06-25 | 浪潮商用机器有限公司 | A kind of NVMe hard disk expansion apparatus based on GPU server |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112506822A (en) * | 2020-12-04 | 2021-03-16 | 四川效率源信息安全技术股份有限公司 | Method for mounting hard disk by PCIE card |
CN112506822B (en) * | 2020-12-04 | 2023-06-02 | 四川效率源信息安全技术股份有限公司 | Method for mounting hard disk by PCIE card |
CN113360318A (en) * | 2021-04-22 | 2021-09-07 | 山东英信计算机技术有限公司 | Data backup method, system, storage medium and equipment |
CN113360318B (en) * | 2021-04-22 | 2022-11-15 | 山东英信计算机技术有限公司 | Data backup method, system, storage medium and equipment |
CN115168266A (en) * | 2022-06-22 | 2022-10-11 | 长光卫星技术股份有限公司 | Extensible NVMe solid-state disk-based satellite-borne high-speed universal memory |
Also Published As
Publication number | Publication date |
---|---|
CN110647292B (en) | 2022-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110647292B (en) | Method and system for expanding storage capacity in server system | |
US20150378841A1 (en) | Techniques to Communicate with a Controller for a Non-Volatile Dual In-Line Memory Module | |
CN107957885B (en) | PCIE link equipment standby and recovery method based on Feiteng platform | |
US9916104B2 (en) | Techniques for entry to a lower power state for a memory device | |
CN101989232A (en) | Method and system to improve the performance of a multi-level cell (mlc) NAND flash memory | |
US8381003B2 (en) | Memory relocation in computer for power saving | |
CN103246628B (en) | SMI interface managerial method and programmable logic device (PLD) | |
CN107667353A (en) | Nuclear memory content dump is removed and returns to external memory storage | |
CN104881312A (en) | FPGA (Field Programmable Gate Array) logic code iterable upgrading method and circuit | |
CN112291027A (en) | Clock selection method, device, equipment and computer readable storage medium | |
CN105608013B (en) | A kind of the storage card control chip and storage card of integrated MRAM | |
CN115631779A (en) | Data protection circuit, method, device, electronic equipment and storage medium | |
CN113849431A (en) | System topology structure switching method, device and medium | |
US11604635B2 (en) | Online program updating method | |
CN117055822B (en) | NVME SSD Raid card board power-carrying system and control method | |
CN103984645B (en) | A kind of buffer consistency data based on dual control write with a brush dipped in Chinese ink method | |
CN110618742B (en) | PDB board and working method thereof | |
CN112346556A (en) | Method, device, computer equipment and medium for improving low power consumption efficiency of chip | |
CN108153553A (en) | A kind of high-end server starts method, system, device and computer storage media | |
JP2016042283A (en) | Information processing device, power control method of information processing device, and program | |
CN106547716B (en) | A kind of expansion bus configuration system and method towards low pin number | |
US8395483B2 (en) | Power controller for an electronic reader device | |
US20060036884A1 (en) | Integrated circuit | |
US20180121087A1 (en) | Register-based communications interface | |
CN114020219B (en) | Power backup device and power backup method and medium thereof |
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 |