[go: up one dir, main page]

CN104932922A - Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk - Google Patents

Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk Download PDF

Info

Publication number
CN104932922A
CN104932922A CN201510341403.7A CN201510341403A CN104932922A CN 104932922 A CN104932922 A CN 104932922A CN 201510341403 A CN201510341403 A CN 201510341403A CN 104932922 A CN104932922 A CN 104932922A
Authority
CN
China
Prior art keywords
bootoption
hard disk
sas card
sas
sasindex
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
CN201510341403.7A
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.)
IEIT Systems Co Ltd
Original Assignee
Inspur Electronic Information 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201510341403.7A priority Critical patent/CN104932922A/en
Publication of CN104932922A publication Critical patent/CN104932922A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

本发明提供了一种调整SAS卡硬盘的启动顺序的方法及装置,该方法包括:预先确定最先启动的最先SAS卡硬盘;确定所有SAS卡硬盘,获取所有SAS卡硬盘的索引值SASIndex;遍历所有的启动设备选项BootOption,确定每个SASIndex对应的BootOption;根据每个SASIndex对应的SAS卡硬盘和每个SASIndex对应的BootOption,确定每个SAS卡硬盘对应的BootOption;根据确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的优先级Priority的值。通过本发明提供的一种调整SAS卡硬盘的启动顺序的方法及装置,能够调整SAS卡硬盘的启动顺序。

The present invention provides a method and device for adjusting the startup sequence of hard disks with SAS cards. The method includes: predetermining the first hard disks with SAS cards to be started first; determining all hard disks with SAS cards, and obtaining the index value SASIndex of all hard disks with SAS cards; Traverse all the boot device options BootOption, determine the BootOption corresponding to each SASIndex; determine the BootOption corresponding to each SAS card hard disk according to the SAS card hard disk corresponding to each SASIndex and the BootOption corresponding to each SASIndex; For the SAS card hard disk first, determine the value of Priority in the BootOption corresponding to all SAS card hard disks. The startup sequence of the SAS card hard disk can be adjusted through the method and device for adjusting the startup sequence of the SAS card hard disk provided by the present invention.

Description

一种调整SAS卡硬盘启动顺序的方法及装置A method and device for adjusting the startup sequence of a SAS card hard disk

技术领域technical field

本发明涉及计算机技术领域,特别涉及一种调整SAS卡硬盘启动顺序的方法及装置。The invention relates to the technical field of computers, in particular to a method and a device for adjusting the startup sequence of a SAS card hard disk.

背景技术Background technique

SAS(Serial Attached SCSI,串行连接SCSI)是新一代的SCSI技术,和现在流行的SATA(Serial Advanced Technology Attachment,串行高级技术附件)硬盘相同,都是采用串行技术以获得更高的传输速度,并通过缩短连结线改善内部空间等。SAS是并行SCSI接口之后开发出的全新接口。此接口的设计是为了改善存储系统的效能、可用性和扩充性,提供与串行ATA硬盘的兼容性。作为一种新的存储接口技术,SAS不仅在功能上可与FibreChannel媲美,还具有兼容SATA的能力,因而被业界公认为取代并行SCSI的不二之选。SAS的优势主要体现在:灵活性,可以兼容SATA,为用户节省投资;扩展性,一个SAS域最多可以直连16384个设备。基于SAS接口技术的以上优点,SAS卡在服务器领域具有非常广泛的应用,SAS卡通过背板管理和连接硬盘,为服务器系统提供高容量的存储设备。SAS (Serial Attached SCSI, Serial Attached SCSI) is a new generation of SCSI technology, which is the same as the popular SATA (Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) hard disk, all of which use serial technology to obtain higher transmission speed, and improved internal space by shortening the connecting lines, etc. SAS is a new interface developed after the parallel SCSI interface. This interface is designed to improve the performance, usability and expandability of the storage system and provide compatibility with Serial ATA hard disks. As a new storage interface technology, SAS is not only comparable to FibreChannel in function, but also compatible with SATA, so it is recognized by the industry as the best choice to replace parallel SCSI. The advantages of SAS are mainly reflected in: flexibility, compatible with SATA, saving investment for users; scalability, a SAS domain can directly connect up to 16384 devices. Based on the above advantages of SAS interface technology, SAS cards are widely used in the server field. SAS cards manage and connect hard disks through the backplane to provide high-capacity storage devices for server systems.

一般来说,一个SAS卡上会搭配多个硬盘,根据使用习惯,一般在物理连接的第一个硬盘中安装操作系统。在某些SAS卡应用过程中,当搭配多个硬盘时,无法保证硬盘启动顺序与硬盘的物理连接顺序一致。举例来说,假设将操作系统安装在物理连接顺序的第一个硬盘上,当下次启动时,可能会使该硬盘的启动顺序会发生变化,第一个启动的硬盘可能不是物理连接的第一个硬盘,无法保证硬盘启动顺序与硬盘的物理连接顺序一致,造成无法启动操作系统,现有技术中,无法对SAS卡硬盘的启动顺序进行调整。Generally speaking, a SAS card will be equipped with multiple hard disks. According to usage habits, the operating system is generally installed on the first hard disk that is physically connected. In the application process of some SAS cards, when multiple hard disks are used, the boot sequence of the hard disks cannot be guaranteed to be consistent with the physical connection sequence of the hard disks. For example, assuming that the operating system is installed on the first hard disk in the physical connection sequence, the startup sequence of the hard disk may change when the next startup is performed, and the first hard disk to start may not be the first hard disk in the physical connection. hard disk, it is impossible to ensure that the hard disk startup sequence is consistent with the physical connection sequence of the hard disk, resulting in the inability to start the operating system. In the prior art, the startup sequence of the SAS card hard disk cannot be adjusted.

发明内容Contents of the invention

有鉴于此,本发明提供了一种调整SAS卡硬盘的启动顺序的方法及装置,能够调整SAS卡硬盘的启动顺序。In view of this, the present invention provides a method and device for adjusting the startup sequence of the SAS card hard disk, which can adjust the startup sequence of the SAS card hard disk.

一方面,本发明提供了一种调整SAS卡硬盘的启动顺序的方法,包括:预先确定最先启动的最先SAS卡硬盘,还包括:On the one hand, the present invention provides a method for adjusting the startup sequence of the SAS card hard disk, including: predetermining the first SAS card hard disk to be started first, and further including:

S1:确定所有SAS卡硬盘,获取所有SAS卡硬盘的索引值SASIndex;S1: Determine all SAS card hard disks, and obtain the index value SASIndex of all SAS card hard disks;

S2:遍历所有的启动设备选项BootOption,确定每个SASIndex对应的BootOption;S2: traverse all the boot device options BootOption, and determine the BootOption corresponding to each SASIndex;

S3:根据每个SASIndex对应的SAS卡硬盘和每个SASIndex对应的BootOption,确定每个SAS卡硬盘对应的BootOption;S3: According to the SAS card hard disk corresponding to each SASIndex and the BootOption corresponding to each SASIndex, determine the BootOption corresponding to each SAS card hard disk;

S4:根据确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的优先级Priority的值。S4: Determine the values of Priority in the BootOption corresponding to all the SAS card hard disks according to the determined first SAS card hard disk.

进一步地,所述S1中,所述确定所有SAS卡硬盘,包括:Further, in the S1, the determination of all SAS card hard disks includes:

查询基本输入输出系统BIOS中的启动设备选项列表BBS Table,确定所述BBS Table中的所有启动设备的识别信息,其中,所述识别信息包括:总线BUS序号、设备DEV序号、功能FUN序号中的一个或多个;Query the boot device option list BBS Table in the basic input and output system BIOS to determine the identification information of all boot devices in the BBS Table, wherein the identification information includes: bus BUS serial number, equipment DEV serial number, function FUN serial number one or more;

根据当前启动设备的识别信息,访问当前启动设备,获取当前启动设备的类型信息,其中,所述类型信息包括:类型Class、子类型SubClass;According to the identification information of the current boot device, access the current boot device, and obtain the type information of the current boot device, wherein the type information includes: type Class, subtype SubClass;

根据每个启动设备的类型信息,确定启动设备中的所有SAS卡硬盘。According to the type information of each boot device, determine all the hard disks of the SAS card in the boot device.

进一步地,在所述S3之后,还包括:Further, after the S3, it also includes:

获取每个SAS卡硬盘对应的BootOption中的Priority,将所有的Priority的值按照大小顺序进行排序;Obtain the Priority in the BootOption corresponding to each SAS card hard disk, and sort all the Priority values in order of size;

所述S4,包括:The S4, including:

根据所述最先SAS卡硬盘和所述排序后的所有的Priority的值,给所有SAS卡硬盘对应的BootOption中的Priority赋值。According to the first SAS card hard disk and all Priority values after the sorting, assign values to the Priority in the BootOption corresponding to all the SAS card hard disks.

进一步地,所述S1,包括:遍历BIOS中的BBS Table,从所述BBS Table中获取所有SAS卡硬盘的SASIndex;Further, said S1 includes: traversing the BBS Table in the BIOS, and obtaining the SASIndex of all SAS card hard disks from the BBS Table;

和/或,and / or,

所述S2中,所述确定每个SASIndex对应的BootOption,包括:判断当前SASIndex与当前BootOption中的BBSIndex是否相等,如果是,则确定当前SASIndex与当前BootOption相对应,否则,确定当前SASIndex与当前BootOption不相对应。In the S2, the determination of the BootOption corresponding to each SASIndex includes: judging whether the current SASIndex is equal to the BBSIndex in the current BootOption, if yes, then determining that the current SASIndex corresponds to the current BootOption, otherwise, determining the current SASIndex and the current BootOption Does not correspond.

进一步地,还包括:获取所有SAS卡硬盘的物理连接顺序;Further, it also includes: obtaining the physical connection sequence of all SAS card hard disks;

所述S4,包括:根据所述物理连接顺序和确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的优先级Priority的值。The S4 includes: according to the physical connection sequence and the determined first hard disk of the SAS card, determining the value of Priority in the BootOption corresponding to all the hard disks of the SAS card.

另一方面,本发明提供了一种调整SAS卡硬盘的启动顺序的装置,包括:On the other hand, the present invention provides a kind of device that adjusts the startup sequence of SAS card hard disk, comprising:

第一确定单元,用于确定最先启动的最先SAS卡硬盘;The first determination unit is used to determine the earliest SAS card hard disk that starts first;

第一获取单元,用于确定所有SAS卡硬盘,获取所有SAS卡硬盘的索引值SASIndex;The first obtaining unit is used to determine all SAS card hard disks, and obtain the index value SASIndex of all SAS card hard disks;

第二确定单元,用于遍历所有的启动设备选项BootOption,确定每个SASIndex对应的BootOption;The second determination unit is used to traverse all boot device options BootOption and determine the BootOption corresponding to each SASIndex;

第三确定单元,用于根据每个SASIndex对应的SAS卡硬盘和每个SASIndex对应的BootOption,确定每个SAS卡硬盘对应的BootOption;The third determining unit is used to determine the BootOption corresponding to each SAS card hard disk according to the SAS card hard disk corresponding to each SASIndex and the BootOption corresponding to each SASIndex;

第四确定单元,用于根据确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的优先级Priority的值。The fourth determination unit is configured to determine the value of Priority in the BootOption corresponding to all the SAS card hard disks according to the determined first SAS card hard disk.

进一步地,所述第一获取单元,包括:Further, the first acquisition unit includes:

查询单元,用于查询基本输入输出系统BIOS中的启动设备选项列表BBS Table,确定所述BBS Table中的所有启动设备的识别信息,其中,所述识别信息包括:总线BUS序号、设备DEV序号、功能FUN序号中的一个或多个;The query unit is used to query the boot device option list BBS Table in the basic input and output system BIOS, and determine the identification information of all boot devices in the BBS Table, wherein the identification information includes: bus BUS serial number, equipment DEV serial number, One or more of the function FUN serial numbers;

第二获取单元,用于根据当前启动设备的识别信息,访问当前启动设备,获取当前启动设备的类型信息,其中,所述类型信息包括:类型Class、子类型SubClass;The second acquisition unit is configured to access the current boot device according to the identification information of the current boot device, and acquire type information of the current boot device, wherein the type information includes: type Class, subtype SubClass;

第五确定单元,用于根据每个启动设备的类型信息,确定启动设备中的所有SAS卡硬盘。The fifth determining unit is configured to determine all SAS card hard disks in the boot device according to the type information of each boot device.

进一步地,还包括:Further, it also includes:

第三获取单元,用于获取每个SAS卡硬盘对应的BootOption中的Priority,将所有的Priority的值按照大小顺序进行排序;The third obtaining unit is used to obtain the Priority in the BootOption corresponding to each SAS card hard disk, and sort all the Priority values in order of size;

所述第四确定单元,用于根据所述最先SAS卡硬盘和所述排序后的所有的Priority的值,给所有SAS卡硬盘对应的BootOption中的Priority赋值。The fourth determining unit is configured to assign a value to Priority in BootOption corresponding to all SAS card hard disks according to the first SAS card hard disk and the sorted values of Priority.

进一步地,所述第一获取单元,用于遍历BIOS中的BBS Table,从所述BBS Table中获取所有SAS卡硬盘的SASIndex;Further, the first obtaining unit is used to traverse the BBS Table in the BIOS, and obtain the SASIndex of all SAS card hard disks from the BBS Table;

进一步地,所述第二确定单元,在执行所述确定每个SASIndex对应的BootOption时,具体执行:判断当前SASIndex与当前BootOption中的BBSIndex是否相等,当判断结果为是时,确定当前SASIndex与当前BootOption相对应,当判断结果为否时,确定当前SASIndex与当前BootOption不相对应。Further, the second determination unit, when performing the determination of the BootOption corresponding to each SASIndex, specifically executes: judging whether the current SASIndex is equal to the BBSIndex in the current BootOption, and when the judgment result is yes, determining the current SASIndex and the current BBSIndex The BootOption corresponds, and when the judgment result is no, it is determined that the current SASIndex does not correspond to the current BootOption.

进一步地,还包括:第四获取单元,用于获取所有SAS卡硬盘的物理连接顺序;Further, it also includes: a fourth acquiring unit, configured to acquire the physical connection sequence of all SAS card hard disks;

所述第四确定单元,用于根据所述物理连接顺序和确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的优先级Priority的值。The fourth determining unit is configured to determine the value of Priority in BootOption corresponding to all SAS card hard disks according to the physical connection sequence and the determined first SAS card hard disk.

本发明提供了一种调整SAS卡硬盘的启动顺序的方法及装置,确定所有SAS卡硬盘,获取所有SAS卡硬盘的SASIndex,通过SASIndex找到每个SAS卡硬盘对应的BootOption,根据预先确定出的最先启动的最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的Priority的值,实现对SAS卡硬盘的启动顺序的调整。The present invention provides a method and device for adjusting the boot sequence of hard disks with SAS cards. All hard disks with SAS cards are determined, the SASIndex of all hard disks with SAS cards is obtained, and the corresponding BootOption of each hard disk with SAS cards is found through SASIndex. The hard disk with the SAS card that starts first determines the value of Priority in the BootOption corresponding to all the hard disks with the SAS card to adjust the boot sequence of the hard disk with the SAS card.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are For some embodiments of the present invention, those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明一实施例提供的一种调整SAS卡硬盘的启动顺序的方法的流程图;Fig. 1 is a flow chart of a method for adjusting the startup sequence of a SAS card hard disk provided by an embodiment of the present invention;

图2是本发明一实施例提供的另一种调整SAS卡硬盘的启动顺序的方法的流程图;Fig. 2 is a flow chart of another method for adjusting the startup sequence of the SAS card hard disk provided by an embodiment of the present invention;

图3是本发明一实施例提供的一种调整SAS卡硬盘的启动顺序的装置的示意图;Fig. 3 is a schematic diagram of a device for adjusting the startup sequence of a SAS card hard disk provided by an embodiment of the present invention;

图4是本发明一实施例提供的另一种调整SAS卡硬盘的启动顺序的装置的示意图。Fig. 4 is a schematic diagram of another device for adjusting the startup sequence of the hard disk of the SAS card provided by an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, 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 in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the protection of the present invention. scope.

如图1所示,本发明实施例提供了一种调整SAS卡硬盘的启动顺序的方法,该方法可以包括以下步骤:As shown in Figure 1, the embodiment of the present invention provides a method for adjusting the startup sequence of the SAS card hard disk, the method may include the following steps:

S0:预先确定最先启动的最先SAS卡硬盘;S0: Predetermine the hard disk of the first SAS card to be started first;

S1:确定所有SAS卡硬盘,获取所有SAS卡硬盘的SASIndex(索引值);S1: Determine all SAS card hard disks, and obtain the SASIndex (index value) of all SAS card hard disks;

S2:遍历所有的BootOption(启动设备选项),确定每个SASIndex对应的BootOption;S2: traverse all BootOptions (boot device options), and determine the BootOption corresponding to each SASIndex;

S3:根据每个SASIndex对应的SAS卡硬盘和每个SASIndex对应的BootOption,确定每个SAS卡硬盘对应的BootOption;S3: According to the SAS card hard disk corresponding to each SASIndex and the BootOption corresponding to each SASIndex, determine the BootOption corresponding to each SAS card hard disk;

S4:根据确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的Priority(优先级)的值。S4: According to the determined first SAS card hard disk, determine the Priority (priority) value in BootOption corresponding to all SAS card hard disks.

通过本发明实施例提供的一种调整SAS卡硬盘的启动顺序的方法,确定所有SAS卡硬盘,获取所有SAS卡硬盘的SASIndex,通过SASIndex找到每个SAS卡硬盘对应的BootOption,根据预先确定出的最先启动的最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的Priority的值,实现对SAS卡硬盘的启动顺序的调整。Through a method for adjusting the startup sequence of the SAS card hard disk provided by the embodiment of the present invention, all the SAS card hard disks are determined, the SASIndex of all the SAS card hard disks is obtained, and the BootOption corresponding to each SAS card hard disk is found through the SASIndex, according to the predetermined The hard disk with the first SAS card started first determines the value of Priority in the BootOption corresponding to all the hard disks with the SAS card to adjust the boot sequence of the hard disk with the SAS card.

为了能够获得所有SAS卡硬盘的SASIndex,需要找到物理主机上连接的SAS卡硬盘,可以通过以下方式实现:所述S1中,所述确定所有SAS卡硬盘,包括:In order to obtain the SASIndex of all SAS card hard disks, it is necessary to find the SAS card hard disks connected to the physical host, which can be achieved in the following manner: in the S1, the determination of all the SAS card hard disks includes:

BIOS(Basic Input Output System,基本输入输出系统)中的BBS Table(BIOS Boot Select Table,启动设备选项列表),确定所述BBS Table中的所有启动设备的识别信息,其中,所述识别信息包括:BUS(总线)序号、DEV(设备)序号、FUN(功能)序号中的一个或多个;BBS Table (BIOS Boot Select Table, boot device option list) in BIOS (Basic Input Output System, Basic Input Output System) determines the identification information of all boot devices in the BBS Table, wherein the identification information includes: One or more of BUS (bus) serial number, DEV (device) serial number, and FUN (function) serial number;

根据当前启动设备的识别信息,访问当前启动设备,获取当前启动设备的类型信息,其中,所述类型信息包括:Class(类型)、SubClass(子类型);According to the identification information of the current boot device, access the current boot device to obtain the type information of the current boot device, wherein the type information includes: Class (type), SubClass (subtype);

根据每个启动设备的类型信息,确定启动设备中的所有SAS卡硬盘。According to the type information of each boot device, determine all the hard disks of the SAS card in the boot device.

在一种可能的实现方式中,所述S1,包括:遍历BIOS中的BBS Table,从所述BBS Table中获取所有SAS卡硬盘的SASIndex。In a possible implementation manner, the S1 includes: traversing the BBS Table in the BIOS, and obtaining the SASIndex of all SAS card hard disks from the BBS Table.

在一种可能的实现方式中,可以利用现有的Priority来重新给每个SAS卡硬盘的Priority赋值。在所述S3之后,还包括:获取每个SAS卡硬盘对应的BootOption中的Priority,将所有的Priority的值按照大小顺序进行排序;In a possible implementation manner, the existing Priority may be used to reassign the Priority of each SAS card hard disk. After the S3, it also includes: obtaining the Priority in the BootOption corresponding to each SAS card hard disk, and sorting all the Priority values in order of size;

所述S4,包括:根据所述最先SAS卡硬盘和所述排序后的所有的Priority的值,给所有SAS卡硬盘对应的BootOption中的Priority赋值。The S4 includes: according to the first SAS card hard disk and all Priority values after the sorting, assigning a value to the Priority in the BootOption corresponding to all the SAS card hard disks.

举例来说,Priority的值越小,对应的SAS卡硬盘越优先启动,优先级越高。可以将获取的Priority从小到大排序,在S4中,将最小的Priority赋值给启动顺序最早的最先SAS卡硬盘的Priority,依次类推。For example, the smaller the value of Priority, the higher the corresponding SAS card hard disk is started, and the priority is higher. The obtained Priorities can be sorted from small to large. In S4, assign the smallest Priority to the Priority of the hard disk with the earliest SAS card in the startup sequence, and so on.

SAS卡硬盘是启动设备中的一种,每个启动设备对应一个BootOption,在SAS卡硬盘的BootOption中都保存有对应的SAS卡硬盘的SASIndex,通过SAS卡硬盘的SASIndex即可找到该SAS卡硬盘对应的BootOption。在一种可能的实现方式中,所述S2中,所述确定每个SASIndex对应的BootOption,包括:判断当前SASIndex与当前BootOption中的BBSIndex是否相等,如果是,则确定当前SASIndex与当前BootOption相对应,否则,确定当前SASIndex与当前BootOption不相对应。The SAS card hard disk is one of the boot devices. Each boot device corresponds to a BootOption. The SAS Index of the corresponding SAS card hard disk is stored in the BootOption of the SAS card hard disk. You can find the SAS card hard disk through the SASIndex of the SAS card hard disk. The corresponding BootOption. In a possible implementation manner, in the S2, the determining the BootOption corresponding to each SASIndex includes: judging whether the current SASIndex is equal to the BBSIndex in the current BootOption, and if so, determining that the current SASIndex corresponds to the current BootOption , otherwise, it is determined that the current SASIndex does not correspond to the current BootOption.

在一种可能的实现方式中,一般来说,物理连接顺序中的第一位的SAS卡硬盘就是最先SAS卡硬盘,可以根据物理连接顺序来调整启动顺序。该方法还包括:获取所有SAS卡硬盘的物理连接顺序;In a possible implementation manner, generally speaking, the first SAS card hard disk in the physical connection sequence is the first SAS card hard disk, and the startup sequence can be adjusted according to the physical connection sequence. The method also includes: obtaining the physical connection sequence of all SAS card hard disks;

所述S4,包括:根据所述物理连接顺序和确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的优先级Priority的值。The S4 includes: according to the physical connection sequence and the determined first hard disk of the SAS card, determining the value of Priority in the BootOption corresponding to all the hard disks of the SAS card.

为使本发明的目的、技术方案和优点更加清楚,下面结合附图及具体实施例对本发明作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

在该实施例中,一台服务器上加载有SAS卡硬盘1、SAS卡硬盘2、SAS卡硬盘3,其中,操作系统在SAS卡硬盘2中,需要让SAS卡硬盘2最先启动,但是,当服务器上电时,最先响应的SAS卡硬盘不是SAS卡硬盘2,因此需要对SAS卡硬盘的启动顺序进行调整。Priority的值越小,优先级越高,对应的SAS卡硬盘越优先启动。In this embodiment, a server is loaded with SAS card hard disk 1, SAS card hard disk 2, and SAS card hard disk 3, wherein the operating system is in the SAS card hard disk 2, and the SAS card hard disk 2 needs to be started first, but, When the server is powered on, the SAS card hard disk that responds first is not SAS card hard disk 2, so the startup sequence of the SAS card hard disk needs to be adjusted. The smaller the value of Priority, the higher the priority, and the corresponding SAS card hard disk will be started first.

如图2所示,本发明实施例提供了一种调整SAS卡硬盘启动顺序的方法,该方法可以包括以下步骤:As shown in Figure 2, the embodiment of the present invention provides a method for adjusting the boot order of the SAS card hard disk, the method may include the following steps:

步骤201:预先确定最先启动的SAS卡硬盘为SAS卡硬盘2。Step 201: Predetermine that the SAS card hard disk to be started first is the SAS card hard disk 2 .

步骤202:查询BIOS中的BBS Table,确定所述BBS Table中的所有启动设备的识别信息,其中,所述识别信息包括:BUS序号、DEV序号、FUN序号中的一个或多个。Step 202: Query the BBS Table in the BIOS to determine the identification information of all boot devices in the BBS Table, wherein the identification information includes: one or more of BUS serial number, DEV serial number, and FUN serial number.

步骤203:根据当前启动设备的识别信息,访问当前启动设备,获取当前启动设备的类型信息,其中,所述类型信息包括:Class、SubClass。Step 203: According to the identification information of the current boot device, access the current boot device to obtain type information of the current boot device, wherein the type information includes: Class and SubClass.

步骤204:根据每个启动设备的类型信息,确定启动设备中的所有SAS卡硬盘,分别是:SAS卡硬盘1、SAS卡硬盘2、SAS卡硬盘3。Step 204: According to the type information of each boot device, determine all the SAS card hard disks in the boot device, which are: SAS card hard disk 1, SAS card hard disk 2, and SAS card hard disk 3.

步骤205:遍历BIOS中的BBS Table,从BBS Table中获取SAS卡硬盘1的SASIndex、SAS卡硬盘2的SASIndex、SAS卡硬盘3的SASIndex。Step 205: traverse the BBS Table in the BIOS, and obtain the SASIndex of the hard disk 1 of the SAS card, the SASIndex of the hard disk 2 of the SAS card, and the SASIndex of the hard disk 3 of the SAS card from the BBS Table.

举例来说,SAS卡硬盘1的SASIndex为A1、SAS卡硬盘2的SASIndex为A2、SAS卡硬盘3的SASIndex为A3。For example, the SASIndex of SAS card hard disk 1 is A1, the SASIndex of SAS card hard disk 2 is A2, and the SASIndex of SAS card hard disk 3 is A3.

确定出所有SAS卡硬盘后,遍历BIOS中的BBS Table,根据当前SAS卡硬盘的识别信息从BBS Table中获取当前SAS卡硬盘的SASIndex。After all the SAS card hard disks are determined, traverse the BBS Table in the BIOS, and obtain the SASIndex of the current SAS card hard disk from the BBS Table according to the identification information of the current SAS card hard disk.

步骤206:遍历所有的BootOption,确定每个SASIndex对应的BootOption。Step 206: traverse all BootOptions, and determine the BootOption corresponding to each SASIndex.

举例来说,SAS卡硬盘1的SASIndex为A1。For example, the SASIndex of hard disk 1 of the SAS card is A1.

判断SAS卡硬盘1的SASIndex与当前BootOption中的BBSIndex是否相等,如果当前的BBSIndex的值也为A1,则确定SAS卡硬盘1的SASIndex与当前BootOption相对应,如果当前的BBSIndex的值不为A1,确定SAS卡硬盘1的SASIndex与当前BootOption不相对应。Determine whether the SASIndex of the SAS card hard disk 1 is equal to the BBSIndex in the current BootOption. If the current BBSIndex value is also A1, then determine that the SASIndex of the SAS card hard disk 1 corresponds to the current BootOption. If the current BBSIndex value is not A1, Make sure that the SASIndex of hard disk 1 on the SAS card does not correspond to the current BootOption.

步骤207:根据每个SASIndex对应的SAS卡硬盘和每个SASIndex对应的BootOption,确定每个SAS卡硬盘对应的BootOption。Step 207: Determine the BootOption corresponding to each SAS card hard disk according to the SAS card hard disk corresponding to each SASIndex and the BootOption corresponding to each SASIndex.

举例来说,A1对应的SAS卡硬盘为SAS卡硬盘1,A1对应的BootOption为BootOption 1,则SAS卡硬盘1对应的BootOption为BootOption 1。另外,SAS卡硬盘2对应BootOption 2,SAS卡硬盘3对应BootOption 3。For example, the SAS card hard disk corresponding to A1 is SAS card hard disk 1, the BootOption corresponding to A1 is BootOption 1, and the BootOption corresponding to SAS card hard disk 1 is BootOption 1. In addition, SAS card hard disk 2 corresponds to BootOption 2, and SAS card hard disk 3 corresponds to BootOption 3.

步骤208:获取每个SAS卡硬盘对应的BootOption中的Priority,将所有的Priority的值按照从小到大的顺序进行排序,依次是:B3、B1、B2。Step 208: Obtain the Priority in the BootOption corresponding to each hard disk of the SAS card, and sort all the Priority values in ascending order, which are: B3, B1, and B2.

举例来说,从BootOption 1获取的Priority的值为B1,从BootOption 2获取的Priority的值为B2,从BootOption 3获取的Priority的值为B3。通过冒泡算法对Priority进行排序,从小到大依次是:B3、B1、B2。For example, the Priority value obtained from BootOption 1 is B1, the Priority value obtained from BootOption 2 is B2, and the Priority value obtained from BootOption 3 is B3. The Priority is sorted by the bubble algorithm, from small to large: B3, B1, B2.

步骤209:根据排序后的所有的Priority的值,将SAS卡硬盘2对应的BootOption中的Priority赋值为B3。Step 209: assign the Priority in the BootOption corresponding to the hard disk 2 of the SAS card as B3 according to all the sorted Priority values.

这样就可以实现最先启动SAS卡硬盘2。另外,可以将SAS卡硬盘1对应的BootOption中的Priority赋值为B1,将SAS卡硬盘3对应的BootOption中的Priority赋值为B2;也可以将SAS卡硬盘1对应的BootOption中的Priority赋值为B2,将SAS卡硬盘3对应的BootOption中的Priority赋值为B1。In this way, the SAS card hard disk 2 can be started first. In addition, you can assign the Priority in the BootOption corresponding to the hard disk 1 of the SAS card as B1, and assign the Priority in the BootOption corresponding to the hard disk 3 of the SAS card as B2; you can also assign the Priority in the BootOption corresponding to the hard disk 1 of the SAS card as B2. Assign the Priority in the BootOption corresponding to hard disk 3 of the SAS card to B1.

另外,上述实施例提供的一种调整SAS卡硬盘启动顺序的方法,可以通过预先设置的调整程序来实现,将该调整程序嵌入到BIOS中,每次开机时执行该调整程序,实现对启动顺序的调整。具体地,在S1之前,还包括:预先设置调整程序,预先将所述调整程序嵌入到BIOS中,在每次开机时,通过执行所述调整程序实现步骤S1、步骤S2、步骤S3、步骤S4等。In addition, the method for adjusting the startup sequence of the SAS card hard disk provided in the above embodiment can be realized through a preset adjustment program. adjustment. Specifically, before S1, it also includes: setting an adjustment program in advance, embedding the adjustment program into the BIOS in advance, and implementing step S1, step S2, step S3, and step S4 by executing the adjustment program each time the computer is turned on. wait.

如图3、图4所示,本发明实施例提供了一种调整SAS卡硬盘的启动顺序的装置。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。从硬件层面而言,如图3所示,为本发明实施例提供的一种调整SAS卡硬盘的启动顺序的装置所在设备的一种硬件结构图,除了图3所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的设备通常还可以包括其他硬件,如负责处理报文的转发芯片等等。以软件实现为例,如图4所示,作为一个逻辑意义上的装置,是通过其所在设备的CPU将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。本实施例提供的一种调整SAS卡硬盘的启动顺序的装置,包括:As shown in FIG. 3 and FIG. 4 , the embodiment of the present invention provides a device for adjusting the startup sequence of the hard disk of the SAS card. The device embodiments can be implemented by software, or by hardware or a combination of software and hardware. From the hardware level, as shown in Figure 3, it is a hardware structure diagram of the device where the device for adjusting the startup sequence of the SAS card hard disk provided by the embodiment of the present invention, except for the processor, memory, In addition to the network interface and the non-volatile memory, the device in which the device in the embodiment is located may generally include other hardware, such as a forwarding chip responsible for processing packets, and the like. Taking software implementation as an example, as shown in Figure 4, as a device in a logical sense, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory for operation by the CPU of the device where it is located. A device for adjusting the startup sequence of the SAS card hard disk provided in this embodiment includes:

第一确定单元401,用于确定最先启动的最先SAS卡硬盘;The first determining unit 401 is configured to determine the earliest SAS card hard disk that starts first;

第一获取单元402,用于确定所有SAS卡硬盘,获取所有SAS卡硬盘的索引值SASIndex;The first obtaining unit 402 is configured to determine all SAS card hard disks, and obtain index values SASIndex of all SAS card hard disks;

第二确定单元403,用于遍历所有的启动设备选项BootOption,确定每个SASIndex对应的BootOption;The second determination unit 403 is configured to traverse all boot device options BootOption, and determine the BootOption corresponding to each SASIndex;

第三确定单元404,用于根据每个SASIndex对应的SAS卡硬盘和每个SASIndex对应的BootOption,确定每个SAS卡硬盘对应的BootOption;The third determining unit 404 is configured to determine the BootOption corresponding to each SAS card hard disk according to the SAS card hard disk corresponding to each SASIndex and the BootOption corresponding to each SASIndex;

第四确定单元405,用于根据确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的优先级Priority的值。The fourth determination unit 405 is configured to determine the value of Priority in the BootOption corresponding to all SAS card hard disks according to the determined first SAS card hard disk.

在一种可能的实现方式中,所述第一获取单元,包括:In a possible implementation manner, the first acquiring unit includes:

查询单元,用于查询基本输入输出系统BIOS中的启动设备选项列表BBS Table,确定所述BBS Table中的所有启动设备的识别信息,其中,所述识别信息包括:总线BUS序号、设备DEV序号、功能FUN序号中的一个或多个;The query unit is used to query the boot device option list BBS Table in the basic input and output system BIOS, and determine the identification information of all boot devices in the BBS Table, wherein the identification information includes: bus BUS serial number, equipment DEV serial number, One or more of the function FUN serial numbers;

第二获取单元,用于根据当前启动设备的识别信息,访问当前启动设备,获取当前启动设备的类型信息,其中,所述类型信息包括:类型Class、子类型SubClass;The second acquisition unit is configured to access the current boot device according to the identification information of the current boot device, and acquire type information of the current boot device, wherein the type information includes: type Class, subtype SubClass;

第五确定单元,用于根据每个启动设备的类型信息,确定启动设备中的所有SAS卡硬盘。The fifth determining unit is configured to determine all SAS card hard disks in the boot device according to the type information of each boot device.

在一种可能的实现方式中,该装置还包括:In a possible implementation manner, the device also includes:

第三获取单元,用于获取每个SAS卡硬盘对应的BootOption中的Priority,将所有的Priority的值按照大小顺序进行排序;The third obtaining unit is used to obtain the Priority in the BootOption corresponding to each SAS card hard disk, and sort all the Priority values in order of size;

所述第四确定单元,用于根据所述最先SAS卡硬盘和所述排序后的所有的Priority的值,给所有SAS卡硬盘对应的BootOption中的Priority赋值。The fourth determining unit is configured to assign a value to Priority in BootOption corresponding to all SAS card hard disks according to the first SAS card hard disk and the sorted values of Priority.

在一种可能的实现方式中,所述第一获取单元,用于遍历BIOS中的BBSTable,从所述BBS Table中获取所有SAS卡硬盘的SASIndex;In a possible implementation manner, the first obtaining unit is configured to traverse the BBSTable in the BIOS, and obtain the SASIndex of all SAS card hard disks from the BBS Table;

在一种可能的实现方式中,所述第二确定单元,在执行所述确定每个SASIndex对应的BootOption时,具体执行:判断当前SASIndex与当前BootOption中的BBSIndex是否相等,当判断结果为是时,确定当前SASIndex与当前BootOption相对应,当判断结果为否时,确定当前SASIndex与当前BootOption不相对应。In a possible implementation manner, the second determination unit, when performing the determination of the BootOption corresponding to each SASIndex, specifically executes: judging whether the current SASIndex is equal to the BBSIndex in the current BootOption, and when the judgment result is yes , determine that the current SASIndex corresponds to the current BootOption, and when the judgment result is no, determine that the current SASIndex does not correspond to the current BootOption.

在一种可能的实现方式中,该装置还包括:第四获取单元,用于获取所有SAS卡硬盘的物理连接顺序;In a possible implementation manner, the device further includes: a fourth obtaining unit, configured to obtain the physical connection sequence of all SAS card hard disks;

所述第四确定单元,用于根据所述物理连接顺序和确定出的所述最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的优先级Priority的值。The fourth determining unit is configured to determine the value of Priority in BootOption corresponding to all SAS card hard disks according to the physical connection sequence and the determined first SAS card hard disk.

上述装置内的各单元之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。The information exchange and execution process among the units in the above-mentioned device are based on the same concept as the method embodiment of the present invention, and the specific content can refer to the description in the method embodiment of the present invention, and will not be repeated here.

本发明实施例提供的一种调整SAS卡硬盘的启动顺序的方法及装置,具有如下有益效果:A method and device for adjusting the startup sequence of the SAS card hard disk provided by the embodiments of the present invention have the following beneficial effects:

通过本发明实施例提供的一种调整SAS卡硬盘的启动顺序的方法,获取所有SAS卡硬盘的SASIndex,通过SASIndex找到每个SAS卡硬盘对应的BootOption,根据预先确定出的最先启动的最先SAS卡硬盘,确定所有SAS卡硬盘对应的BootOption中的Priority的值,实现对SAS卡硬盘的启动顺序的调整。Through a method for adjusting the boot order of the SAS card hard disk provided by the embodiment of the present invention, the SASIndex of all the SAS card hard disks is obtained, and the BootOption corresponding to each SAS card hard disk is found through the SASIndex, and the boot option is determined first according to the predetermined SAS card hard disk, determine the Priority value in BootOption corresponding to all SAS card hard disks, and realize the adjustment of the boot sequence of SAS card hard disks.

需要说明的是,在本文中,诸如第一和第二之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个〃〃〃〃〃〃”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同因素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is a relationship between these entities or operations. There is no such actual relationship or sequence. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a """""" does not exclude the presence of additional same elements in the process, method, article or apparatus comprising said element.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储在计算机可读取的存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质中。Those of ordinary skill in the art can understand that all or part of the steps to realize the above method embodiments can be completed by program instructions related hardware, and the aforementioned programs can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均包含在本发明的保护范围内。Finally, it should be noted that the above descriptions are only preferred embodiments of the present invention, and are only used to illustrate the technical solution of the present invention, and are not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (10)

1. adjust a method for the boot sequence of SAS card hard disk, it is characterized in that, comprising: pre-determine the card of the SAS at first hard disk started at first, also comprise:
S1: determine all SAS card hard disks, obtains the index value SASIndex of all SAS card hard disks;
S2: travel through all starting outfit option BootOption, determine the BootOption that each SASIndex is corresponding;
S3: the SAS card hard disk corresponding according to each SASIndex and BootOption corresponding to each SASIndex, determines the BootOption that each SAS card hard disk is corresponding;
S4: according to SAS card hard disk at first described in determining, determine the value of the priority P riority in the BootOption that all SAS card hard disks are corresponding.
2. method according to claim 1, is characterized in that, in described S1, describedly determines all SAS card hard disks, comprising:
Starting outfit option list BBS Table in inquiry basic input-output system BIOS, determine the identifying information of all starting outfits in described BBS Table, wherein, described identifying information comprises: one or more in bus B US sequence number, equipment DEV sequence number, function FUN sequence number;
According to the identifying information of current starting outfit, access current starting outfit, obtain the type information of current starting outfit, wherein, described type information comprises: Type C lass, subtype SubClass;
According to the type information of each starting outfit, determine all SAS card hard disks in starting outfit.
3. method according to claim 1, is characterized in that, after described S3, also comprises:
Obtain the Priority in BootOption corresponding to each SAS card hard disk, the value of all Priority is sorted according to size order;
Described S4, comprising:
According to the value of all Priority after the described card hard disk of SAS at first and described sequence, to the Priority assignment in the BootOption that all SAS card hard disks are corresponding.
4. method according to claim 1, is characterized in that,
Described S1, comprising: the BBS Table in traversal BIOS, obtains the SASIndex of all SAS card hard disks from described BBS Table;
And/or,
In described S2, describedly determine the BootOption that each SASIndex is corresponding, comprise: judge that whether current SASIndex is equal with the BBSIndex in current BootOption, if, then determine that current SASIndex is corresponding with current BootOption, otherwise, determine that current SASIndex is not corresponding with current BootOption.
5. method according to claim 1, is characterized in that, also comprises: the physical connection order obtaining all SAS card hard disks;
Described S4, comprising: according to described physical connection order and SAS card hard disk at first described in determining, determine the value of the priority P riority in the BootOption that all SAS card hard disks are corresponding.
6. adjust a device for the boot sequence of SAS card hard disk, it is characterized in that, comprising:
First determining unit, for determining the card of the SAS at first hard disk started at first;
First acquiring unit, for determining all SAS card hard disks, obtains the index value SASIndex of all SAS card hard disks;
Second determining unit, for traveling through all starting outfit option BootOption, determines the BootOption that each SASIndex is corresponding;
3rd determining unit, for according to SAS card hard disk corresponding to each SASIndex and BootOption corresponding to each SASIndex, determines the BootOption that each SAS card hard disk is corresponding;
4th determining unit, for according to SAS card hard disk at first described in determining, determines the value of the priority P riority in the BootOption that all SAS card hard disks are corresponding.
7. device according to claim 6, is characterized in that, described first acquiring unit, comprising:
Query unit, for inquiring about the starting outfit option list BBS Table in basic input-output system BIOS, determine the identifying information of all starting outfits in described BBS Table, wherein, described identifying information comprises: one or more in bus B US sequence number, equipment DEV sequence number, function FUN sequence number;
Second acquisition unit, for the identifying information according to current starting outfit, accesses current starting outfit, obtains the type information of current starting outfit, and wherein, described type information comprises: Type C lass, subtype SubClass;
5th determining unit, for the type information according to each starting outfit, determines all SAS card hard disks in starting outfit.
8. device according to claim 6, is characterized in that, also comprises:
3rd acquiring unit, for obtaining the Priority in BootOption corresponding to each SAS card hard disk, sorts the value of all Priority according to size order;
Described 4th determining unit, for the value according to all Priority after the described card hard disk of SAS at first and described sequence, to the Priority assignment in the BootOption that all SAS card hard disks are corresponding.
9. device according to claim 6, is characterized in that,
Described first acquiring unit, for traveling through the BBS Table in BIOS, obtains the SASIndex of all SAS card hard disks from described BBS Table;
And/or,
Described second determining unit, perform described determine BootOption corresponding to each SASIndex time, concrete execution: judge that whether current SASIndex is equal with the BBSIndex in current BootOption, when judged result is for being, determine that current SASIndex is corresponding with current BootOption, when judged result is no, determine that current SASIndex is not corresponding with current BootOption.
10. device according to claim 6, is characterized in that, also comprises: the 4th acquiring unit, for obtaining the physical connection order of all SAS card hard disks;
Described 4th determining unit, for according to described physical connection order and SAS card hard disk at first described in determining, determines the value of the priority P riority in the BootOption that all SAS card hard disks are corresponding.
CN201510341403.7A 2015-06-18 2015-06-18 Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk Pending CN104932922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510341403.7A CN104932922A (en) 2015-06-18 2015-06-18 Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510341403.7A CN104932922A (en) 2015-06-18 2015-06-18 Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk

Publications (1)

Publication Number Publication Date
CN104932922A true CN104932922A (en) 2015-09-23

Family

ID=54120097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510341403.7A Pending CN104932922A (en) 2015-06-18 2015-06-18 Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk

Country Status (1)

Country Link
CN (1) CN104932922A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329914A (en) * 2017-06-29 2017-11-07 郑州云海信息技术有限公司 It is a kind of that the out of order method and device of hard disk is detected based on linux system
CN107422985A (en) * 2017-05-17 2017-12-01 郑州云海信息技术有限公司 A kind of control method of storage system disk sequence
CN107450846A (en) * 2016-04-18 2017-12-08 美超微电脑股份有限公司 Storage device, stocking system and the method for starting report for resequencing
WO2018076792A1 (en) * 2016-10-27 2018-05-03 华为技术有限公司 Method and device for disk management in arm device and arm device
CN108170481A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Electric drive method and electric terminal on camera
CN109446000A (en) * 2018-10-08 2019-03-08 郑州云海信息技术有限公司 The recognition methods of hard disk sequence, device, terminal and storage medium under more hard disk backboards
CN109656627A (en) * 2018-12-18 2019-04-19 广东浪潮大数据研究有限公司 Starting method, activation system and the relevant apparatus of hard disk in a kind of BIOS
CN115080128A (en) * 2022-05-31 2022-09-20 苏州浪潮智能科技有限公司 Method, system, device and storage medium for managing starting sequence of hard disk
CN115617719A (en) * 2022-12-19 2023-01-17 苏州浪潮智能科技有限公司 Method and device for adjusting disk sequence of hard disk backplane, storage medium, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059900A1 (en) * 2002-09-24 2004-03-25 Drake Backman Mechanism for controlling PXE-based boot decisions from a network policy directory
CN1866208A (en) * 2005-05-20 2006-11-22 鸿富锦精密工业(深圳)有限公司 System and method for switching computer start sequence
EP1691281A3 (en) * 2005-01-26 2009-01-07 Fujitsu Limited Memory dump program boot method
CN101499008A (en) * 2008-01-30 2009-08-05 中兴通讯股份有限公司 Hard disk boot sequence recognition method and system
CN102331941A (en) * 2011-07-07 2012-01-25 曙光信息产业股份有限公司 Method for managing hard disk switching of Loongson mainboard
CN102750112A (en) * 2012-05-30 2012-10-24 浪潮电子信息产业股份有限公司 Flash memory hybrid accelerating method for storage area networking (SAN) server-side
CN102999362A (en) * 2012-12-04 2013-03-27 浪潮电子信息产业股份有限公司 Method for modifying sequence of boot options of basic input/output system (BIOS)

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059900A1 (en) * 2002-09-24 2004-03-25 Drake Backman Mechanism for controlling PXE-based boot decisions from a network policy directory
EP1691281A3 (en) * 2005-01-26 2009-01-07 Fujitsu Limited Memory dump program boot method
CN1866208A (en) * 2005-05-20 2006-11-22 鸿富锦精密工业(深圳)有限公司 System and method for switching computer start sequence
CN101499008A (en) * 2008-01-30 2009-08-05 中兴通讯股份有限公司 Hard disk boot sequence recognition method and system
CN102331941A (en) * 2011-07-07 2012-01-25 曙光信息产业股份有限公司 Method for managing hard disk switching of Loongson mainboard
CN102750112A (en) * 2012-05-30 2012-10-24 浪潮电子信息产业股份有限公司 Flash memory hybrid accelerating method for storage area networking (SAN) server-side
CN102999362A (en) * 2012-12-04 2013-03-27 浪潮电子信息产业股份有限公司 Method for modifying sequence of boot options of basic input/output system (BIOS)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI644249B (en) * 2016-04-18 2018-12-11 美超微電腦股份有限公司 Storage enclosure, storage system, and method for reordering hard drive activation reports
CN107450846B (en) * 2016-04-18 2020-08-07 美超微电脑股份有限公司 Storage device, storage system and method for reordering start reports
CN107450846A (en) * 2016-04-18 2017-12-08 美超微电脑股份有限公司 Storage device, stocking system and the method for starting report for resequencing
US10990415B2 (en) 2016-10-27 2021-04-27 Huawei Technologies Co., Ltd. Disk management method and apparatus in ARM device and ARM device
CN108008914A (en) * 2016-10-27 2018-05-08 华为技术有限公司 The method, apparatus and ARM equipment of disk management in a kind of ARM equipment
WO2018076792A1 (en) * 2016-10-27 2018-05-03 华为技术有限公司 Method and device for disk management in arm device and arm device
CN108008914B (en) * 2016-10-27 2019-09-13 华为技术有限公司 Method, device and ARM device for disk management in ARM device
CN107422985A (en) * 2017-05-17 2017-12-01 郑州云海信息技术有限公司 A kind of control method of storage system disk sequence
CN107329914A (en) * 2017-06-29 2017-11-07 郑州云海信息技术有限公司 It is a kind of that the out of order method and device of hard disk is detected based on linux system
CN108170481A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Electric drive method and electric terminal on camera
CN108170481B (en) * 2017-12-27 2020-12-01 上海传英信息技术有限公司 Camera power-on driving method and electronic terminal
CN109446000A (en) * 2018-10-08 2019-03-08 郑州云海信息技术有限公司 The recognition methods of hard disk sequence, device, terminal and storage medium under more hard disk backboards
CN109656627A (en) * 2018-12-18 2019-04-19 广东浪潮大数据研究有限公司 Starting method, activation system and the relevant apparatus of hard disk in a kind of BIOS
CN115080128A (en) * 2022-05-31 2022-09-20 苏州浪潮智能科技有限公司 Method, system, device and storage medium for managing starting sequence of hard disk
CN115617719A (en) * 2022-12-19 2023-01-17 苏州浪潮智能科技有限公司 Method and device for adjusting disk sequence of hard disk backplane, storage medium, and electronic device
US12327041B2 (en) 2022-12-19 2025-06-10 Suzhou Metabrain Intelligent Technology Co., Ltd. Method and apparatus for adjusting disk sequences of hard disk backplanes, storage medium, and electronic device

Similar Documents

Publication Publication Date Title
CN104932922A (en) Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk
US10324832B2 (en) Address based multi-stream storage device access
CN104951342A (en) Method and device for adjusting starting sequence
US20140052946A1 (en) Techniques for opportunistic data storage
CN111737221B (en) Data read-write method, device and equipment of cluster file system and storage medium
CN106126124B (en) A kind of data processing method and electronic equipment
WO2014078641A1 (en) Category and attribute specifications for product search queries
US10459651B2 (en) Techniques for dynamically aligning a partition with a block size boundary
CN105824678A (en) Method and device for installing operating system
US8954702B2 (en) Extended address volume (EAV) allocation verification
US10871970B1 (en) Memory channel storage device detection
CN103049546B (en) The method and apparatus of a kind of management, access system daily record
US8560805B1 (en) Efficient allocation of address space resources to bus devices
US10055574B2 (en) Implementing extent granularity authorization processing in CAPI adapters
CN105630702A (en) Logical volume creation method and system
CN104657216A (en) Resource allocation method and device for resource pool
CN115904260B (en) Method and device for starting disk array card, storage medium and electronic equipment
CN110688223A (en) Data processing methods and related products
US20170220289A1 (en) Techniques for remediating non-conforming storage system configurations
CN108572869A (en) A physical host selection method, device, equipment and readable storage medium
CN106126123A (en) The method of a kind of host volume distribution, Apparatus and system
US8966133B2 (en) Determining a mapping mode for a DMA data transfer
CN109725856B (en) Shared node management method and device, electronic equipment and storage medium
CN107153578B (en) Method and device for improving CPU utilization rate
CN106201344B (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150923