CN113672537B - SATA (Serial advanced technology attachment) equipment hot plug management method and device - Google Patents

SATA (Serial advanced technology attachment) equipment hot plug management method and device Download PDF

Info

Publication number
CN113672537B
CN113672537B CN202111032212.4A CN202111032212A CN113672537B CN 113672537 B CN113672537 B CN 113672537B CN 202111032212 A CN202111032212 A CN 202111032212A CN 113672537 B CN113672537 B CN 113672537B
Authority
CN
China
Prior art keywords
sata
oob
negotiation
physical layer
disk
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
CN202111032212.4A
Other languages
Chinese (zh)
Other versions
CN113672537A (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.)
Wuxi Zhongxing Microsystem Technology Co ltd
Original Assignee
Wuxi Zhongxing Microsystem 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 Wuxi Zhongxing Microsystem Technology Co ltd filed Critical Wuxi Zhongxing Microsystem Technology Co ltd
Priority to CN202111032212.4A priority Critical patent/CN113672537B/en
Publication of CN113672537A publication Critical patent/CN113672537A/en
Application granted granted Critical
Publication of CN113672537B publication Critical patent/CN113672537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Abstract

The invention provides a method and a device for hot plug management of SATA (Serial advanced technology attachment) equipment. The method comprises the following steps: when determining that the SATA disk device connected with the disk expander is lost, actively forbidding OOB receiving and negotiation functions of a physical layer link; sending a broadcast primitive message to a host, and waiting for an OOB negotiation enabling command of the host; allowing OOB negotiation of the physical layer link if an OOB negotiation enabling command is received from a host; and re-executing the identification of the SATA disk device based on the OOB negotiation of the physical layer link. The method ensures the correctness and the integrity of the data transmission of the SATA disk device in a hot-plug scene.

Description

SATA (Serial advanced technology attachment) equipment hot plug management method and device
Technical Field
The invention belongs to the technical field of disk connection, and particularly relates to a method and a device for managing hot plug of SATA (serial advanced technology attachment) equipment.
Background
SATA (Serial ATA) is a high-speed Serial bus, which adopts a point-to-point transmission mode, has a built-in data/command verification unit, is strong in error correction capability, supports hot plug, has the characteristics of small pin number, high data transmission rate, high reliability, good compatibility, and the like, and is currently widely used in the industry as a main I/O interface between a storage device and a host.
SAS (serial attached SCSI) is a new generation SCSI technology, and like SATA technology, serial interfaces are also used to achieve higher transmission speeds. Meanwhile, the SAS design considers the downward compatibility of SATA technology, and the interconnection and data transmission between the SAS controller and SATA devices are realized by STP protocol (SATA channel protocol).
In a typical SAS data storage topology, a SAS controller supports large-scale disk management via one or more stages of Expander(s). The SAS Expander usually integrates an STP SATA bridge to complete conversion from SAS protocol to SATA protocol, so as to be compatible with SATA disk device connection. Fig. 1 illustrates the main components of an SAS controller and multiple SATA devices when they are interconnected, where the SAS controller C1 is the initiator of control commands and data read/write commands, and is responsible for managing the topology of the entire storage system, issuing disk data read/write commands, and receiving device responses; the SAS Expander is C2 used for expanding the topological structure of the storage system, and an STP SATA bridge is integrated inside the SAS Expander to be connected with compatible SATA equipment; the STP SATA bridge C2.1 completes the conversion from the STP protocol to the SATA protocol in the SAS standard and helps the SATA equipment to access the SAS system; the SATA disk storage device C3 is used for storing service data; connections L1 and L2 are SAS standard physical connections and SATA standard physical connections, respectively.
In server-level data storage applications, in order to ensure the continuity and robustness of system data services, it is generally required that SAS and SATA disk devices in the entire SAS system have dynamic hot-swap characteristics. Under the condition that the whole storage system is expected not to be powered off at the operation time, SAS or SATA disk equipment is plugged and replaced at any time according to business needs. Therefore, in the process of I/O data interaction with high throughput of the system, it is important for data storage service to ensure validity, correctness and integrity of data in a hot plug scenario of SAS or SATA disk devices.
However, the dynamic hot plug process in the prior art has a data service error risk. Specifically, referring to fig. 2, the internal SAS controller of the host system connects the SATA disk and the SAS disk device through the two-stage Expander extension. The following describes a typical message passing process in the whole connection, taking replacing the SATA disk device as an example:
step S1: removing the SATA disk device A from a downstream port of the Expander L2, and preparing to replace the SATA disk device A with a new SATA disk device B;
step S2: and (3) detecting that the connection of the SATA disk device is lost by the STP SATA bridge hardware physical layer of the downstream Expander L2, and informing an internal system firmware program of the Expander. Recording port and detailed information of the device connection loss event by the firmware program, and sending BROADCAST (BROADCAST) primitive to an upstream port of the Expander L2;
and step S3: the upstream Expander L1 receives the broadcast primitive of the downstream Expander L2, records the downstream port information of the received broadcast primitive and transmits the broadcast primitive to the upstream port of the Expander L1;
and step S4: the SAS controller inside the host receives the broadcast primitive of the Expander L1 and senses that an event occurs in the downstream Expander L2. The controller reports interruption to the internal processor of the host computer, requests the system software of the host computer to intervene, inquires and processes events;
step S5: the host system interrupt processing program activates the management process of the SAS controller in the system software;
step S6: the management process of the SAS controller issues an SMP (SAS management protocol) query command to the Expander L1 to inquire detailed information such as ports, types and the like of event occurrence. According to the port number, the information type and the topological structure of the whole storage connection, the management process senses that the event comes from a downstream Expander L2;
step S7: and the SAS controller management process issues an SMP query command to the downstream Expander L2. According to the SMP response message of the Expander L2, the management process perceives the removal event of the SATA disk device A.
According to the SAS standard protocol, each SAS device port contains a 64-bit SAS address for identifying the device port, while the SATA disk device does not have a similar address identification. To identify SATA devices within a storage connection topology, the SAS protocol provides that the expand internal STP SATA bridge owns a 64-bit SAS address. The SAS controller needs to establish a logical connection towards the SAS address of the STP SATA bridge before accessing the SATA disk. After the logical connection is established, the SAS controller and the SATA disk device exchange I/O data information through FIS frames (SATA transport layer data structures) in a protocol-defined format. The SATA FIS frame structure has no address-related device identification information field inside.
As can be seen, only through the transmission of the multi-level SAS link layer primitives and the exchange of multiple SMP request and response messages, the host system software can sense the detailed information of the SATA disk device removal event. As the number of Expander expansion stages increases, the delay from the removal (step S1) of the SATA disk device a to the perception of this event by the host management process (step S7) also increases. On the other hand, before the Expander L2 of step S7 returns the SMP response information, the host system has not yet perceived the event that the SATA disk a has been removed, and continues the I/O data exchange service. If the user quickly accesses the new SATA disk device B before step S7, I/O data content errors may result. Originally expecting data from the SATA disk A, actually coming from the disk B; or the data originally expected to be written into the disk a is actually written into the disk B, which causes data service failure and causes system abnormality.
Disclosure of Invention
The invention aims to provide a method and a device for managing hot plug of SATA (Serial advanced technology attachment) equipment, which actively forbid an OOB (object-to-Board) negotiation function of an abnormal port physical layer link under the scene of abnormal interruption of equipment connection, and avoid the transmission error of I/O (input/output) data of a host system caused by the delay of message transmission and event processing.
According to a first aspect of the present invention, a method for hot plug management of a SATA device is provided, the method comprising:
detecting the connection state of SATA disk equipment connected with a disk expander;
when determining that the connection loss of the SATA disk device is detected, actively forbidding the OOB receiving and negotiation function of the physical layer link;
sending a broadcast primitive message to a host, and waiting for an OOB negotiation enabling command of the host;
allowing OOB negotiation of the physical layer link if the OOB negotiation enabling command is received from the host;
and re-executing identification of the SATA disk device based on OOB negotiation of the physical layer link.
Preferably, the determining that the connection loss of the SATA disk device is detected further includes:
recognizing, by physical layer hardware logic of an internal STP SATA bridge of the disk expander, a SATA device removal event.
Preferably, the actively prohibiting the OOB reception and negotiation function of the physical layer link further includes:
and actively forbidding OOB receiving and negotiation functions of a physical layer link through physical layer hardware logic of an internal STP SATA bridge of the disk expander without intervention of host system software and internal system firmware of the disk expander, and reporting an event to an application layer of the disk expander firmware.
Preferably, the sending the broadcast primitive message to the host further includes:
recording detailed information of the connection loss of the SATA device through the internal system firmware of the disk expander, wherein the detailed information comprises the type of the SATA device and the port number of the connection loss.
Preferably, the OOB negotiation enabling command is an SMP command, and the OOB negotiation of the physical layer link is allowed, further comprising:
and after receiving the SMP command which allows the OOB negotiation of the host system through the internal system firmware of the disk expander, restarting the OOB negotiation flow of the physical layer link of the STP SATA bridge.
According to a second aspect of the invention, a SATA device hot plug management apparatus is provided. The device comprises:
the detection module is used for detecting the connection state of the SATA disk device connected with the disk expander;
the forbidding module is used for initiatively forbidding the OOB receiving and negotiating function of the physical layer link when determining that the SATA disk device connection loss is detected;
a sending module, configured to send a broadcast primitive message to a host, and wait for an OOB negotiation enabling command of the host;
an enabling module, configured to allow OOB negotiation of a physical layer link upon receiving the OOB negotiation enabling command from the host;
and the identification module is used for re-executing the identification of the SATA disk device based on the OOB negotiation of the physical layer link.
Preferably, the detection module is further configured to:
recognizing, by physical layer hardware logic of an internal STP SATA bridge of the disk expander, a SATA device removal event.
Preferably, the disabling module is further configured to:
and actively forbidding OOB receiving and negotiation functions of a physical layer link through physical layer hardware logic of an internal STP SATA bridge of the disk expander without intervention of host system software and internal system firmware of the disk expander, and reporting an event to an application layer of the disk expander firmware.
Preferably, the sending module is further configured to:
recording detailed information of the connection loss of the SATA device through the internal system firmware of the disk expander, wherein the detailed information comprises the type of the SATA device and the port number of the connection loss.
Preferably, the OOB negotiation enabling command is an SMP command, and the OOB negotiation allowing the physical layer link is further configured to:
and after receiving an SMP command allowing OOB negotiation by the host system through the system firmware in the disk expander, restarting an OOB negotiation flow of a physical layer link of the STP SATA bridge.
Compared with the prior art, the scheme of the invention has simple and clear flow and easy realization, can effectively be compatible with various connection structures in an SAS application scene, combines a mechanism established by an SAS protocol physical layer link, and can effectively ensure the correctness and the integrity of I/O data transmission by actively forbidding the OOB negotiation function of the port in time in the scene of abnormal interruption of equipment connection, thereby avoiding data loss or content errors during hot plugging.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a block diagram of a SAS controller interconnected with multiple SATA devices in accordance with the prior art.
Fig. 2 is a schematic diagram of a message passing flow of a SAS controller expansion connecting a SATA and a SAS device according to the prior art.
FIG. 3 is a flow chart of a method for hot plug management of a SATA device according to the present invention.
Fig. 4 is a timing diagram of a hot plug management method according to the present invention based on the SAS controller expansion connection structure of fig. 2.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. 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 invention.
The invention provides a hot plug management method facing SATA equipment by combining a typical SAS storage system structure on the first aspect, and after a physical layer hardware logic Of an STP SATA bridge in an Expander detects an equipment removal event, the method actively forbids an OOB (Out Of Band Signal, SAS physical layer link Signal sequence) negotiation function Of a physical layer link Of a related port to prevent I/O data content confusion caused by event reporting delay, and ensures the correctness and integrity Of service data, thereby improving the robustness Of the whole storage system.
As shown in fig. 3, first, taking a single-stage Expander as an example, the general scheme of the hot plug management method of the SATA device of the present invention is described as follows:
step 101, determining that the SATA disk device connected with the disk expander is lost.
In particular, the physical layer hardware logic of the Expander internal STP SATA bridge may detect the status of physically connected SATA disk devices. When detecting that the physically connected SATA disk device is lost or abnormal in connection, the physical layer of the STP SATA bridge can determine that the physically connected SATA disk device is in a lost state.
And 102, actively forbidding the OOB receiving and negotiating function of the physical layer link when determining that the connection loss of the SATA disk device is detected.
When detecting that the SATA disk device is lost, the physical layer hardware logic of the Expander internal STP SATA bridge actively forbids the OOB receiving and negotiation function of the physical layer link, namely automatically executing the OOB forbidding operation without the intervention of the host system software and the Expander internal system firmware, and reporting the event to the application layer of the Expander firmware. After the OOB negotiation function is disabled, even if the newly accessed SATA disk device sends out an OOB request, the physical layer hardware logic does not respond, and both sides cannot complete the establishment of the physical layer link.
Step 103, sending the broadcast primitive message to an upstream port.
The Expander internal system firmware records the detailed information of the SATA device connection loss, such as the port number of the connection loss, the type of the SATA device and the like, and simultaneously sends BROADCAST BROADCAST primitive to an upstream port to prompt that an event occurs downstream.
Step 104, determining whether an OOB negotiation enabling command is received from the host.
After sending the BROADCAST message BROADCAST, expander waits for an SMP command from the host system, and when the SMP command occurs, confirms that the host system allows OOB negotiation and access or identification of the new device. And the host system software acquires the event information of the SATA equipment with lost connection, cancels all I/O data transmission tasks of the internal queue of the system facing the removed SATA equipment and starts an exception handling process.
Step 105, if the OOB negotiation enabling command from the host is received, the OOB negotiation of the physical layer link is allowed.
After acknowledging receipt of the OOB negotiation enable command from the host, the Expander internal system firmware releases the OOB negotiation procedure that disabled the physical layer link by configuring the physical layer hardware logic of the STP SATA bridge.
If the OOB negotiation enabling command from the host is not received, the Expander continuously waits for a message from the host using a polling method.
And step 106, re-executing the equipment identification based on the OOB negotiation of the physical layer link.
Through the running of the OOB negotiation program of the physical layer link, the physical layer hardware logic of the Expander internal STP SATA bridge starts a new round of device identification program.
The SATA device hot plug management method provided by the invention has simple and clear flow and easy realization, can effectively be compatible with various connection structures in SAS application scenes, is suitable for various different physical rates, combines with a mechanism established by an SAS protocol physical layer link, and actively forbids OOB receiving and negotiation functions of the physical layer link in a scene of abnormal interruption of device connection, thereby avoiding data transmission errors caused by message transfer delay.
In combination with the foregoing structure of fig. 2, in a structure in which an SAS controller in a host system connects SATA disks through two-stage Expander expansion, the present invention further provides an exemplary flow of a hot plug management method, as shown in fig. 4:
step 201, the SATA device a at the downstream port of the second stage Expander L2 generates a device removal event, for example, to prepare for replacement with a new SATA device B;
step 202, when the physical layer hardware logic of the Expander L2 detects a device removal event, actively forbidding the OOB negotiation function of the current port;
step 203, recording event information by the Expander L2 firmware program, and sending BROADCAST BROADCAST primitive to an upstream port;
step 204, the first-level Expander L1 downstream port receives BROADCAST BROADCAST primitive from the Expander L2;
step 205, the Expander L1 firmware program records event information and forwards BROADCAST BROADCAST primitives to an upstream port;
step 206, receiving BROADCAST BROADCAST primitive from Expander L1 by the SAS controller port of the host system, sensing that the downstream connection event needs to be concerned, reporting the event and interrupting the event to the host system processor;
step 207, activating an SAS controller management process in system software by a host system interrupt processing program, wherein the SAS controller management process sends a first SMP query command to a first-level Expander L1 to inquire event information;
step 208, the Expander L1 returns a first SMP response message, and the first SMP response message carries downstream ports, type information and the like of events;
step 209, the system software senses that the event is originated from the second level Expander L2 and sends a second SMP query command to the Expander L2;
step 210, the Expander L2 returns a second SMP response message, and the second SMP response message carries STP SATA bridge port where the event occurs and the type information of the event;
step 211, according to a second SMP response message returned by the Expander L2, the host system software perceives that a SATA disk device a removal event occurs at the STP SATA bridge port of the Expander L2, cancels all I/O transmission instructions facing the SATA disk device a in the internal queue of the system, and executes a data service exception handling program;
step 212, the host system sends a first SMP enabling command to the Expander L2, and allows OOB negotiation function of a corresponding port of the Expander L2;
step 213, the Expander L2 returns a third SMP response message, and confirms that the first SMP enabling command for allowing the OOB negotiation function of the physical layer link of the host system is received;
step 214, the firmware of the inside system of Expander L2 configures the hardware logic of the physical layer of the STP SATA bridge of the corresponding port, allows the OOB negotiation function of the physical layer link, and starts a new round of OOB negotiation and device access identification process.
It can be seen from the above embodiments that, with the SATA device hot plug management method provided in the present invention, after detecting that the SATA device a is removed, the physical layer hardware logic of the STP SATA bridge inside the Expander L2 actively prohibits the physical layer link OOB negotiation function of the relevant port until the host system software recognizes the event of SATA device a removal and completes the exception handling task. Through the OOB negotiation function of the forbidden port in time, the correctness and the completeness of the I/O data transmission can be effectively ensured, and data loss or content errors are avoided.
It should be noted that the flow or timing chart shown in fig. 3 and 4 is only for illustrating the technical solution of the present invention, and is not limited thereto. It will be understood by those skilled in the art that any conceivable modifications may be made to the structure of the disk array, the details of the method flow, and the like, based on the actual needs of the present invention, and the present invention should not be limited to the specific structures or parameters described in the above examples. For example, the design of the invention is also suitable for hot plug management in the scene that the SAS controller is directly connected with the SATA disk device.
According to another aspect of the present invention, there is correspondingly provided a SATA device hot plug management apparatus, including:
the detection module is used for detecting the connection state of SATA disk equipment connected with the disk expander;
the forbidding module is used for initiatively forbidding the OOB receiving and negotiation function of the physical layer link when determining that the SATA disk device connection loss is detected;
a sending module, configured to send a broadcast primitive message to a host and wait for an OOB negotiation enabling command of the host;
an enabling module, configured to allow OOB negotiation of a physical layer link upon receiving the OOB negotiation enabling command from the host;
and the identification module is used for re-executing the identification of the SATA disk device based on the OOB negotiation of the physical layer link.
The detection module is further configured to: recognizing, by physical layer hardware logic of an internal STP SATA bridge of the disk expander, a SATA device removal event.
The disabling module is further configured to: and actively forbidding OOB receiving and negotiation functions of a physical layer link through physical layer hardware logic of an internal STP SATA bridge of the disk extender without the intervention of host system software and internal system firmware of the disk extender, and reporting an event to an application layer of the disk extender firmware.
The sending module is further configured to: recording detailed information of the connection loss of the SATA device through the internal system firmware of the disk expander, wherein the detailed information comprises the type of the SATA device and the port number of the connection loss.
The OOB negotiation enabling command is an SMP command, and the OOB negotiation allowing the physical layer link is further configured to: and after receiving an SMP command allowing OOB negotiation by the host system through the system firmware in the disk expander, restarting an OOB negotiation flow of a physical layer link of the STP SATA bridge.
Although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A method for managing hot plug of SATA equipment is characterized by comprising the following steps:
detecting the connection state of SATA disk equipment connected with a disk expander;
when determining that the connection loss of the SATA disk device is detected, actively forbidding the OOB receiving and negotiation function of a SAS physical layer link signal sequence of the physical layer link;
sending a broadcast primitive message to a host and waiting for an OOB negotiation enabling command of the host;
allowing OOB negotiation of the physical layer link if the OOB negotiation enabling command is received from the host;
re-executing identification of the SATA disk device based on the OOB negotiation of the physical layer link;
wherein the actively prohibiting the OOB reception and negotiation function of the physical layer link further comprises: and actively forbidding OOB receiving and negotiation functions of a physical layer link through physical layer hardware logic of an internal STP SATA bridge of the disk expander without intervention of host system software and internal system firmware of the disk expander, and reporting an event to an application layer of the internal system firmware of the disk expander.
2. The method for hot plug management of a SATA device as recited in claim 1, wherein said determining that a loss of connection to a SATA disk device is detected further comprises:
recognizing, by physical layer hardware logic of an internal STP SATA bridge of the disk expander, a SATA device removal event.
3. The method for hot plug management of a SATA device as in claim 1, wherein said sending a broadcast primitive message to a host further comprises:
recording detailed information of the connection loss of the SATA device through the internal system firmware of the disk expander, wherein the detailed information comprises the type of the SATA device and the port number of the connection loss.
4. The method for hot plug management of SATA device of claim 1, wherein said OOB negotiation enabling command is an SMP command and said OOB negotiation of physical layer link is allowed, further comprising:
and after receiving the SMP command which allows the OOB negotiation of the host system through the internal system firmware of the disk expander, restarting the OOB negotiation flow of the physical layer link of the STP SATA bridge.
5. A SATA device hot plug management device is characterized by comprising:
the detection module is used for detecting the connection state of the SATA disk device connected with the disk expander;
the system comprises a forbidding module, a data processing module and a data processing module, wherein the forbidding module is used for actively forbidding the OOB receiving and negotiation function of a SAS physical layer link signal sequence of a physical layer link when determining that the connection loss of the SATA disk device is detected;
a sending module, configured to send a broadcast primitive message to a host and wait for an OOB negotiation enabling command of the host;
an enabling module for allowing the OOB negotiation of the physical layer link upon receiving the OOB negotiation enabling command from the host;
the identification module is used for re-executing identification of the SATA disk device based on OOB negotiation of the physical layer link;
the disabling module is further configured to: and actively forbidding OOB receiving and negotiation functions of a physical layer link through physical layer hardware logic of an internal STP SATA bridge of the disk expander without intervention of host system software and internal system firmware of the disk expander, and reporting an event to an application layer of the internal system firmware of the disk expander.
6. The apparatus for hot plug management of a SATA device of claim 5, wherein the detection module is further configured to:
recognizing, by physical layer hardware logic of an internal STP SATA bridge of the disk expander, a SATA device removal event.
7. The apparatus for hot plug management of a SATA device of claim 5, wherein the send module is further configured to:
recording detailed information of the connection loss of the SATA device through the internal system firmware of the disk expander, wherein the detailed information comprises the type of the SATA device and the port number of the connection loss.
8. The SATA device hot plug management apparatus of claim 5, wherein the OOB negotiation enable command is an SMP command and the OOB negotiation to enable the physical layer link is further configured to:
and after receiving an SMP command allowing OOB negotiation by the host system through the system firmware in the disk expander, restarting an OOB negotiation flow of a physical layer link of the STP SATA bridge.
CN202111032212.4A 2021-09-03 2021-09-03 SATA (Serial advanced technology attachment) equipment hot plug management method and device Active CN113672537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111032212.4A CN113672537B (en) 2021-09-03 2021-09-03 SATA (Serial advanced technology attachment) equipment hot plug management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111032212.4A CN113672537B (en) 2021-09-03 2021-09-03 SATA (Serial advanced technology attachment) equipment hot plug management method and device

Publications (2)

Publication Number Publication Date
CN113672537A CN113672537A (en) 2021-11-19
CN113672537B true CN113672537B (en) 2022-10-11

Family

ID=78548254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111032212.4A Active CN113672537B (en) 2021-09-03 2021-09-03 SATA (Serial advanced technology attachment) equipment hot plug management method and device

Country Status (1)

Country Link
CN (1) CN113672537B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577586A (en) * 2009-06-08 2009-11-11 中兴通讯股份有限公司 Method and system for realizing optical fibre interconnection based on SAS/SATA interface

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7356638B2 (en) * 2005-10-12 2008-04-08 International Business Machines Corporation Using out-of-band signaling to provide communication between storage controllers in a computer storage system
US7814245B2 (en) * 2006-10-05 2010-10-12 Lsi Corporation Apparatus and methods for improved SATA device interaction without a SAS expander
CN110580235B (en) * 2018-06-08 2021-04-27 杭州宏杉科技股份有限公司 SAS expander communication method and device
CN110399171B (en) * 2019-07-23 2022-06-07 苏州浪潮智能科技有限公司 Hard disk management method, system and related components
CN213365405U (en) * 2020-09-21 2021-06-04 深圳市国鑫恒运信息安全有限公司 Scalable high-performance 3U8 high-density server
CN112328440B (en) * 2020-11-13 2023-01-06 苏州浪潮智能科技有限公司 Hard disk physical position determining method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101577586A (en) * 2009-06-08 2009-11-11 中兴通讯股份有限公司 Method and system for realizing optical fibre interconnection based on SAS/SATA interface

Also Published As

Publication number Publication date
CN113672537A (en) 2021-11-19

Similar Documents

Publication Publication Date Title
US7536584B2 (en) Fault-isolating SAS expander
EP2052326B1 (en) Fault-isolating sas expander
US8423818B2 (en) Disk array apparatus and method for controlling the same
US8200872B2 (en) Method for deterministic SAS discovery and configuration
US7543191B2 (en) Method and apparatus for isolating bus failure
US7565570B2 (en) Disk array device and path failure detection method thereof
KR100958685B1 (en) Dma controller, node, data transfer control method, and computer readable recording medium for recording program
CN112559407B (en) STP link layer state machine optimization method
US20080082713A1 (en) Interrupt control system and storage control system using the same
JP4886601B2 (en) Apparatus and method for operating USB interface equipment
US20120233399A1 (en) Storage apparatus and method of controlling the same
US7610461B2 (en) Storage system with mainframe and open host performing remote copying by setting a copy group
US11100037B2 (en) Extended storage device based on PCIe bus
US7996206B2 (en) Serial attached small computer system interface (SAS) connection emulation for direct attached serial advanced technology attachment (SATA)
WO2019128784A1 (en) Nvme storage extension system
CN107294759A (en) server system and data access method
CN113672537B (en) SATA (Serial advanced technology attachment) equipment hot plug management method and device
JP4988213B2 (en) Apparatus for maintaining storage device, method of operating the apparatus, and computer-readable storage medium
JP2000132413A (en) Error retry method, error retry system and its recording medium
CN113691649B (en) Address configuration method and device of STP SATA bridge
US20120290875A1 (en) Methods and structure for storing errors for error recovery in a hardware controller
JPH06325008A (en) Computer system provided with reset function
JP3313667B2 (en) Failure detection method and method for redundant system
CN114637712B (en) Error processing method and device of SAS2SATA Bridge in EDFB mode
CN109240955B (en) Electronic device

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