CN106990920B - Store equipment expansion method and device - Google Patents

Store equipment expansion method and device Download PDF

Info

Publication number
CN106990920B
CN106990920B CN201710154287.7A CN201710154287A CN106990920B CN 106990920 B CN106990920 B CN 106990920B CN 201710154287 A CN201710154287 A CN 201710154287A CN 106990920 B CN106990920 B CN 106990920B
Authority
CN
China
Prior art keywords
port
sas
state
disk
logic
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
CN201710154287.7A
Other languages
Chinese (zh)
Other versions
CN106990920A (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.)
Hangzhou Sequoia Polytron Technologies Inc
Original Assignee
Hangzhou Sequoia Polytron Technologies Inc
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 Hangzhou Sequoia Polytron Technologies Inc filed Critical Hangzhou Sequoia Polytron Technologies Inc
Priority to CN201710154287.7A priority Critical patent/CN106990920B/en
Publication of CN106990920A publication Critical patent/CN106990920A/en
Application granted granted Critical
Publication of CN106990920B publication Critical patent/CN106990920B/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/0625Power saving in 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/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0626Reducing size or complexity of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0658Controller construction arrangements
    • 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/0688Non-volatile semiconductor memory arrays

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)
  • Debugging And Monitoring (AREA)

Abstract

The application provides a kind of storage equipment expansion method and device, method includes: when the state for detecting SAS port becomes connection status, the state for modifying SAS port in pre-existing relationship table is connection status, and the state for other SAS ports that the corresponding logic port of SAS port and logic port include is obtained from relation table;When the state of other SAS ports of acquisition is off-state, the corresponding disk chassis mark of SAS port is obtained as the corresponding disk chassis mark of logic port, the disc information that disk chassis identifies corresponding disk chassis is obtained, using disc information as the disk of logic port.Every group of SAS port in control cabinet is formed a logic port by the application, the SAS port that same logic port includes is connect with same disk chassis, the SAS port that Different Logic port includes is connect with different disk cabinet, link bandwidth between control cabinet and disk chassis is improved, increases the installable disk number of disk chassis to make full use of the slot position of disk chassis.

Description

Store equipment expansion method and device
Technical field
This application involves technical field of memory more particularly to a kind of storage equipment expansion methods and device.
Background technique
Based on application server by the limitation for the memory capacity that hardware platform is limited and individual server is supported, lead to Often the storage equipment outside provides the memory space of magnanimity for the data that application server generates, and passes through storage equipment Data can be carried out with unified storage, management and protection.
In the related art, storage equipment is made of control cabinet, disk chassis, cable.Wherein, control cabinet includes storage control Device module, power module etc., and application server is connected by front network;Disk chassis includes disk chassis controller module, magnetic Disk module etc., control cabinet are connected by SAS (Serial Attached SCSI, Serial Attached Small Computer interface) cable and disk chassis It connects, disk chassis passes through SAS cable connection upper level disk chassis or next stage disk chassis again, to realize the dilatation of storage equipment.
However, the bandwidth that the SAS port in control cabinet is supported determines the property of all disks in disk chassis connected to it The energy upper limit, a usual SAS port include at least one PHY, when SAS port includes multiple PHY (being usually made of 4 PHY) When, which is known as SAS wide port.When storing equipment application in high-performance scene, using response in usual disk module Time faster SSD (Solid State Drives, solid state hard disk), and the SSD of SAS interface is generallyd use, it is passed through according to practice It tests, a SAS wide port being made of 4 PHY can usually play the performance of 6 pieces or so of SSD, be further added by SSD quantity, nothing Method improving performance again.For the performance for utmostly playing SSD, it is assumed that control cabinet provides 4 SAS wide ports, can connect 4 magnetic Disk cabinet, and most mountable 6 pieces or so of SSD on each disk chassis, the problem is that, each remaining slot position ratio of disk chassis It is more, it causes slot position to waste, and multiple disk chassis can occupy more cabinet space, causes space waste, and multiple disk chassis Power consumption is also bigger, causes power wastage.
Summary of the invention
In view of this, the application provides a kind of storage equipment expansion method and device, can be made with solving existing dilatation way At the slot position waste of disk chassis, cabinet space waste and the problem of power wastage.
According to the embodiment of the present application in a first aspect, providing a kind of storage equipment expansion method, the method is applied to deposit Equipment is stored up, the storage equipment includes control cabinet and multiple disk chassis, it is provided with multiple groups SAS port in the control cabinet, every group SAS port forms a logic port, and the SAS port that the same logic port includes is connect with the same disk chassis, different The logic port SAS port that includes connected from different disk chassis, which comprises
When the state for detecting SAS port becomes connection status from off-state, modify described in pre-existing relationship table The state of SAS port is connection status, and the relation table record has pair of the state of logic port, SAS port and SAS port It should be related to;
The corresponding logic port of the SAS port is obtained from the relation table and that the logic port includes is other The state of SAS port;
When the state of other SAS ports of acquisition is off-state, the corresponding disk chassis mark of the SAS port is obtained Know and identified as the corresponding disk chassis of the logic port, and obtains the disk letter that the disk chassis identifies corresponding disk chassis Breath, using the disc information as the disk of the logic port.
According to the second aspect of the embodiment of the present application, a kind of storage equipment flash chamber is provided, described device is applied to deposit Equipment is stored up, the storage equipment includes control cabinet and multiple disk chassis, it is provided with multiple groups SAS port in the control cabinet, every group SAS port forms a logic port, and the SAS port that the same logic port includes is connect with the same disk chassis, different The logic port SAS port that includes connected from different disk chassis, described device includes:
First modification block of state, for when the state for detecting SAS port becomes connection status from off-state, The state that the SAS port is obtained in modification pre-existing relationship table is connection status, the relation table record has logic port, SAS The corresponding relationship of the state of port and SAS port;
First obtains module, for obtaining the corresponding logic port of the SAS port and described from the relation table The state for other SAS ports that logic port includes;
The online processing module of disk, for when the state of other SAS ports of acquisition is off-state, described in acquisition The corresponding disk chassis mark of SAS port is simultaneously identified as the corresponding disk chassis of the logic port, and obtains the disk chassis mark The disc information for knowing corresponding disk chassis, using the disc information as the disk of the logic port.
Using the embodiment of the present application, equipment is stored by every group of SAS port being arranged in control cabinet and forms a logic Port, and the SAS port that the same logic port includes is connect with the same disk chassis, and different logic ports includes SAS port is connected from different disk chassis, and to improve link bandwidth between control cabinet and disk chassis, and increasing each disk chassis can The number of disks of installation makes the slot position on disk chassis be fully used, and utmostly plays the performance of disk.Store equipment only It detects that the state of SAS port becomes connection status from off-state, just modifies the state of SAS port in pre-existing relationship table For connection status, relation table record has a corresponding relationship of the state of logic port, SAS port and SAS port, and from relation table The middle state for obtaining other SAS ports that the corresponding logic port of SAS port and logic port include;As other SAS of acquisition When the state of port is off-state, the corresponding disk chassis mark of the SAS port is obtained and as the logic port pair The disk chassis mark answered, and the disc information that the disk chassis identifies corresponding disk chassis is obtained, the disc information is made For the disk of the logic port, to achieve the purpose that store equipment dilatation.In addition, compared with prior art, for identical The case where storage performance requirement and same memory space, the application reduces the disk chassis quantity of needs, so that the application is significantly The occupancy of cabinet space is saved, while also reducing the power consumption of entire storage equipment.
Detailed description of the invention
Fig. 1 is a kind of the application storage equipment dilatation scene figure shown according to an exemplary embodiment;
Fig. 2 is the application another storage equipment dilatation scene figure shown according to an exemplary embodiment;
Fig. 3 is a kind of the application embodiment process for storing equipment expansion method shown according to an exemplary embodiment Figure;
Fig. 4 is a kind of the application hardware structure diagram for storing equipment shown according to an exemplary embodiment;
Fig. 5 is a kind of the application example structure for storing equipment flash chamber shown according to an exemplary embodiment Figure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
Fig. 1 is a kind of the application storage equipment dilatation scene figure shown according to an exemplary embodiment, shown in Fig. 1 Storing equipment includes control cabinet SPU and disk chassis DSU (disk chassis, i.e. DSU1 are shown in Fig. 1), wherein depositing in SPU Storage controller is provided with SAS plug-in card (one group of SAS plug-in card, i.e. SAS plug-in card 1 are shown in Fig. 1), the SAS port on SAS plug-in card 1 Group is respectively SAS1, SAS2, SAS3, SAS4, and each SAS port is the SAS wide port comprising 4 PHY, and SAS1, SAS2, SAS3, SAS4 form a logic port, so that the logic port includes 16 PHY;DSU1 also accordingly provides 4 SAS port, respectively D1, D2, U1, U2, corresponding each SAS port also includes 4 PHY, therefore, on SAS plug-in card 1 SAS port group can be connected with each other with 4 SAS ports on DSU1 respectively, to realize the SAS port connection of the same logic port Onto the same DSU.
Based on above-mentioned scene figure shown in FIG. 1, in SAS V3.0 agreement, the maximum bandwidth of a PHY is 12Gbps, by Include 16 PHY in the logic port, therefore the available bandwidth of the logic port is 16*12=192Gbps, and in existing skill In art, a SAS wide port comprising 4 PHY on SPU can only connect a DSU, and the SAS wide port can only provide 4* The bandwidth of 12=48Gbps, therefore the application improves the link bandwidth between SPU and DSU, utmostly to play disk Performance.Again since a SAS wide port comprising 4 PHY can usually play the performance of 6 pieces or so of SSD, in the application In, 4 SAS ports (SAS1, SAS2, SAS3, SAS4) for forming logic port have been all connected on DSU1, therefore in DSU1 most The SSD of mostly mountable 4*6=24 block or so, and in the prior art, if equally making 4 SAS port bands on SAS plug-in card 1 24 pieces or so of SSD then needs to be realized by 4 DSU (installing 6 pieces or so of SSD on each DSU), is the DSU that the application needs 4 times, therefore the application reach storage equipment dilatation purpose while, can utmostly play the performance of SSD, meanwhile, both Reduce the quantity of disk chassis, the slot position in disk chassis is also made to be fully used, so that the application can save cabinet sky Between, while power consumption can also be reduced.
It should be noted that the application is not intended to limit the quantity for the SAS port that logic port includes, if SAS plug-in card mentions For 5 SAS ports, then this 5 SAS ports can form a logic port, and be all connected on the same DSU, thus should At most mountable 30 pieces or so of SSD in DSU.In addition, can be by the way that multiple SAS plug-in cards be arranged, with the multiple logical ends of correspondence on SPU Mouthful, and the SAS port of different logic ports is connected on different DSU, achievees the purpose that store equipment dilatation.
It should be further noted that being arranged in i.e. SPU as shown in Fig. 2, storage equipment can also be that dual control stores equipment There are two storage control, storage control 1 and storage control 2, it is also provided with that there are two disk chassis to control in corresponding DSU1 Device, disk cabinet controller 1 and disk cabinet controller 2, and on storage control 1 and storage control 2 same position SAS plug-in card 1 SAS port provided is connected respectively on the disk cabinet controller 1 and disk cabinet controller 2 of the same DSU1.To in SPU In a storage control break down or pulled out away, another storage control can take over its business, ensure that business Continuity improves the error resilience performance of storage equipment.
Fig. 3 is a kind of the application embodiment process for storing equipment expansion method shown according to an exemplary embodiment Figure, the storage equipment expansion method can be applied to storage equipment, and scene as shown in Figure 1 above in control cabinet it is found that be arranged Have a multiple groups SAS port, every group of SAS port forms a logic port, and the same logic port SAS port that includes with it is same A disk chassis connection, the SAS port that different logic ports includes are connected from different disk chassis.As shown in figure 3, the storage is set Standby expansion method includes the following steps:
Step 301: when the state for detecting SAS port becomes connection status from off-state, modifying pre-existing relationship The state of the SAS port is connection status in table, and relation table record has the state of logic port, SAS port and SAS port Corresponding relationship.
It in one embodiment, can be by SAS cable by SAS plug-in card on SPU when needing to carry out dilatation to storage equipment SAS port connection on the SAS port and DSU of offer, and powered on to DSU, thus the PHY that the SAS port on SAS plug-in card includes The PHY for including with the SAS port on the DSU of opposite end successively starts to hold consultation, and after negotiating successfully, the state of PHY is by disconnection shape State (linkdown) becomes connection status (linkup), correspondingly, the state of SAS port becomes connection status from off-state, Therefore, the state that storage equipment can detecte SAS port becomes connection status from off-state.
In another embodiment, multiple SAS ports on SPU can be bundled into a logical end in advance by storage equipment Mouthful, and by the state corresponding record of the logic port and these SAS ports and each SAS port into relation table.Therefore, Equipment is stored when the state for detecting SAS port changes and (becomes connection status from off-state), needs to modify pass The state for being the SAS in table is connection status.
Step 302: obtaining the corresponding logic port of the SAS port from relation table and that logic port includes is other The state of SAS port.
Step 303: when the state of other SAS ports of acquisition is off-state, obtaining the corresponding magnetic of the SAS port Disk cabinet mark is simultaneously identified as the corresponding disk chassis of logic port, and obtains the disk letter that the disk chassis identifies corresponding disk chassis Breath, using the disc information as the disk of logic port.
In one embodiment, when the state of other SAS ports of acquisition is off-state, indicate that the SAS port connects The disk chassis connect is new online disk chassis, and therefore, the disk chassis that can be connected to the SAS port makees online processing, and obtaining should The corresponding disk chassis mark of SAS port is simultaneously identified as the corresponding disk chassis of logic port, and then obtains disk chassis mark pair The disc information on disk chassis answered, using the disc information as the disk of logic port, for the later use logic port Disk storage data, or the data in disk are managed.To realize the online processing to disk chassis, reach storage The purpose of equipment dilatation.
Wherein, in addition to obtaining the corresponding disk chassis mark of the SAS port, the slot position of disk chassis can also further be got The information such as number, software version and disk chassis model, in addition, the disc information got may include number of disks, disk The information such as the slot position where model and capacity and disk.For example, the disc information got is slot1-slot10, disk number Amount is that the slot position where 10, slot1-slot10 respectively indicates each disk identifies, so as to which slot1-slot10 is corresponding The logic port is saved in local, the disk as the logic port.
It should be noted that after the completion of the online processing of the corresponding disk chassis of logic port, when pulling out away disk in the disk chassis When, which can detect the offline event of disk, and control cabinet is notified to handle;Control cabinet is receiving the offline event of disk Afterwards, the disc information of the corresponding offline disk of logic port is deleted, to realize the offline processing to disk.Equally, when there is magnetic When disk is inserted into the disk chassis, which can detect the online event of disk, and control cabinet is notified to handle;Control cabinet is connecing After receiving the online event of disk, the disc information of new online disk is added in the corresponding disc information of logic port, for after It is continuous to utilize the disk storage data, or the data in the disk are managed, to realize the online processing to disk.
In another embodiment, storage equipment get the disk chassis identify corresponding disk chassis disc information it Afterwards, the state for the other SAS ports for including due to the logic port is off-state, and the state of the only SAS port becomes Connection status, therefore the disk of logic port can be tied on the SAS port, to receive for the logic port When the order of disk, pass through the SAS port transmitting order to lower levels.
It should be further noted that when detecting that the state of SAS port becomes connection status from off-state, and obtain The state of the other SAS ports taken at least one be connection status when, it is corresponding the SAS port can be obtained from relation table The state that logic port includes is the SAS port of connection status, and is tied to the disk of the logic port according to respectively mode State is on the SAS port of connection status, so as to ensure that the disk of logic port has the SAS port in connection status It corresponds to, and the number of disks bound on each SAS port is equal namely SAS port only issues to be directed to and is tied to this SAS port Disk order.Therefore, in receiving the disk for logic port when the order of a certain disk, available is a certain The SAS port of disk binding, and the SAS port by binding issues the order.Without by dispatching the logical end All SAS port transmitting order to lower levels in connection status that mouth includes, reduce the expense of scheduling SAS port, and then improve Order issues efficiency.
In an illustrative scene, exemplary elaboration is carried out with above-mentioned scene figure shown in FIG. 1 below, it is assumed that SAS is inserted 24 pieces of SSD (slot1-slot24) are mounted in the DSU1 for SAS1, SAS2, SAS3, SAS4 connection that card 1 provides, and each The state of SAS port (SAS1, SAS2, SAS3, SAS4) is connection status, therefore, can be by slot1- according to respectively mode Slot6 is tied on SAS1, and slot7-slot12 is tied on SAS2, and slot13-slot18 is tied on SAS3, slot19- Slot24 is tied on SAS4.
It needs further to illustrate, shape is gone off for the state for all SAS ports that logic port includes The case where state, can also do offline processing to disk chassis, i.e., when storage equipment detects the state of SAS port by connection status When going off state, the state that can modify the SAS port in relation table is off-state, and obtaining from relation table should The state for other SAS ports that the corresponding logic port of SAS port and logic port include;When other SAS ports of acquisition State when being off-state, the corresponding disk chassis mark of the logic port and corresponding disc information are deleted, thus real Now to the offline processing of disk chassis.
Wherein, if the state of the other SAS ports obtained is off-state, indicate that the logic port has failed, and Disk in corresponding DSU also fails, therefore can do offline processing to the corresponding disk chassis of the logic port, by the logical end The corresponding disk chassis mark of mouth and corresponding disc information are deleted.The disk of the logic port can not be grasped to subsequent Make.
Further, it when detecting that the state of SAS port goes off state by connection status, and obtains other The state of SAS port at least one be connection status when, the corresponding logic port of the SAS port is obtained from relation table again The state for including is the SAS port of connection status, and the disk of the logic port is tied to state to connect according to respectively mode It connects on the SAS port of state.To realize the disk for binding logic port again, to ensure the disk for the logic port Order can be issued on corresponding disk.
Still further, after the completion of the online processing of the corresponding disk chassis of logic port, in pulling out away the disk chassis disk or There is disk to be inserted into the disk chassis, and after control cabinet is completed to the offline processing of disk or completing to the online processing of disk, It is also required to reacquire the disk of the logic port, obtains the state that the logic port includes from relation table again as connection shape The SAS port of state, and the disk of the logic port is tied on the SAS port that state is connection status according to respectively mode, To realize the disk for binding logic port again.
In another embodiment, storage equipment is after getting disk chassis and identifying the disc information of corresponding disk chassis, It can also be bound without disk, but in receiving the disk for logic port when the order of a certain disk, from relationship The SAS port that the state that the logic port includes is connection status is obtained in table and for each SAS port got, statistics Then the currently processed order number of the SAS port issues the life by the currently processed the smallest SAS port of order number It enables.
As can be seen from the above embodiments, storage equipment forms a logic by every group of SAS port being arranged in control cabinet Port, and the SAS port that the same logic port includes is connect with the same disk chassis, and different logic ports includes SAS port is connected from different disk chassis, and to improve link bandwidth between control cabinet and disk chassis, and increasing each disk chassis can The number of disks of installation makes the slot position on disk chassis be fully used, and utmostly plays the performance of disk.Store equipment only It detects that the state of SAS port becomes connection status from off-state, just modifies the state of SAS port in pre-existing relationship table For connection status, relation table record has a corresponding relationship of the state of logic port, SAS port and SAS port, and from relation table The middle state for obtaining other SAS ports that the corresponding logic port of SAS port and logic port include;As other SAS of acquisition When the state of port is off-state, the corresponding disk chassis mark of the SAS port is obtained and as the logic port pair The disk chassis mark answered, and the disc information that the disk chassis identifies corresponding disk chassis is obtained, the disc information is made For the disk of the logic port, to achieve the purpose that store equipment dilatation.In addition, compared with prior art, for identical The case where storage performance requirement and same memory space, the application reduces the disk chassis quantity of needs, so that the application is significantly The occupancy of cabinet space is saved, while also reducing the power consumption of entire storage equipment.
Corresponding with the aforementioned storage embodiment of equipment expansion method, present invention also provides storage equipment flash chambers Embodiment.
The embodiment that the application stores equipment flash chamber can be applied in storage equipment.Installation practice can be by soft Part is realized, can also be realized by way of hardware or software and hardware combining.Taking software implementation as an example, as a logical meaning On device, be to be read computer program instructions corresponding in nonvolatile memory by the processor of equipment where it Operation is formed in memory.For hardware view, as shown in figure 4, being the application shown according to an exemplary embodiment one Kind storage equipment hardware structure diagram, in addition to processor shown in Fig. 4, memory, network interface and nonvolatile memory it Outside, the equipment in embodiment where device can also include other hardware, no longer to this generally according to the actual functional capability of the equipment It repeats.
Fig. 5 is a kind of the application example structure for storing equipment flash chamber shown according to an exemplary embodiment Figure, the storage equipment flash chamber can be applied to storage equipment, which includes control cabinet and multiple disk chassis, master control Multiple groups SAS port is provided on cabinet, every group of SAS port forms a logic port, and the end SAS that the same logic port includes Mouth is connect with the same disk chassis, and the SAS port that different logic ports includes is connected from different disk chassis.As shown in figure 5, The storage equipment flash chamber includes: that the first modified module 51, first obtains module 52 and the online processing module 53 of disk.
Wherein, the first modification block of state 51, for becoming connecting from off-state when the state for detecting SAS port When state, modifying and obtaining the state of the SAS port in pre-existing relationship table is connection status, the relation table record has logic Port, SAS port and SAS port state corresponding relationship;
First obtains module 52, for obtaining the corresponding logic port of the SAS port and institute from the relation table State the state for other SAS ports that logic port includes;
The online processing module 53 of disk, for obtaining institute when the state of other SAS ports of acquisition is off-state It states the corresponding disk chassis mark of SAS port and is identified as the corresponding disk chassis of the logic port, and obtain the disk chassis The disc information for identifying corresponding disk chassis, using the disc information as the disk of the logic port.
In an optional implementation, described device further includes (being not shown in Fig. 5):
Second modified module, for modifying when the state for detecting SAS port goes off state by connection status The state of SAS port described in the relation table is off-state;
Second obtains module, for obtaining the corresponding logic port of the SAS port and described from the relation table The state for other SAS ports that logic port includes;
The offline processing module of disk, for when the state of other SAS ports of acquisition is off-state, described in deletion The corresponding disk chassis mark of logic port and corresponding disc information.
In an optional implementation, described device further includes (being not shown in Fig. 5):
First binding module identifies corresponding disk for obtaining the disk chassis in the online processing module 53 of the disk After the disc information of cabinet, the disk of the logic port is tied on the SAS port;
Described device further includes (being not shown in Fig. 5):
Second binding module for becoming connection status from off-state when the state for detecting SAS port, and obtains Other SAS ports state at least one be connection status when, it is corresponding that the SAS port is obtained from the relation table The state that logic port includes is the SAS port of connection status, and binds the disk of the logic port according to respectively mode It is on the SAS port of connection status to state;
Third binding module for going off state by connection status when the state for detecting SAS port, and obtains Other SAS ports state at least one be connection status when, the SAS port pair is obtained from the relation table again The state that the logic port answered includes is the SAS port of connection status, and according to respectively mode by the disk of the logic port It is tied on the SAS port that state is connection status.
In an optional implementation, described device further includes (being not shown in Fig. 5):
First command scheduling module, for when the order for receiving a certain disk in the disk for the logic port When, it is retrieved as the SAS port of a certain disk binding, and the order is issued by the SAS port of the binding.
In an optional implementation, described device further includes (being not shown in Fig. 5):
Second command scheduling module, it is corresponding for obtaining the disk chassis mark in the online processing module 53 of the disk After the disc information of disk chassis, when receiving the order of a certain disk in the disk for the logic port, from described The SAS port that the state that the logic port includes is connection status is obtained in relation table;For each end SAS got Mouthful, count the currently processed order number of the SAS port;By under the smallest SAS port of currently processed order number Send out order described.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. a kind of storage equipment expansion method, which is characterized in that the method is applied to storage equipment, and the storage equipment includes Control cabinet and multiple disk chassis are provided with multiple groups SAS port in the control cabinet, and every group of SAS port forms a logic port, And the SAS port that the same logic port includes is connect with the same disk chassis, the SAS port that different logic ports includes with Different disk chassis connections, which comprises
When the state for detecting SAS port becomes connection status from off-state, the end SAS described in pre-existing relationship table is modified The state of mouth is connection status, and the relation table record has the corresponding of state of logic port, SAS port and SAS port to close System;
Other SAS that the corresponding logic port of the SAS port and the logic port include are obtained from the relation table The state of port;
When the state of other SAS ports of acquisition is off-state, the corresponding disk chassis mark of the SAS port is obtained simultaneously As the corresponding disk chassis mark of the logic port, and the disc information that the disk chassis identifies corresponding disk chassis is obtained, Using the disk by the disc information as the logic port.
2. the method according to claim 1, wherein the method also includes:
When the state for detecting SAS port goes off state by connection status, the end SAS described in the relation table is modified The state of mouth is off-state;
Other SAS that the corresponding logic port of the SAS port and the logic port include are obtained from the relation table The state of port;
When the state of other SAS ports of acquisition is off-state, the corresponding disk chassis mark of the logic port is deleted And corresponding disc information.
3. according to the method described in claim 2, it is characterized in that,
After obtaining the disk chassis and identifying the disc information of corresponding disk chassis, the method also includes:
The disk of the logic port is tied on the SAS port;
The method also includes:
When detecting that the state of SAS port becomes connection status from off-state, and the state of the other SAS ports obtained is extremely Rare one be connection status when, the state that the corresponding logic port of the SAS port includes is obtained from the relation table is The SAS port of connection status, and the disk of the logic port is tied to the SAS that state is connection status according to respectively mode On port;
When detecting that the state of SAS port goes off state by connection status, and the state of the other SAS ports obtained is extremely Rare one be connection status when, the shape that the corresponding logic port of the SAS port includes is obtained from the relation table again State is the SAS port of connection status, and it is connection status that the disk of the logic port, which is tied to state, according to respectively mode SAS port on.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When receiving the order of a certain disk in the disk for the logic port, it is retrieved as a certain disk binding SAS port, and the order is issued by the SAS port of the binding.
5. the method according to claim 1, wherein identifying the magnetic of corresponding disk chassis in the acquisition disk chassis After disk information, the method also includes:
When receiving the order of a certain disk in the disk for the logic port, patrolled described in acquisition from the relation table Collect the SAS port that the state that port includes is connection status;
For each SAS port got, the currently processed order number of the SAS port is counted;
The order is issued by the smallest SAS port of currently processed order number.
6. a kind of storage equipment flash chamber, which is characterized in that described device is applied to storage equipment, and the storage equipment includes Control cabinet and multiple disk chassis are provided with multiple groups SAS port in the control cabinet, and every group of SAS port forms a logic port, And the SAS port that the same logic port includes is connect with the same disk chassis, the SAS port that different logic ports includes with Different disk chassis connections, described device include:
First modification block of state, for modifying when the state for detecting SAS port becomes connection status from off-state The state of SAS port described in pre-existing relationship table is connection status, relation table record have logic port, SAS port and The corresponding relationship of the state of SAS port;
First obtains module, for obtaining the corresponding logic port of the SAS port and the logic from the relation table The state for other SAS ports that port includes;
The online processing module of disk, for obtaining the SAS when the state of other SAS ports of acquisition is off-state The corresponding disk chassis mark in port is simultaneously identified as the corresponding disk chassis of the logic port, and obtains the disk chassis mark pair The disc information for the disk chassis answered, using the disc information as the disk of the logic port.
7. device according to claim 6, which is characterized in that described device further include:
Second modified module, for when the state for detecting SAS port goes off state by connection status, described in modification The state of SAS port described in relation table is off-state;
Second obtains module, for obtaining the corresponding logic port of the SAS port and the logic from the relation table The state for other SAS ports that port includes;
The offline processing module of disk, for deleting the logic when the state of other SAS ports of acquisition is off-state The corresponding disk chassis mark in port and corresponding disc information.
8. device according to claim 7, which is characterized in that described device further include:
First binding module, for obtaining the magnetic that the disk chassis identifies corresponding disk chassis in the online processing module of the disk After disk information, the disk of the logic port is tied on the SAS port;
Described device further include:
Second binding module, for when detecting that the state of SAS port becomes connection status from off-state, and obtain its The state of its SAS port at least one be connection status when, the corresponding logic of the SAS port is obtained from the relation table The state that port includes is the SAS port of connection status, and the disk of the logic port is tied to shape according to respectively mode State is on the SAS port of connection status;
Third binding module, for when detecting that the state of SAS port goes off state by connection status, and obtain its The state of its SAS port at least one be connection status when, it is corresponding that the SAS port is obtained from the relation table again The state that logic port includes is the SAS port of connection status, and binds the disk of the logic port according to respectively mode It is on the SAS port of connection status to state.
9. device according to claim 8, which is characterized in that described device further include:
First command scheduling module, for obtaining when receiving the order of a certain disk in the disk for the logic port It is taken as the SAS port of a certain disk binding, and the order is issued by the SAS port of the binding.
10. device according to claim 6, which is characterized in that described device further include:
Second command scheduling module identifies corresponding disk chassis for obtaining the disk chassis in the online processing module of the disk Disc information after, when receiving the order of a certain disk in the disk for the logic port, from the relation table It is middle to obtain the SAS port that the state that the logic port includes is connection status;For each SAS port got, statistics The currently processed order number of the SAS port;The life is issued by the smallest SAS port of currently processed order number It enables.
CN201710154287.7A 2017-03-15 2017-03-15 Store equipment expansion method and device Active CN106990920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710154287.7A CN106990920B (en) 2017-03-15 2017-03-15 Store equipment expansion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710154287.7A CN106990920B (en) 2017-03-15 2017-03-15 Store equipment expansion method and device

Publications (2)

Publication Number Publication Date
CN106990920A CN106990920A (en) 2017-07-28
CN106990920B true CN106990920B (en) 2019-11-12

Family

ID=59412712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710154287.7A Active CN106990920B (en) 2017-03-15 2017-03-15 Store equipment expansion method and device

Country Status (1)

Country Link
CN (1) CN106990920B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794162A (en) * 2004-12-21 2006-06-28 普安科技股份有限公司 Sas storage virtualization controller, subsystem and system using the same, and method therefor
CN101615106A (en) * 2008-06-23 2009-12-30 国际商业机器公司 The method and system that is used for virtualizing SAS storage adapter
CN101719048A (en) * 2008-09-05 2010-06-02 Lsi公司 Combining multiple SAS expanders to provide single SAS expander functionality
US8301810B2 (en) * 2004-12-21 2012-10-30 Infortrend Technology, Inc. SAS storage virtualization controller, subsystem and system using the same, and method therefor
CN103729321A (en) * 2013-12-27 2014-04-16 华为技术有限公司 Management device and multi-expander chip management method
CN103793180A (en) * 2012-10-30 2014-05-14 英业达科技有限公司 Disk collocation method and server rack system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794162A (en) * 2004-12-21 2006-06-28 普安科技股份有限公司 Sas storage virtualization controller, subsystem and system using the same, and method therefor
US8301810B2 (en) * 2004-12-21 2012-10-30 Infortrend Technology, Inc. SAS storage virtualization controller, subsystem and system using the same, and method therefor
CN101615106A (en) * 2008-06-23 2009-12-30 国际商业机器公司 The method and system that is used for virtualizing SAS storage adapter
CN101719048A (en) * 2008-09-05 2010-06-02 Lsi公司 Combining multiple SAS expanders to provide single SAS expander functionality
CN103793180A (en) * 2012-10-30 2014-05-14 英业达科技有限公司 Disk collocation method and server rack system
CN103729321A (en) * 2013-12-27 2014-04-16 华为技术有限公司 Management device and multi-expander chip management method

Also Published As

Publication number Publication date
CN106990920A (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN106844245B (en) Data transmission method and device
CN106598480B (en) Electronic system and its operating method with Interface Controller mechanism
CN108696569A (en) The system and method that data replicate are provided in NVMe-oF Ethernets SSD
CN106844108B (en) A kind of date storage method, server and storage system
CN109791520A (en) The log recording of the Space Coupling of physical medium perception and playback
CN1957363B (en) Intelligent computer line system
TWI531901B (en) Data flush of group table
US7958302B2 (en) System and method for communicating data in a storage network
US20170127550A1 (en) Modular Computer System and Server Module
CN108153622A (en) The method, apparatus and equipment of a kind of troubleshooting
US20120081856A1 (en) Storage system and a storage bridge bay canister
CN107506145B (en) Physical storage scheduling method and cloud host creation method
DE102016220452B4 (en) Data transfer via a data storage drive
CN105739930B (en) A kind of storage architecture and its initial method and date storage method and managing device
CN108427728A (en) Management method, equipment and the computer-readable medium of metadata
CN101661453B (en) Method for identifying blade sequence number in blade server
CN107526616A (en) A kind of main frame carries out the method and device of data write-in and reading to BMC
CN105528180B (en) A kind of date storage method, device and equipment
US7952882B2 (en) On demand storage array
CN106990920B (en) Store equipment expansion method and device
CN109240856A (en) A kind of storage metadata damage analogy method, device, terminal and storage medium
CN109032979A (en) Document transmission method, device, equipment and storage medium between a kind of BMC
CN108139993A (en) Memory device, Memory Controller Hub, data buffer storage device and computer system
CN106708445A (en) Link selection method and device
CN106547316A (en) A kind of rack-mount server

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