[go: up one dir, main page]

CN103164168A - System and method for adjusting redundant array of independent disk card connected with serial attached small computer system interface (SAS) expander - Google Patents

System and method for adjusting redundant array of independent disk card connected with serial attached small computer system interface (SAS) expander Download PDF

Info

Publication number
CN103164168A
CN103164168A CN 201110424470 CN201110424470A CN103164168A CN 103164168 A CN103164168 A CN 103164168A CN 201110424470 CN201110424470 CN 201110424470 CN 201110424470 A CN201110424470 A CN 201110424470A CN 103164168 A CN103164168 A CN 103164168A
Authority
CN
China
Prior art keywords
raid
sas expander
card
raid card
information
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.)
Pending
Application number
CN 201110424470
Other languages
Chinese (zh)
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN 201110424470 priority Critical patent/CN103164168A/en
Publication of CN103164168A publication Critical patent/CN103164168A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

一种调整SAS扩展器连接磁盘阵列卡的系统及方法,该方法包括将磁盘阵列RAID卡分为多个种类,并根据SAS扩展器的配置参数为各种类的RAID卡创建对应的调整信息;当有RAID卡新连接SAS扩展器时,读取该RAID卡的信息;判断该RAID卡与SAS扩展器是否匹配;当不匹配时,根据该RAID卡的信息所对应的种类,读取其所对应的调整信息,并将该调整信息与RAID卡的信息写入一个新的固件中;将该新的固件存储到SAS扩展器的闪存芯片中,更新该SAS扩展器中的固件,使得该RAID卡与SAS扩展器匹配。通过本发明能够随意地变更RAID卡与SAS扩展器连接。

Figure 201110424470

A system and method for adjusting a SAS expander connected to a disk array card, the method comprising dividing the disk array RAID card into multiple types, and creating corresponding adjustment information for each type of RAID card according to the configuration parameters of the SAS expander; When a RAID card is newly connected to the SAS expander, read the information of the RAID card; judge whether the RAID card matches the SAS expander; corresponding adjustment information, and write the adjustment information and the information of the RAID card in a new firmware; store the new firmware in the flash memory chip of the SAS expander, update the firmware in the SAS expander, so that the RAID Cards mate with SAS expanders. The invention can freely change the connection between the RAID card and the SAS expander.

Figure 201110424470

Description

调整SAS扩展器连接磁盘阵列卡的系统及方法System and method for adjusting SAS expander to connect to disk array card

技术领域 technical field

本发明涉及一种调整SAS扩展器连接磁盘阵列卡的系统及方法。The invention relates to a system and method for adjusting a SAS expander connected to a disk array card.

背景技术 Background technique

目前独立冗余磁盘阵列(Redundant Array 0f Independent Disk,RAID)卡,即磁盘阵列卡,(以下简称RAID卡)通过SAS expander(Serial Attached Small Computer System Interface Expander,串行连接小型电子装置系统接口扩展器,以下简称SAS扩展器)可以连接多个扩展设备,例如HDD(Hard Disk Drive,硬盘驱动器)或其他SAS扩展器。首选需要根据RAID卡的属性或种类去调整SAS扩展器的固件(firmware),在该固件设置完成之后,SAS扩展器所连接的RAID卡就不能随意更换了。如果直接更换RAID卡连接SAS扩展器,容易导致SAS扩展器所连接的扩展设备的相关信息混乱或丢失。At present, the Redundant Array 0f Independent Disk (RAID) card, that is, the disk array card, (hereinafter referred to as the RAID card) connects the small electronic device system interface expander serially through the SAS expander (Serial Attached Small Computer System Interface Expander) , hereinafter referred to as SAS expander) can connect multiple expansion devices, such as HDD (Hard Disk Drive, hard disk drive) or other SAS expanders. The first option is to adjust the firmware of the SAS expander according to the properties or types of the RAID card. After the firmware is set, the RAID card connected to the SAS expander cannot be replaced at will. If you directly replace the RAID card and connect it to the SAS expander, information about the expansion device connected to the SAS expander may be confused or lost.

发明内容 Contents of the invention

鉴于以上内容,有必要提供一种调整SAS扩展器连接磁盘阵列卡的系统及方法,能够根据RAID卡的信息自动调整SAS扩展器相关信息,使得SAS扩展器可以随意更换所连接的RAID卡。In view of the above, it is necessary to provide a system and method for adjusting the connection of a SAS expander to a disk array card, which can automatically adjust the relevant information of the SAS expander according to the information of the RAID card, so that the SAS expander can freely replace the connected RAID card.

一种调整SAS扩展器连接磁盘阵列卡的方法,应用于包括SAS扩展器的电子装置中,该方法包括建立步骤:将磁盘阵列RAID卡分为多个种类,并根据SAS扩展器的配置参数为各种类的RAID卡创建对应的调整信息,将该调整信息存储在该电子装置的存储装置中;第一读取步骤:当有RAID卡新连接SAS扩展器时,读取与SAS扩展器新连接的RAID卡的信息;判断步骤:根据RAID卡的信息,判断该RAID卡与SAS扩展器是否匹配;第二读取步骤:当该RAID卡与SAS扩展器不匹配时,根据该RAID卡的信息所对应的RAID卡的种类,从存储装置中读取该RAID卡所对应的调整信息,并将该调整信息与该RAID卡的信息写入一个新的固件中;匹配步骤:将该新的固件存储到SAS扩展器的闪存芯片中,更新该SAS扩展器中的固件,使得该RAID卡与SAS扩展器匹配。A method for adjusting a SAS expander to connect to a disk array card, which is applied to an electronic device including a SAS expander, the method includes the steps of: dividing the disk array RAID card into multiple types, and according to the configuration parameters of the SAS expander as Various types of RAID cards create corresponding adjustment information, and store the adjustment information in the storage device of the electronic device; the first reading step: when a RAID card is newly connected to the SAS expander, read the new information related to the SAS expander. Information of the connected RAID card; judging step: according to the information of the RAID card, judge whether the RAID card matches the SAS expander; the second reading step: when the RAID card does not match the SAS expander, according to the information of the RAID card The type of the RAID card corresponding to the information, read the adjustment information corresponding to the RAID card from the storage device, and write the adjustment information and the information of the RAID card into a new firmware; matching step: the new firmware The firmware is stored in the flash memory chip of the SAS expander, and the firmware in the SAS expander is updated so that the RAID card matches the SAS expander.

一种调整SAS扩展器连接磁盘阵列卡的系统,运行于包括SAS扩展器的电子装置中,该系统包括:建立模块,用于将磁盘阵列RAID卡分为多个种类,并根据SAS扩展器的配置参数为各种类的RAID卡创建对应的调整信息,并将所述的调整信息存储于电子装置的存储装置中;第一读取模块,用于当有RAID卡新连接SAS扩展器时,读取与SAS扩展器新连接的RAID卡的信息;判断模块,用于根据RAID卡的信息,判断该RAID卡与SAS扩展器是否匹配;第二读取模块,用于当该RAID卡与SAS扩展器不匹配时,根据该RAID卡的信息所对应的RAID卡的种类,从存储装置中读取该RAID卡所对应的调整信息,并将该调整信息与该RAID卡的信息写入一个新的固件中;匹配模块,用于将该新的固件存储到SAS扩展器的闪存芯片中,更新该SAS扩展器中的固件,使得该RAID卡与SAS扩展器匹配。A system for adjusting a SAS expander to connect to a disk array card, running in an electronic device including a SAS expander, the system includes: a building module for dividing the disk array RAID card into multiple types, and according to the SAS expander The configuration parameters create corresponding adjustment information for various types of RAID cards, and store the adjustment information in the storage device of the electronic device; the first reading module is used for when the RAID card is newly connected to the SAS expander, Read the information of the newly connected RAID card with the SAS expander; the judging module is used to judge whether the RAID card matches the SAS expander according to the information of the RAID card; the second reading module is used for when the RAID card and the SAS When the expander does not match, read the adjustment information corresponding to the RAID card from the storage device according to the type of RAID card corresponding to the information of the RAID card, and write the adjustment information and the information of the RAID card into a new In the firmware; the matching module is used to store the new firmware in the flash memory chip of the SAS expander, and update the firmware in the SAS expander so that the RAID card matches the SAS expander.

相较于现有技术,本发明提供的调整SAS扩展器连接磁盘阵列卡的系统及方法,通过读取SAS扩展器所连接的RAID卡的信息,判断是否与SAS扩展器是否匹配,且在RAID卡与SAS不匹配时,根据RAID卡的信息自动调整SAS扩展器的相关信息,使得SAS扩展器可以不受限制地随意更换所连接的RAID卡。Compared with the prior art, the system and method for adjusting the SAS expander connected to the disk array card provided by the present invention can judge whether it matches the SAS expander by reading the information of the RAID card connected to the SAS expander, and in the RAID When the card does not match the SAS, the relevant information of the SAS expander will be automatically adjusted according to the information of the RAID card, so that the SAS expander can freely replace the connected RAID card without restriction.

附图说明 Description of drawings

图1是本发明调整SAS扩展器连接磁盘阵列卡的系统较佳实施例的运行环境示意图。FIG. 1 is a schematic view of the operating environment of a preferred embodiment of the system for adjusting a SAS expander connected to a disk array card according to the present invention.

图2是本发明调整SAS扩展器连接磁盘阵列卡的系统较佳实施例的功能模块图。Fig. 2 is a functional block diagram of a preferred embodiment of the system for adjusting the connection of the SAS expander to the disk array card of the present invention.

图3是本发明调整SAS扩展器连接磁盘阵列卡的方法较佳实施例的功能模块图。FIG. 3 is a functional module diagram of a preferred embodiment of a method for adjusting a SAS expander connected to a disk array card in the present invention.

主要元件符号说明Description of main component symbols

  电子装置 electronic device   1 1   处理器 Processor   10 10   调整系统 Adjust the system   20 20   存储装置 storage device   30 30   RAID卡 RAID card   40 40   SAS扩展器 SAS expander   50 50   建立模块 build module   200 200   第一读取模块 The first read module   202 202   判断模块 Judgment module   204 204   第二读取模块 The second reading module   206 206   匹配模块 match module   208 208

如下具体实施方式将结合上述附图进一步说明本发明。The following specific embodiments will further illustrate the present invention in conjunction with the above-mentioned drawings.

具体实施方式 Detailed ways

如图1所示,是本发明调整SAS扩展器连接磁盘阵列卡的系统较佳实施例的架构图。该调整SAS扩展器连接磁盘阵列卡的系统20(以下简称“调整系统20”)运行于电子装置1中。所述的电子装置1包括处理器10、存储装置30、RAID卡40以及SAS扩展器50。所述的处理器10用于处理电子装置1的数据和指令。所述的存储装置30用于存储电子装置1的数据。As shown in FIG. 1 , it is a structure diagram of a preferred embodiment of a system for adjusting a SAS expander connected to a disk array card in the present invention. The system 20 for adjusting the connection of the SAS expander to the disk array card (hereinafter referred to as the “adjustment system 20 ”) runs in the electronic device 1 . The electronic device 1 includes a processor 10 , a storage device 30 , a RAID card 40 and a SAS expander 50 . The processor 10 is used for processing data and instructions of the electronic device 1 . The storage device 30 is used for storing data of the electronic device 1 .

所述的处理器10与RAID卡40及SAS扩展器50连接。所述的RAID卡40可以通过SAS端口(图中未示出)与SAS扩展器50连接。所述SAS扩展器50可以连接一个或多个硬件设备(图中未示出),例如,HDD(Hard Disk Drive,硬盘驱动器)等。The processor 10 is connected with the RAID card 40 and the SAS expander 50 . The RAID card 40 can be connected to the SAS expander 50 through a SAS port (not shown in the figure). The SAS expander 50 can be connected to one or more hardware devices (not shown in the figure), for example, HDD (Hard Disk Drive, hard disk drive) and the like.

所述的RAID卡40用于管理连接于SAS扩展器50的硬盘驱动器,不同的RAID卡40所支持的RAID功能不同,即支持不同的RAID级别,该RAID级别包括RAID 0、RAID 1、RAID 3、RAID 4、RAID5、RAID 10、RAID50以及RAID 60等。所述SAS扩展器50的闪存芯片中保存有一个固件(firmware),该固件中保存着该SAS扩展器50的配置参数,包括该SAS扩展器50的物理层(Physical Layer,PHY)的配置信息,SAS扩展器50的地址信息,SAS扩展器50物理层的连接信息等,在本较佳实施例中,该固件中还保存了该SAS扩展器50正确连接一个RAID卡40后,该所连接的RAID卡40的相关参数,例如,该卡所支持的RAID级别等。所述的固件是一种嵌入在SAS扩展器中的软件,且该固件可以被更新与升级。Described RAID card 40 is used for managing the hard disk drive that is connected to SAS expander 50, and the RAID function supported by different RAID cards 40 is different, promptly supports different RAID levels, and this RAID level comprises RAID 0, RAID 1, RAID 3 , RAID 4, RAID 5, RAID 10, RAID 50, and RAID 60, etc. A firmware (firmware) is stored in the flash memory chip of the SAS expander 50, and the configuration parameters of the SAS expander 50 are stored in the firmware, including the configuration information of the physical layer (Physical Layer, PHY) of the SAS expander 50 , the address information of the SAS expander 50, the connection information of the SAS expander 50 physical layer, etc. In this preferred embodiment, after the SAS expander 50 is correctly connected to a RAID card 40, the connected Related parameters of the RAID card 40, for example, the RAID level supported by the card, and the like. The firmware is a software embedded in the SAS expander, and the firmware can be updated and upgraded.

如图2所示,是本发明调整SAS扩展器连接磁盘阵列卡的系统较佳实施例的功能模块图。所述的调整系统20包括建立模块200、第一读取模块202、判断模块204、第二读取模块206以及匹配模块208。以上各模块均以软件程序或指令的形式安装在电子装置1的存储装置30中或固化于该电子装置1的操作系统中,并由该电子装置1的处理器10所执行。本发明所称的模块是完成一特定功能的程序段,比程序更适合于描述软件在电子装置1中的执行过程。以下结合图3的流程图对各功能模块进行详细说明。As shown in FIG. 2 , it is a functional block diagram of a preferred embodiment of the system for adjusting a SAS expander connected to a disk array card in the present invention. The adjustment system 20 includes an establishment module 200 , a first reading module 202 , a judging module 204 , a second reading module 206 and a matching module 208 . All the above modules are installed in the storage device 30 of the electronic device 1 or solidified in the operating system of the electronic device 1 in the form of software programs or instructions, and are executed by the processor 10 of the electronic device 1 . The module referred to in the present invention is a program segment that completes a specific function, and is more suitable for describing the execution process of software in the electronic device 1 than a program. Each functional module will be described in detail below in conjunction with the flow chart of FIG. 3 .

如图3所示,是本发明调整SAS扩展器连接磁盘阵列卡的方法较佳实施例的流程图。As shown in FIG. 3 , it is a flowchart of a preferred embodiment of a method for adjusting a SAS expander connected to a disk array card in the present invention.

步骤S110,所述的建立模块200用于根据RAID卡40支持不同的RAID级别,将RAID卡40分为多个种类,并根据SAS扩展器50的配置参数为各种类的RAID卡40创建对应的调整信息,并将该调整信息存储于存储装置30中。该每个种类RAID卡对应的调整信息包括该种类RAID卡40所支持的RAID级别,针对该种类的RAID卡40所调整的SAS扩展器50的配置参数。例如,根据RAID卡40所支持不同RAID级别,RAID卡40可以分为只支持RAID 0及RAID1的IRRAID类、不支持RAID 0及RAID 1的IT RAID类、支持RAID0,RAID 1,RAID 5,RAID 5,RAID6,RAID 50以及RAID 60的MEGARAID类等多个种类。用户可以根据实际的情况以及或者个人的喜好对RAID卡的种类进行分类。Step S110, the establishment module 200 is used to divide the RAID card 40 into multiple types according to the different RAID levels supported by the RAID card 40, and create corresponding RAID cards 40 for each type according to the configuration parameters of the SAS expander 50. and store the adjustment information in the storage device 30. The adjustment information corresponding to each type of RAID card includes the RAID level supported by the type of RAID card 40 and the configuration parameters of the SAS expander 50 adjusted for the type of RAID card 40 . For example, according to the different RAID levels supported by the RAID card 40, the RAID card 40 can be divided into IRRAID that only supports RAID 0 and RAID 1, IT RAID that does not support RAID 0 and RAID 1, and supports RAID0, RAID 1, RAID 5, RAID 5, RAID6, RAID 50 and RAID 60 MEGARAID and other types. Users can classify the types of RAID cards according to the actual situation and personal preference.

步骤S111,当有RAID卡40新连接SAS扩展器50时,例如,更换RAID卡40时,所述的第一读取模块202通过处理器10读取得到与SAS扩展器50新连接的RAID卡40的信息,包括该RAID卡40所支持的RAID级别。Step S111, when a RAID card 40 is newly connected to the SAS expander 50, for example, when the RAID card 40 is replaced, the first reading module 202 reads the newly connected RAID card with the SAS expander 50 through the processor 10 The information of 40 includes the RAID level supported by the RAID card 40 .

步骤S112,所述的判断模块204判断该RAID卡40与SAS扩展器50是否匹配。所述的判断模块204通过判断该RAID卡40支持的级别是否与SAS扩展器50中闪存芯片的固件中记录的所支持的RAID级别是否一致。当RAID卡40所支持的RAID级别与SAS扩展器50固件中所支持的RAID级别一致时,所述的判断模块204判断RAID卡40与SAS扩展器50匹配,流程结束;当RAID卡40所支持的RAID级别与SAS扩展器50固件中所支持的RAID级别不一致时,所述的判断模块204判断RAID卡40与SAS扩展器50不匹配,进入步骤S113。Step S112 , the judging module 204 judges whether the RAID card 40 matches the SAS expander 50 . The judging module 204 judges whether the level supported by the RAID card 40 is consistent with the supported RAID level recorded in the firmware of the flash memory chip in the SAS expander 50 . When the RAID level supported by the RAID card 40 is consistent with the RAID level supported in the SAS expander 50 firmware, the judgment module 204 judges that the RAID card 40 matches the SAS expander 50, and the process ends; When the RAID level is inconsistent with the RAID level supported by the firmware of the SAS expander 50, the judging module 204 judges that the RAID card 40 does not match the SAS expander 50, and enters step S113.

步骤S113,根据该RAID卡40所支持的RAID卡级别所对应的种类,所述的第二读取模块206从存储装置30中读取该RAID卡40所对应的调整信息,并将该调整信息与该RAID卡40的信息写入一个新的固件中。Step S113, according to the type corresponding to the RAID card level supported by the RAID card 40, the second reading module 206 reads the adjustment information corresponding to the RAID card 40 from the storage device 30, and stores the adjustment information The information related to the RAID card 40 is written in a new firmware.

步骤S114,所述的匹配模块208将该新的固件存储到SAS扩展器50的闪存芯片中,更新该SAS扩展器50中的固件,使得该RAID卡40与SAS扩展器匹配。Step S114, the matching module 208 stores the new firmware in the flash chip of the SAS expander 50, and updates the firmware in the SAS expander 50, so that the RAID card 40 matches the SAS expander.

应说明的是,在SAS扩展器50中的固件更新后需要被重启才能正常使用。It should be noted that after the firmware in the SAS expander 50 is updated, it needs to be restarted before it can be used normally.

另外,如果该SAS扩展器50之前没有连接过RAID卡40,当有RAID卡40连接该SAS扩展器50时,SAS扩展器50是没有记录RAID卡40的种类和所支持的RAID级别等有关RAID卡的信息的,因此,此时也是判断该SAS扩展器50与RAID卡40不匹配,需要更新该SAS扩展器50中的固件。In addition, if the SAS expander 50 has not been connected to the RAID card 40 before, when a RAID card 40 is connected to the SAS expander 50, the SAS expander 50 does not record the type of the RAID card 40 and the supported RAID level. Therefore, it is also judged that the SAS expander 50 does not match the RAID card 40 at this time, and the firmware in the SAS expander 50 needs to be updated.

最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或等同替换,而不脱离本发明技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation. Although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be The scheme shall be modified or equivalently replaced without departing from the spirit and scope of the technical scheme of the present invention.

Claims (8)

1.一种调整SAS扩展器连接磁盘阵列卡的方法,应用于电子装置中,其特征在于,该方法包括:1. A method for adjusting a SAS expander to connect a disk array card, applied in an electronic device, is characterized in that the method comprises: 建立步骤:将磁盘阵列RAID卡分为多个种类,并根据SAS扩展器的配置参数为各种类的RAID卡创建对应的调整信息,将该调整信息存储在该电子装置的存储装置中;Establishing steps: dividing the disk array RAID card into multiple types, and creating corresponding adjustment information for each type of RAID card according to the configuration parameters of the SAS expander, and storing the adjustment information in the storage device of the electronic device; 第一读取步骤:当有RAID卡新连接SAS扩展器时,读取与SAS扩展器新连接的RAID卡的信息;The first reading step: when a RAID card is newly connected to the SAS expander, read the information of the RAID card newly connected to the SAS expander; 判断步骤:根据RAID卡的信息,判断该RAID卡与SAS扩展器是否匹配;Judgment step: According to the information of the RAID card, judge whether the RAID card matches the SAS expander; 第二读取步骤:当该RAID卡与SAS扩展器不匹配时,根据该RAID卡的信息所对应的RAID卡的种类,从存储装置中读取该RAID卡所对应的调整信息,并将该调整信息与该RAID卡的信息写入一个新的固件中;The second reading step: when the RAID card does not match the SAS expander, read the adjustment information corresponding to the RAID card from the storage device according to the type of the RAID card corresponding to the information of the RAID card, and store the Write the adjustment information and the information of the RAID card into a new firmware; 匹配步骤:将该新的固件存储到SAS扩展器的闪存芯片中,更新该SAS扩展器中的固件,使得该RAID卡与SAS扩展器匹配。Matching step: storing the new firmware in the flash memory chip of the SAS expander, updating the firmware in the SAS expander, so that the RAID card matches the SAS expander. 2.如权利要求1所述的调整SAS扩展器连接磁盘阵列卡的方法,其特征在于,所述的建立步骤是根据RAID卡所支持的不同的RAID级别,来对RAID卡进行分类。2. The method for adjusting a SAS expander connected to a disk array card as claimed in claim 1, wherein said establishing step is to classify the RAID cards according to the different RAID levels supported by the RAID cards. 3.如权利要求2所述的调整SAS扩展器连接磁盘阵列卡的方法,其特征在于,所述的各种类RAID卡对应的调整信息包括该类RAID卡所支持的RAID级别,以及针对该类的RAID卡所调整的SAS扩展器的配置参数。3. The method for adjusting a SAS expander connected to a disk array card as claimed in claim 2, wherein the adjustment information corresponding to the various types of RAID cards includes the RAID level supported by the type of RAID card, and for the The configuration parameters of the SAS expander adjusted by the type of RAID card. 4.如权利要求2所述的调整SAS扩展器连接磁盘阵列卡的方法,其特征在于,所述的判断步骤是通过判断该RAID卡所支持的RAID级别与SAS扩展器闪存芯片的固件中记录的所支持的RAID级别是否一致来判断RAID卡与SAS扩展器是否匹配的。4. the method for adjusting SAS expander to connect disk array card as claimed in claim 2, is characterized in that, described judging step is by judging the RAID level that this RAID card supports and the firmware record in SAS expander flash memory chip Check whether the supported RAID level is the same to determine whether the RAID card matches the SAS expander. 5.一种调整SAS扩展器连接磁盘阵列卡的系统,应用于电子装置中,其特征在于,该系统包括:5. A system for adjusting a SAS expander to connect a disk array card, applied in an electronic device, is characterized in that the system includes: 建立模块,用于将磁盘阵列RAID卡分为多个种类,并根据SAS扩展器的配置参数为各种类的RAID卡创建对应的调整信息,并将所述的调整信息存储于电子装置的存储装置中;Establishing a module for dividing the disk array RAID card into multiple types, and creating corresponding adjustment information for each type of RAID card according to the configuration parameters of the SAS expander, and storing the adjustment information in the storage of the electronic device device; 第一读取模块,用于当有RAID卡新连接SAS扩展器时,读取与SAS扩展器新连接的RAID卡的信息;The first reading module is used to read the information of the RAID card newly connected to the SAS expander when the RAID card is newly connected to the SAS expander; 判断模块,用于根据RAID卡的信息,判断该RAID卡与SAS扩展器是否匹配;Judging module, used for judging whether the RAID card matches the SAS expander according to the information of the RAID card; 第二读取模块,用于当该RAID卡与SAS扩展器不匹配时,根据该RAID卡的信息所对应的RAID卡的种类,从存储装置中读取该RAID卡所对应的调整信息,并将该调整信息与该RAID卡的信息写入一个新的固件中;The second reading module is used to read the adjustment information corresponding to the RAID card from the storage device according to the type of the RAID card corresponding to the information of the RAID card when the RAID card does not match the SAS expander, and Write the adjustment information and the information of the RAID card into a new firmware; 匹配模块,用于将该新的固件存储到SAS扩展器的闪存芯片中,更新该SAS扩展器中的固件,使得该RAID卡与SAS扩展器匹配。The matching module is configured to store the new firmware in the flash memory chip of the SAS expander, and update the firmware in the SAS expander so that the RAID card matches the SAS expander. 6.如权利要求5所述的调整SAS扩展器连接磁盘阵列卡的系统,其特征在于,所述的建立模块是根据RAID卡所支持的不同的RAID级别,来对RAID卡进行分类。6. The system for adjusting a SAS expander connected to a disk array card as claimed in claim 5, wherein said building module classifies the RAID cards according to the different RAID levels supported by the RAID cards. 7.如权利要求6所述的调整SAS扩展器连接磁盘阵列卡的系统,其特征在于,所述的各种类RAID卡对应的调整信息包括该类RAID卡所支持的RAID级别,以及针对该类的RAID卡所调整的SAS扩展器的配置参数。7. The system for adjusting a SAS expander connected to a disk array card as claimed in claim 6, wherein the adjustment information corresponding to each type of RAID card includes the RAID level supported by the type of RAID card, and the corresponding adjustment information for the type of RAID card. The configuration parameters of the SAS expander adjusted by the type of RAID card. 8.如权利要求6所述的调整SAS扩展器连接磁盘阵列卡的系统,其特征在于,所述的判断模块是通过判断该RAID卡所支持的RAID级别与SAS扩展器中闪存芯片的固件中记录的所支持的RAID级别是否一致来判断RAID卡与SAS扩展器是否匹配的。8. the adjustment SAS expander as claimed in claim 6 connects the system of disk array card, it is characterized in that, described judging module is by judging the RAID level that this RAID card supports and the firmware of flash chip in the SAS expander Check whether the supported RAID levels recorded are consistent to determine whether the RAID card matches the SAS expander.
CN 201110424470 2011-12-17 2011-12-17 System and method for adjusting redundant array of independent disk card connected with serial attached small computer system interface (SAS) expander Pending CN103164168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110424470 CN103164168A (en) 2011-12-17 2011-12-17 System and method for adjusting redundant array of independent disk card connected with serial attached small computer system interface (SAS) expander

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110424470 CN103164168A (en) 2011-12-17 2011-12-17 System and method for adjusting redundant array of independent disk card connected with serial attached small computer system interface (SAS) expander

Publications (1)

Publication Number Publication Date
CN103164168A true CN103164168A (en) 2013-06-19

Family

ID=48587297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110424470 Pending CN103164168A (en) 2011-12-17 2011-12-17 System and method for adjusting redundant array of independent disk card connected with serial attached small computer system interface (SAS) expander

Country Status (1)

Country Link
CN (1) CN103164168A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130159606A1 (en) * 2011-12-16 2013-06-20 Hon Hai Precision Industry Co., Ltd. System and method for controlling sas expander to electronically connect to a raid card
CN105045529A (en) * 2015-06-25 2015-11-11 浪潮(北京)电子信息产业有限公司 Operation and maintenance management system and method for computer disk array cards
CN105760255A (en) * 2016-02-14 2016-07-13 北京艾森思科技有限公司 RAID card configuration information backup and recovery method and device
WO2017096715A1 (en) * 2015-12-11 2017-06-15 英业达科技有限公司 Apparatus and method for configuring configuration files of expanders of storage system
CN108595127A (en) * 2018-05-09 2018-09-28 杭州宏杉科技股份有限公司 A kind of method and device dividing SAS port subregion
CN115033182A (en) * 2022-06-29 2022-09-09 联想(北京)有限公司 Processing method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130159606A1 (en) * 2011-12-16 2013-06-20 Hon Hai Precision Industry Co., Ltd. System and method for controlling sas expander to electronically connect to a raid card
US9086806B2 (en) * 2011-12-16 2015-07-21 Hon Hai Precision Industry Co., Ltd. System and method for controlling SAS expander to electronically connect to a RAID card
CN105045529A (en) * 2015-06-25 2015-11-11 浪潮(北京)电子信息产业有限公司 Operation and maintenance management system and method for computer disk array cards
CN105045529B (en) * 2015-06-25 2019-05-24 浪潮(北京)电子信息产业有限公司 A system and method for operation and maintenance management of computer disk array card
WO2017096715A1 (en) * 2015-12-11 2017-06-15 英业达科技有限公司 Apparatus and method for configuring configuration files of expanders of storage system
US10642514B2 (en) 2015-12-11 2020-05-05 Inventec (Pudong) Technology Corporation Device and method for configuring expander configuration file of a storage system
CN105760255A (en) * 2016-02-14 2016-07-13 北京艾森思科技有限公司 RAID card configuration information backup and recovery method and device
CN105760255B (en) * 2016-02-14 2019-01-22 北京艾森思科技有限公司 Backup and restore method and device for RAID card configuration information
CN108595127A (en) * 2018-05-09 2018-09-28 杭州宏杉科技股份有限公司 A kind of method and device dividing SAS port subregion
CN108595127B (en) * 2018-05-09 2021-07-30 杭州宏杉科技股份有限公司 Method and device for dividing SAS port partition
CN115033182A (en) * 2022-06-29 2022-09-09 联想(北京)有限公司 Processing method and device
CN115033182B (en) * 2022-06-29 2025-12-19 联想(北京)有限公司 Processing method and device

Similar Documents

Publication Publication Date Title
US8661306B2 (en) Baseboard management controller and memory error detection method of computing device utilized thereby
US8788800B2 (en) OS processing method, system and non-transitory computer readable storage medium thereof
US20120054539A1 (en) Computing device and restarting method of the computing device
CN103823642B (en) Method and system for flash balanced storage
CN103164168A (en) System and method for adjusting redundant array of independent disk card connected with serial attached small computer system interface (SAS) expander
US8868793B2 (en) SAS expander system and method for dynamically allocating SAS addresses to SAS expander devices
US20120042307A1 (en) System and method for creating memory interface of computing device
TW201413448A (en) Data processing method, memory controller and memory storage device
CN101930372A (en) Program updating system and method
TWI479505B (en) Data management method, memory controller and memory storage apparatus
CN102326141A (en) Processing method and apparatus for raid configuration information and raid controller
US20120271983A1 (en) Computing device and data synchronization method
TW201508472A (en) System and method of performing firmware update test
CN101923441A (en) Method for processing writing request of redundant array of hybrid magnetic disc, controller and storage system thereof
TWI459198B (en) Memory storage device, memory controller thereof, and method for identifying valid data
CN103699491A (en) Data storage method, memory controller and memory storage device
CN102467420A (en) System and method for storing and restoring configuration information of external board card
CN104133640B (en) From the fast quick-recovery of dormancy
US20140164845A1 (en) Host computer and method for testing sas expanders
WO2015154415A1 (en) Method and device for creating update package
US20140164822A1 (en) Host computer and method for managing sas expanders of sas expander storage system
CN101963931A (en) Hard disk testing method under extensible firmware interface
CN102135860A (en) Automatic planning method of hard disk capacity
WO2018041151A1 (en) Data storage method and apparatus, and nonvolatile memory
CN116501259A (en) Disk group active-active synchronization method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C05 Deemed withdrawal (patent law before 1993)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130619