[go: up one dir, main page]

CN109542708B - A method and component for recording the correspondence between physical slots and system drive letters on a backplane - Google Patents

A method and component for recording the correspondence between physical slots and system drive letters on a backplane Download PDF

Info

Publication number
CN109542708B
CN109542708B CN201811475911.4A CN201811475911A CN109542708B CN 109542708 B CN109542708 B CN 109542708B CN 201811475911 A CN201811475911 A CN 201811475911A CN 109542708 B CN109542708 B CN 109542708B
Authority
CN
China
Prior art keywords
backplane
drive
physical slot
identifier
backboard
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
CN201811475911.4A
Other languages
Chinese (zh)
Other versions
CN109542708A (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.)
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 CN201811475911.4A priority Critical patent/CN109542708B/en
Publication of CN109542708A publication Critical patent/CN109542708A/en
Application granted granted Critical
Publication of CN109542708B publication Critical patent/CN109542708B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明公开了一种记录背板物理槽位和系统盘符对应关系的方法,该方法通过与当前SAS卡对应的管理工具获取背板物理槽位标识、Drive SAS Address、挂载点、背板ID、系统标识和系统盘符标识等信息,并根据这些信息两两之间的关联关系,记录背板物理槽位所位于的背板,以及背板对应的系统盘符,即:记录背板物理槽位和系统盘符之间的对应关系。其中,记录的背板物理槽位所位于的背板,以及背板对应的系统盘符这些信息可以作为维修依据,还可以作为服务器设计方案的判断依据,为技术人员提供工作便利。相应地,本发明公开的一种记录背板物理槽位和系统盘符对应关系的装置、设备及可读存储介质,也同样具有上述技术效果。

Figure 201811475911

The invention discloses a method for recording the corresponding relationship between the physical slot position of the backplane and the system drive letter. ID, system ID and system drive letter identification and other information, and according to the relationship between these information, record the backplane where the physical slot of the backplane is located, and the system drive letter corresponding to the backplane, that is: record the backplane Correspondence between physical slots and system drive letters. Among them, the recorded information of the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane can be used as the basis for maintenance, and can also be used as the basis for judging the design of the server, which provides convenience for technicians to work. Correspondingly, the device, device and readable storage medium for recording the correspondence between the physical slot position of the backplane and the system drive letter disclosed in the present invention also have the above technical effects.

Figure 201811475911

Description

一种记录背板物理槽位和系统盘符对应关系的方法及组件A method and component for recording the correspondence between physical slots and system drive letters on a backplane

技术领域technical field

本发明涉及通用服务器技术领域,更具体地说,涉及一种记录背板物理槽位和系统盘符对应关系的方法、装置、设备及可读存储介质。The present invention relates to the technical field of general-purpose servers, and more particularly, to a method, apparatus, device and readable storage medium for recording the correspondence between physical slots and system drive letters on the backplane.

背景技术Background technique

在通用服务器技术领域,服务器产品有各种各样的拓扑结构,不同的拓扑结构对应不同的硬盘顺序。In the field of general server technology, server products have various topologies, and different topologies correspond to different hard disk sequences.

一般地,服务器可以连接多个背板,每个背板具有多个背板物理槽位,用于连接物理硬盘。在实际应用时,用户将服务器中的所有存储空间划分为不同的物理盘符,如此一来,一个物理硬盘就可能对应多个系统盘符。当系统盘符需要调整或出现故障时,就需要技术人员根据工作经验和专业知识,在服务器机箱中寻找对应的物理硬盘,并检修该物理硬盘所连接的背板物理槽位。其中,由于技术人员在检修过程中缺乏可靠的依据,无法直接找到对应的物理硬盘,所以导致检修工作效率缓慢。Generally, a server can be connected to multiple backplanes, and each backplane has multiple backplane physical slots for connecting physical hard disks. In practical applications, the user divides all storage spaces in the server into different physical drive letters, so that one physical hard disk may correspond to multiple system drive letters. When the system drive letter needs to be adjusted or fails, technicians need to search for the corresponding physical hard disk in the server chassis based on work experience and professional knowledge, and repair the physical slot on the backplane to which the physical hard disk is connected. Among them, because the technicians lack a reliable basis in the maintenance process and cannot directly find the corresponding physical hard disk, the maintenance work efficiency is slow.

另一方面,在做设计方案时,若能及时确定并记录背板物理槽位和系统盘符的对应关系,便可以为设计方案的可应用性提供参考依据;同时还能根据背板物理槽位和系统盘符的对应关系判断当前设计方案的是否符合预期期望,是否需要调整。On the other hand, when making a design scheme, if the corresponding relationship between the backplane physical slot and the system drive letter can be determined and recorded in time, it can provide a reference for the applicability of the design scheme; The corresponding relationship between the bit and the system drive letter determines whether the current design scheme meets the expected expectations and whether it needs to be adjusted.

因此,如何记录背板物理槽位和系统盘符对应关系,是本领域技术人员需要解决的问题。Therefore, how to record the corresponding relationship between the physical slot position of the backplane and the system drive letter is a problem to be solved by those skilled in the art.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于提供一种记录背板物理槽位和系统盘符对应关系的方法、装置、设备及可读存储介质,以实现记录背板物理槽位和系统盘符对应关系。The purpose of the present invention is to provide a method, device, device and readable storage medium for recording the correspondence between physical slots and system drive letters on the backplane, so as to record the correspondence between physical slots and system drive letters on the backplane.

为实现上述目的,本发明实施例提供了如下技术方案:To achieve the above purpose, the embodiments of the present invention provide the following technical solutions:

一种记录背板物理槽位和系统盘符对应关系的方法,包括:A method for recording the correspondence between physical slots and system drive letters on a backplane, comprising:

通过与当前SAS卡对应的管理工具获取目标信息,所述目标信息至少包括:背板物理槽位标识、Drive SAS Address、挂载点、背板ID、系统标识和系统盘符标识;Obtain target information through a management tool corresponding to the current SAS card, where the target information at least includes: backplane physical slot identifier, Drive SAS Address, mount point, backplane ID, system identifier, and system drive letter identifier;

根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述DriveSAS Address和所述挂载点的关联关系,以及所述挂载点和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系;According to the relationship between the physical slot identifier of the backplane and the Drive SAS Address, the relationship between the DriveSAS Address and the mount point, and the relationship between the mount point and the backplane ID, determine The first correspondence between the backplane physical slot identifier and the backplane ID;

根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述DriveSAS Address和所述系统标识的关联关系,以及所述系统标识和所述系统盘符标识的关联关系,确定所述背板物理槽位标识和所述系统盘符标识的第二对应关系;According to the association relationship between the backplane physical slot ID and the Drive SAS Address, the association relationship between the DriveSAS Address and the system ID, and the association relationship between the system ID and the system drive ID, determine the the second correspondence between the backplane physical slot identifier and the system drive identifier;

根据所述第一对应关系和所述第二对应关系记录背板物理槽位所位于的背板,以及所述背板对应的系统盘符。According to the first correspondence and the second correspondence, record the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane.

其中,所述通过与当前SAS卡对应的管理工具获取目标信息,包括:Wherein, obtaining the target information through the management tool corresponding to the current SAS card includes:

通过与当前SAS卡对应的storcli工具、lsiutil工具和scrutiny工具获取所述目标信息,并将所述目标信息存储至目标文件;Obtain the target information through the storcli tool, the lsiutil tool and the scrutiny tool corresponding to the current SAS card, and store the target information in a target file;

其中,通过所述storcli工具获取所述背板物理槽位标识和所述Drive SASAddress;通过所述lsiutil工具获取所述Drive SAS Address、所述挂载点和所述背板ID;通过所述scrutiny工具获取所述系统标识和所述系统盘符标识。The backplane physical slot identifier and the Drive SASAddress are obtained through the storcli tool; the Drive SAS Address, the mount point, and the backplane ID are obtained through the lsiutil tool; and the scrutiny The tool obtains the system identifier and the system drive letter identifier.

其中,所述根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述Drive SAS Address和所述挂载点的关联关系,以及所述挂载点和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系,包括:Wherein, according to the association relationship between the physical slot identifier of the backplane and the Drive SAS Address, the association relationship between the Drive SAS Address and the mount point, and the mount point and the backplane ID , determine the first correspondence between the backplane physical slot identifier and the backplane ID, including:

在所述挂载点中确定硬盘挂载点和背板挂载点,并根据所述Drive SAS Address和所述硬盘挂载点的关联关系,所述硬盘挂载点和所述背板挂载点的关联关系,所述背板挂载点和所述背板ID的关联关系,确定所述Drive SAS Address和所述背板ID的关联关系;Determine the hard disk mount point and the backplane mount point in the mount point, and according to the association relationship between the Drive SAS Address and the hard disk mount point, the hard disk mount point and the backplane mount point The relationship between the points, the relationship between the backplane mount point and the backplane ID, and the relationship between the Drive SAS Address and the backplane ID;

根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述DriveSAS Address和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系。According to the association relationship between the backplane physical slot identifier and the Drive SAS Address, and the association relationship between the DriveSAS Address and the backplane ID, determine the first number of the backplane physical slot identifier and the backplane ID. a corresponding relationship.

其中,所述根据所述第一对应关系和所述第二对应关系记录背板物理槽位所位于的背板,以及所述背板对应的系统盘符,包括:The recording of the backplane where the physical slot of the backplane is located according to the first correspondence and the second correspondence, and the system drive letter corresponding to the backplane, include:

根据所述第一对应关系和所述第二对应关系确定背板物理槽位所位于的背板,并确定所述背板对应的系统盘符;Determine the backplane where the physical slot of the backplane is located according to the first correspondence and the second correspondence, and determine the system drive letter corresponding to the backplane;

将背板物理槽位所位于的背板和所述背板对应的系统盘符对应记录至预设的数据表,并存储所述数据表。Correspondingly record the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane into a preset data table, and store the data table.

其中,所述存储所述数据表之后,还包括:Wherein, after storing the data table, it also includes:

将所述数据表进行可视化展示。Visually display the data table.

其中,所述将所述数据表进行可视化展示之后,还包括:Wherein, after the visual display of the data table, the method further includes:

当目标系统盘符出现故障时,根据所述数据表确定所述目标系统盘符对应的目标背板,以及所述目标系统盘符在所述目标背板中对应的目标背板物理槽位,并确定所述目标背板物理槽位连接的物理硬盘。When the target system drive letter fails, the target backplane corresponding to the target system drive letter and the target backplane physical slot corresponding to the target system drive letter in the target backplane are determined according to the data table, And determine the physical hard disk connected to the physical slot of the target backplane.

一种记录背板物理槽位和系统盘符对应关系的装置,包括:A device for recording the correspondence between physical slots on a backplane and system drive letters, comprising:

获取模块,用于通过与当前SAS卡对应的管理工具获取目标信息,所述目标信息至少包括:背板物理槽位标识、Drive SAS Address、挂载点、背板ID、系统标识和系统盘符标识;The acquisition module is used to acquire target information through a management tool corresponding to the current SAS card, the target information at least includes: backplane physical slot identifier, Drive SAS Address, mount point, backplane ID, system identifier, and system drive letter identification;

第一确定模块,用于根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述Drive SAS Address和所述挂载点的关联关系,以及所述挂载点和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系;a first determination module, configured to determine the relationship between the physical slot identifier of the backplane and the Drive SAS Address, the relationship between the Drive SAS Address and the mount point, and the mount point and the The association relationship of the backplane ID, determining the first correspondence between the physical slot identifier of the backplane and the backplane ID;

第二确定模块,用于根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述Drive SAS Address和所述系统标识的关联关系,以及所述系统标识和所述系统盘符标识的关联关系,确定所述背板物理槽位标识和所述系统盘符标识的第二对应关系;The second determination module is configured to, according to the association relationship between the backplane physical slot ID and the Drive SAS Address, the association relationship between the Drive SAS Address and the system ID, and the system ID and the system disk the association relationship between the identifiers, and determine the second correspondence between the physical slot identifiers of the backplane and the system drive identifiers;

记录模块,用于根据所述第一对应关系和所述第二对应关系记录背板物理槽位所位于的背板,以及所述背板对应的系统盘符。The recording module is configured to record the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane according to the first correspondence and the second correspondence.

其中,所述获取模块具体用于:Wherein, the acquisition module is specifically used for:

通过与当前SAS卡对应的storcli工具、lsiutil工具和scrutiny工具获取所述目标信息,并将所述目标信息存储至目标文件;Obtain the target information through the storcli tool, the lsiutil tool and the scrutiny tool corresponding to the current SAS card, and store the target information in a target file;

其中,通过所述storcli工具获取所述背板物理槽位标识和所述Drive SASAddress;通过所述lsiutil工具获取所述Drive SAS Address、所述挂载点和所述背板ID;通过所述scrutiny工具获取所述系统标识和所述系统盘符标识。The backplane physical slot identifier and the Drive SASAddress are obtained through the storcli tool; the Drive SAS Address, the mount point, and the backplane ID are obtained through the lsiutil tool; and the scrutiny The tool obtains the system identifier and the system drive letter identifier.

一种记录背板物理槽位和系统盘符对应关系的设备,包括:A device for recording the correspondence between physical slots and system drive letters on the backplane, including:

存储器,用于存储计算机程序;memory for storing computer programs;

处理器,用于执行所述计算机程序时实现上述任意一项所述的记录背板物理槽位和系统盘符对应关系的方法的步骤。The processor is configured to implement the steps of any one of the above-mentioned methods for recording the corresponding relationship between the physical slot position of the backplane and the system drive letter when executing the computer program.

一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述任意一项所述的记录背板物理槽位和系统盘符对应关系的方法的步骤。A readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method for recording the correspondence between the physical slot position of the backplane and the system drive letter described in any one of the above A step of.

通过以上方案可知,本发明实施例提供的一种记录背板物理槽位和系统盘符对应关系的方法,包括:通过与当前SAS卡对应的管理工具获取目标信息,所述目标信息至少包括:背板物理槽位标识、Drive SAS Address、挂载点、背板ID、系统标识和系统盘符标识;根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述Drive SAS Address和所述挂载点的关联关系,以及所述挂载点和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系;根据所述背板物理槽位标识和所述Drive SASAddress的关联关系,所述Drive SAS Address和所述系统标识的关联关系,以及所述系统标识和所述系统盘符标识的关联关系,确定所述背板物理槽位标识和所述系统盘符标识的第二对应关系;根据所述第一对应关系和所述第二对应关系记录背板物理槽位所位于的背板,以及所述背板对应的系统盘符。As can be seen from the above solutions, a method for recording the correspondence between physical slots on a backplane and a system drive letter provided by an embodiment of the present invention includes: obtaining target information through a management tool corresponding to the current SAS card, where the target information at least includes: Backplane physical slot identifier, Drive SAS Address, mount point, backplane ID, system identifier, and system drive letter identifier; according to the association between the backplane physical slot identifier and the Drive SAS Address, the Drive SAS The association between the Address and the mount point, and the association between the mount point and the backplane ID, determine the first correspondence between the backplane physical slot identifier and the backplane ID; The relationship between the backplane physical slot identifier and the Drive SASAddress, the relationship between the Drive SAS Address and the system identifier, and the relationship between the system identifier and the system drive identifier, determine the backplane The second correspondence between the board physical slot identifier and the system drive identifier; according to the first correspondence and the second correspondence, record the backplane where the backplane physical slot is located, and the backplane corresponding to the backplane system drive letter.

可见,所述方法通过与当前SAS卡对应的管理工具获取背板物理槽位标识、DriveSAS Address、挂载点、背板ID、系统标识和系统盘符标识等信息,并根据这些信息两两之间的关联关系,确定并记录背板物理槽位所位于的背板,以及背板对应的系统盘符,即:确定并记录了背板物理槽位和系统盘符之间的对应关系。其中,记录的背板物理槽位所位于的背板,以及背板对应的系统盘符这些信息可以为技术人员提供维修依据,便于快速确定待检修位置;同时,服务器方案设计人员还可以根据这些信息判断设计方案的优劣。It can be seen that the method obtains information such as the backplane physical slot identifier, DriveSAS Address, mount point, backplane ID, system identifier and system drive identifier through the management tool corresponding to the current SAS card, and according to these information two or two Determine and record the backplane where the physical slot of the backplane is located, and the system drive letter corresponding to the backplane, that is, determine and record the correspondence between the physical slot on the backplane and the system drive letter. Among them, the recorded information of the backplane where the physical slot of the backplane is located, and the system drive letter corresponding to the backplane can provide maintenance basis for technicians, and it is convenient to quickly determine the location to be repaired; at the same time, server solution designers can also use these information. Information to judge the pros and cons of the design.

相应地,本发明实施例提供的一种记录背板物理槽位和系统盘符对应关系的装置、设备及可读存储介质,也同样具有上述技术效果。Correspondingly, the apparatus, device, and readable storage medium for recording the correspondence between the physical slot position of the backplane and the system drive letter provided by the embodiment of the present invention also have the above technical effects.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying 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 only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1为本发明实施例公开的一种记录背板物理槽位和系统盘符对应关系的方法流程图;1 is a flow chart of a method for recording the correspondence between a physical slot position of a backplane and a system drive letter disclosed in an embodiment of the present invention;

图2为本发明实施例公开的信息关联关系示意图;2 is a schematic diagram of an information association relationship disclosed in an embodiment of the present invention;

图3为本发明实施例公开的一种记录背板物理槽位和系统盘符对应关系的装置示意图;3 is a schematic diagram of a device for recording the correspondence between a physical slot position of a backplane and a system drive letter disclosed in an embodiment of the present invention;

图4为本发明实施例公开的一种记录背板物理槽位和系统盘符对应关系的设备示意图。FIG. 4 is a schematic diagram of a device for recording the correspondence between a physical slot position of a backplane and a system drive letter according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明实施例公开了一种记录背板物理槽位和系统盘符对应关系的方法、装置、设备及可读存储介质,以实现记录背板物理槽位和系统盘符对应关系。Embodiments of the present invention disclose a method, apparatus, device and readable storage medium for recording the correspondence between physical slots and system drive letters on the backplane, so as to record the correspondence between physical slots and system drive letters on the backplane.

参见图1,本发明实施例提供的一种记录背板物理槽位和系统盘符对应关系的方法,包括:Referring to FIG. 1, an embodiment of the present invention provides a method for recording the correspondence between a physical slot position and a system drive letter on a backplane, including:

S101、通过与当前SAS卡对应的管理工具获取目标信息,目标信息至少包括:背板物理槽位标识、Drive SAS Address、挂载点、背板ID、系统标识和系统盘符标识;S101. Obtain target information through a management tool corresponding to the current SAS card, where the target information at least includes: backplane physical slot identifier, Drive SAS Address, mount point, backplane ID, system identifier, and system drive identifier;

优选地,所述通过与当前SAS卡对应的管理工具获取目标信息,包括:Preferably, obtaining the target information through a management tool corresponding to the current SAS card includes:

通过与当前SAS卡对应的storcli工具、lsiutil工具和scrutiny工具获取所述目标信息,并将所述目标信息存储至目标文件;Obtain the target information through the storcli tool, the lsiutil tool and the scrutiny tool corresponding to the current SAS card, and store the target information in a target file;

其中,通过所述storcli工具获取所述背板物理槽位标识和所述Drive SASAddress;通过所述lsiutil工具获取所述Drive SAS Address、所述挂载点和所述背板ID;通过所述scrutiny工具获取所述系统标识和所述系统盘符标识。The backplane physical slot identifier and the Drive SASAddress are obtained through the storcli tool; the Drive SAS Address, the mount point, and the backplane ID are obtained through the lsiutil tool; and the scrutiny The tool obtains the system identifier and the system drive letter identifier.

S102、根据背板物理槽位标识和Drive SAS Address的关联关系,Drive SASAddress和挂载点的关联关系,以及挂载点和背板ID的关联关系,确定背板物理槽位标识和背板ID的第一对应关系;S102. Determine the physical slot identifier and the backplane ID according to the relationship between the physical slot identifier of the backplane and the Drive SAS Address, the relationship between the Drive SASAddress and the mount point, and the relationship between the mount point and the backplane ID. The first correspondence of ;

优选地,所述根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述Drive SAS Address和所述挂载点的关联关系,以及所述挂载点和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系,包括:Preferably, according to the association relationship between the physical slot identifier of the backplane and the Drive SAS Address, the association relationship between the Drive SAS Address and the mount point, and the mount point and the backplane The association relationship of the ID, to determine the first correspondence between the physical slot identifier of the backplane and the backplane ID, including:

在所述挂载点中确定硬盘挂载点和背板挂载点,并根据所述Drive SAS Address和所述硬盘挂载点的关联关系,所述硬盘挂载点和所述背板挂载点的关联关系,所述背板挂载点和所述背板ID的关联关系,确定所述Drive SAS Address和所述背板ID的关联关系;Determine the hard disk mount point and the backplane mount point in the mount point, and according to the association relationship between the Drive SAS Address and the hard disk mount point, the hard disk mount point and the backplane mount point The relationship between the points, the relationship between the backplane mount point and the backplane ID, and the relationship between the Drive SAS Address and the backplane ID;

根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述DriveSAS Address和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系。According to the association relationship between the backplane physical slot identifier and the Drive SAS Address, and the association relationship between the DriveSAS Address and the backplane ID, determine the first number of the backplane physical slot identifier and the backplane ID. a corresponding relationship.

S103、根据背板物理槽位标识和Drive SAS Address的关联关系,Drive SASAddress和系统标识的关联关系,以及系统标识和系统盘符标识的关联关系,确定背板物理槽位标识和系统盘符标识的第二对应关系;S103. Determine the physical slot identifier of the backplane and the system drive identifier according to the relationship between the physical slot identifier of the backplane and the Drive SAS Address, the relationship between the Drive SASAddress and the system identifier, and the relationship between the system identifier and the system drive identifier. The second correspondence of ;

S104、根据第一对应关系和第二对应关系记录背板物理槽位所位于的背板,以及背板对应的系统盘符。S104. Record the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane according to the first correspondence and the second correspondence.

优选地,所述根据所述第一对应关系和所述第二对应关系记录背板物理槽位所位于的背板,以及所述背板对应的系统盘符,包括:Preferably, recording the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane according to the first correspondence and the second correspondence, including:

根据所述第一对应关系和所述第二对应关系确定背板物理槽位所位于的背板,并确定所述背板对应的系统盘符;Determine the backplane where the physical slot of the backplane is located according to the first correspondence and the second correspondence, and determine the system drive letter corresponding to the backplane;

将背板物理槽位所位于的背板和所述背板对应的系统盘符对应记录至预设的数据表,并存储所述数据表。Correspondingly record the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane into a preset data table, and store the data table.

需要说明的是,所述存储所述数据表之后,还包括:将所述数据表进行可视化展示。It should be noted that, after storing the data table, the method further includes: displaying the data table visually.

其中,所述将所述数据表进行可视化展示之后,还包括:当目标系统盘符出现故障时,根据所述数据表确定所述目标系统盘符对应的目标背板,以及所述目标系统盘符在所述目标背板中对应的目标背板物理槽位,并确定所述目标背板物理槽位连接的物理硬盘。Wherein, after the visual display of the data table, the method further includes: when the target system drive letter fails, determining the target backplane corresponding to the target system drive letter according to the data table, and the target system disk The corresponding target backplane physical slot in the target backplane is identified, and the physical hard disk connected to the target backplane physical slot is determined.

可见,本实施例提供了一种记录背板物理槽位和系统盘符对应关系的方法,所述方法通过与当前SAS卡对应的管理工具获取背板物理槽位标识、Drive SAS Address、挂载点、背板ID、系统标识和系统盘符标识等信息,并根据这些信息两两之间的关联关系,确定并记录背板物理槽位所位于的背板,以及背板对应的系统盘符,即:确定并记录了背板物理槽位和系统盘符之间的对应关系。其中,记录的背板物理槽位所位于的背板,以及背板对应的系统盘符这些信息可以为技术人员提供维修依据,便于快速确定待检修位置;同时,服务器方案设计人员还可以根据这些信息判断设计方案的优劣。It can be seen that this embodiment provides a method for recording the correspondence between the physical slot position of the backplane and the system drive letter, and the method obtains the physical slot ID, Drive SAS Address, Mounting point, backplane ID, system ID, and system drive letter identification, and determine and record the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane according to the relationship between these information. , that is: determine and record the correspondence between the physical slot on the backplane and the system drive letter. Among them, the recorded information of the backplane where the physical slot of the backplane is located, and the system drive letter corresponding to the backplane can provide maintenance basis for technicians, and it is convenient to quickly determine the location to be repaired; at the same time, server solution designers can also use these information. Information to judge the pros and cons of the design.

本发明实施例公开了一种记录背板物理槽位和系统盘符对应关系的实施方案,相对于上一实施例,本实施例对技术方案作了进一步的说明和优化。The embodiment of the present invention discloses an implementation scheme for recording the corresponding relationship between the physical slot position of the backplane and the system drive letter. Compared with the previous embodiment, this embodiment further describes and optimizes the technical solution.

本发明实施例提供的一种记录背板物理槽位和系统盘符对应关系的实施方案,该方案基于Linux系统实现,适用于多种SAS卡,下面以storcli工具获取硬盘物理slot号和Serial Number为例进行描述。其中,硬盘物理slot号即为背板物理槽位标识。The embodiment of the present invention provides an implementation solution for recording the correspondence between the physical slot position of the backplane and the system drive letter. The solution is implemented based on a Linux system and is suitable for various SAS cards. The following uses the storcli tool to obtain the physical slot number and Serial Number of the hard disk. Described as an example. The physical slot number of the hard disk is the physical slot ID of the backplane.

一、信息获取:1. Information acquisition:

1、判断当前系统是否安装由RAID卡的管理工具storcli,其中,判断命令为:[!-f/opt/MegaRAID/storcli/storclli*]&&rpm-i storcli-*.noarch.rpm>/dev/null||2>/dev/null,如果没有安装,则自动安装storcli管理工具,并将安装信息导入为空,不在屏幕上显示;1. Determine whether the current system is installed with the management tool storcli of the RAID card. Among them, the judgment command is: [! -f/opt/MegaRAID/storcli/storclli*]&&rpm-i storcli-*.noarch.rpm>/dev/null||2>/dev/null, if it is not installed, the storcli management tool will be installed automatically and will be installed The information import is empty and not displayed on the screen;

同时,判断当前系统是x64还是x86,并将storcli设置为脚本的全局变量,判断命令为:At the same time, determine whether the current system is x64 or x86, and set storcli as the global variable of the script. The judgment command is:

arch='uname-m'arch='uname-m'

if[$arch=x86_64];thenif[$arch=x86_64]; then

storcli=/opt/MegaRAID/storcli/storcli64storcli=/opt/MegaRAID/storcli/storcli64

elseelse

storcli=/opt/MegaRAID/storcli/storclistorcli=/opt/MegaRAID/storcli/storcli

fifi

2、通过storcli工具获取硬盘信息,获取命令为:$storcli/c0/eall/sall showall>device_info.txt,之后将获取到的信息存入对应的device_info.txt文件中。2. Obtain the hard disk information through the storcli tool. The command is: $storcli/c0/eall/sall showall>device_info.txt, and then store the obtained information in the corresponding device_info.txt file.

3、处理device_info.txt文件,提取需要的信息点,提取命令为:3. Process the device_info.txt file and extract the required information points. The extraction command is:

physical_slot=`cat device_info.txt|grep-i‘Device attributes’|cut-d's'-f 2|cut-d'D'-f 1`physical_slot=`cat device_info.txt|grep-i'Device attributes'|cut-d's'-f 2|cut-d'D'-f 1`

SAS_Address_s=`cat device_info.txt|grep-i‘SAS address’|awk'{print$3}'`SAS_Address_s=`cat device_info.txt|grep-i'SAS address'|awk'{print$3}'`

echo"$physical_slot,$SAS_Address_s">>storcli_info.txtecho "$physical_slot,$SAS_Address_s">>storcli_info.txt

将提取到的信息点存入storcli_info.txt文件,以备比对信息时使用。至此可获得背板物理槽位标识和Drive SAS Address,其中,背板物理槽位标识即为/cx/eid/slot。Save the extracted information points into the storcli_info.txt file for use in comparing information. At this point, the backplane physical slot ID and Drive SAS Address can be obtained, where the backplane physical slot ID is /cx/eid/slot.

同理,通过lsiutil工具获取Drive SAS Address、挂载点和背板ID,其中,挂载点包括硬盘挂载点(Drive Parent)和背板挂载点(Backplane Handle),Backplane SASAddress即为背板ID。In the same way, use the lsiutil tool to obtain the Drive SAS Address, mount point and backplane ID, where the mount point includes the hard disk mount point (Drive Parent) and the backplane handle (Backplane Handle), and the Backplane SASAddress is the backplane ID.

通过scrutiny工具获取系统标识(Bus:Target)和系统盘符标识(/dev/sd#)。Obtain the system ID (Bus: Target) and the system drive ID (/dev/sd#) through the scrutiny tool.

二、信息比对:2. Information comparison:

1、Slot号关联到系统盘符标识:/cx/eid/sid→Drive SAS Address→Bus:Target→/dev/sd#;1. The slot number is associated with the system drive identifier: /cx/eid/sid→Drive SAS Address→Bus:Target→/dev/sd#;

2、Slot号关联到背板ID:/cx/eid/sid→Drive SAS Address→Drive Parent→Backplane Handle→Backplane SAS Address;2. The slot number is associated with the backplane ID: /cx/eid/sid→Drive SAS Address→Drive Parent→Backplane Handle→Backplane SAS Address;

3、确定Slot号的位置,以及对应的系统盘符标识,请参见图2;3. Determine the location of the slot number and the corresponding system drive symbol, see Figure 2;

/cx/eid/sid→Drive SAS Address→Bus:Target→/dev/sd#,其中,DriveParent→Backplane Handle→Backplane SAS Address,至此则可确定/cx/eid/sid位于的Backplane SAS Address,并确定了对应的/dev/sd#。即确定了背板物理槽位和系统盘符的对应关系。/cx/eid/sid→Drive SAS Address→Bus:Target→/dev/sd#, where DriveParent→Backplane Handle→Backplane SAS Address, at this point, the Backplane SAS Address where /cx/eid/sid is located can be determined, and the corresponding /dev/sd#. That is, the corresponding relationship between the physical slot on the backplane and the system drive letter is determined.

4、将确定得到的对应关系记录至数据表并进行可视化展示。4. Record the determined corresponding relationship in the data table and display it visually.

下面对本发明实施例提供的一种记录背板物理槽位和系统盘符对应关系的装置进行介绍,下文描述的一种记录背板物理槽位和系统盘符对应关系的装置与上文描述的一种记录背板物理槽位和系统盘符对应关系的方法可以相互参照。The following describes an apparatus for recording the correspondence between physical slots on the backplane and system drive letters provided by the embodiments of the present invention. A method for recording the correspondence between the physical slot position of the backplane and the system drive letter can refer to each other.

参见图3,本发明实施例提供的一种记录背板物理槽位和系统盘符对应关系的装置,包括:Referring to FIG. 3 , an apparatus for recording the correspondence between physical slots and system drive letters on a backplane provided by an embodiment of the present invention includes:

获取模块301,用于通过与当前SAS卡对应的管理工具获取目标信息,所述目标信息至少包括:背板物理槽位标识、Drive SAS Address、挂载点、背板ID、系统标识和系统盘符标识;The obtaining module 301 is used to obtain target information through a management tool corresponding to the current SAS card, where the target information at least includes: backplane physical slot identifier, Drive SAS Address, mount point, backplane ID, system identifier, and system disk sign;

第一确定模块302,用于根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述Drive SAS Address和所述挂载点的关联关系,以及所述挂载点和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系;The first determining module 302 is configured to, according to the association relationship between the backplane physical slot identifier and the Drive SAS Address, the association relationship between the Drive SAS Address and the mount point, and the mount point and all the association relationship of the backplane ID, and determine the first correspondence between the physical slot identifier of the backplane and the backplane ID;

第二确定模块303,用于根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述Drive SAS Address和所述系统标识的关联关系,以及所述系统标识和所述系统盘符标识的关联关系,确定所述背板物理槽位标识和所述系统盘符标识的第二对应关系;The second determination module 303 is configured to, according to the association relationship between the backplane physical slot ID and the Drive SAS Address, the association relationship between the Drive SAS Address and the system ID, and the system ID and the system ID The association relationship between the drive letter identifiers, determining the second correspondence between the backplane physical slot identifiers and the system drive letter identifiers;

记录模块304,用于根据所述第一对应关系和所述第二对应关系记录背板物理槽位所位于的背板,以及所述背板对应的系统盘符。The recording module 304 is configured to record the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane according to the first correspondence and the second correspondence.

其中,所述获取模块具体用于:Wherein, the acquisition module is specifically used for:

通过与当前SAS卡对应的storcli工具、lsiutil工具和scrutiny工具获取所述目标信息,并将所述目标信息存储至目标文件;Obtain the target information through the storcli tool, the lsiutil tool and the scrutiny tool corresponding to the current SAS card, and store the target information in a target file;

其中,通过所述storcli工具获取所述背板物理槽位标识和所述Drive SASAddress;通过所述lsiutil工具获取所述Drive SAS Address、所述挂载点和所述背板ID;通过所述scrutiny工具获取所述系统标识和所述系统盘符标识。The backplane physical slot identifier and the Drive SASAddress are obtained through the storcli tool; the Drive SAS Address, the mount point, and the backplane ID are obtained through the lsiutil tool; and the scrutiny The tool obtains the system identifier and the system drive letter identifier.

其中,所述第一确定模块包括:Wherein, the first determining module includes:

第一确定单元,用于在所述挂载点中确定硬盘挂载点和背板挂载点,并根据所述Drive SAS Address和所述硬盘挂载点的关联关系,所述硬盘挂载点和所述背板挂载点的关联关系,所述背板挂载点和所述背板ID的关联关系,确定所述Drive SAS Address和所述背板ID的关联关系;a first determining unit, configured to determine a hard disk mounting point and a backplane mounting point in the mounting point, and according to the association relationship between the Drive SAS Address and the hard disk mounting point, the hard disk mounting point The association relationship with the backplane mounting point, the association relationship between the backplane mounting point and the backplane ID, determine the association relationship between the Drive SAS Address and the backplane ID;

第二确定单元,用于根据所述背板物理槽位标识和所述Drive SAS Address的关联关系,所述Drive SAS Address和所述背板ID的关联关系,确定所述背板物理槽位标识和所述背板ID的第一对应关系。A second determining unit, configured to determine the backplane physical slot identifier according to the association relationship between the backplane physical slot identifier and the Drive SAS Address, and the association relationship between the Drive SAS Address and the backplane ID and the first corresponding relationship with the backplane ID.

其中,所述记录模块包括:Wherein, the recording module includes:

第三确定单元,用于根据所述第一对应关系和所述第二对应关系确定背板物理槽位所位于的背板,并确定所述背板对应的系统盘符;a third determining unit, configured to determine the backplane where the physical slot of the backplane is located according to the first correspondence and the second correspondence, and determine the system drive letter corresponding to the backplane;

记录单元,用于将背板物理槽位所位于的背板和所述背板对应的系统盘符对应记录至预设的数据表,并存储所述数据表。The recording unit is configured to record the backplane where the physical slot of the backplane is located and the system drive letter corresponding to the backplane to a preset data table, and store the data table.

其中,还包括:Among them, it also includes:

展示模块,用于将所述数据表进行可视化展示。The display module is used to visually display the data table.

其中,还包括:Among them, it also includes:

检测模块,用于当目标系统盘符出现故障时,根据所述数据表确定所述目标系统盘符对应的目标背板,以及所述目标系统盘符在所述目标背板中对应的目标背板物理槽位,并确定所述目标背板物理槽位连接的物理硬盘。The detection module is used to determine, according to the data table, the target backplane corresponding to the target system drive letter and the target backplane corresponding to the target system drive letter in the target backplane when the target system drive letter fails. board physical slot, and determine the physical hard disk connected to the target backplane physical slot.

下面对本发明实施例提供的一种记录背板物理槽位和系统盘符对应关系的设备进行介绍,下文描述的一种记录背板物理槽位和系统盘符对应关系的设备与上文描述的一种记录背板物理槽位和系统盘符对应关系的方法及装置可以相互参照。The following describes a device for recording the correspondence between physical slots on the backplane and system drive letters provided by the embodiments of the present invention. A method and device for recording the corresponding relationship between physical slots on a backplane and system drive letters can refer to each other.

参见图4,本发明实施例提供的一种记录背板物理槽位和系统盘符对应关系的设备,包括:Referring to FIG. 4, an embodiment of the present invention provides a device for recording the correspondence between the physical slot position of the backplane and the system drive letter, including:

存储器401,用于存储计算机程序;memory 401 for storing computer programs;

处理器402,用于执行所述计算机程序时实现上述任意实施例所述的记录背板物理槽位和系统盘符对应关系的方法的步骤。The processor 402 is configured to, when executing the computer program, implement the steps of the method for recording the correspondence between the physical slot position of the backplane and the system drive letter described in any of the foregoing embodiments.

下面对本发明实施例提供的一种可读存储介质进行介绍,下文描述的一种可读存储介质与上文描述的一种记录背板物理槽位和系统盘符对应关系的方法、装置及设备可以相互参照。A readable storage medium provided by an embodiment of the present invention is introduced below. A readable storage medium described below and a method, apparatus, and device for recording the correspondence between physical slots and system drive letters of the backplane described above can refer to each other.

一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述任意实施例所述的记录背板物理槽位和系统盘符对应关系的方法的步骤。A readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the corresponding relationship between the physical slot position of the recording backplane and the system drive letter as described in any of the above-mentioned embodiments is realized. steps of the method.

本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for recording corresponding relation between a physical slot position of a backboard and a system drive letter is characterized by comprising the following steps:
acquiring target information through a management tool corresponding to the current SAS card, wherein the target information at least comprises: the system comprises a backplane physical slot position identifier, a Drive SAS Address, a mounting point, a backplane ID, a system identifier and a system Drive identifier; the mounting points comprise hard disk mounting points and back plate mounting points; the system identification is: a bus target associated with the Drive SAS Address;
determining a first corresponding relation between the backboard physical slot position identification and the backboard ID according to the incidence relation between the backboard physical slot position identification and the Drive SAS Address, the incidence relation between the Drive SAS Address and the mounting point, and the incidence relation between the mounting point and the backboard ID;
determining a second corresponding relation between the backplane physical slot position identifier and the system Drive identifier according to the incidence relation between the backplane physical slot position identifier and the Drive SAS Address, the incidence relation between the Drive SAS Address and the system identifier, and the incidence relation between the system identifier and the system Drive identifier;
and recording the backboard where the physical slot position of the backboard is located and the system drive letter corresponding to the backboard according to the first corresponding relation and the second corresponding relation.
2. The method of claim 1, wherein the obtaining of the target information through a management tool corresponding to the current SAS card comprises:
acquiring the target information through a storcli tool, an lsiutitil tool and a debugging tool corresponding to the current SAS card, and storing the target information to a target file;
acquiring the backboard physical slot position identification and the Drive SAS Address through the storcli tool; acquiring the Drive SAS Address, the mounting point and the backboard ID through the lsiutitil tool; and acquiring the system identification and the system disc identifier identification through the scrutiny tool.
3. The method according to claim 2, wherein the determining a first corresponding relationship between the backplane physical slot ID and the backplane ID according to an association between the backplane physical slot ID and the Drive SAS Address, an association between the Drive SAS Address and the mount point, and an association between the mount point and the backplane ID comprises:
determining a hard disk mounting point and a backplane mounting point in the mounting points, and determining an incidence relation between the Drive SAS Address and the backplane ID according to the incidence relation between the Drive SAS Address and the hard disk mounting point, the incidence relation between the hard disk mounting point and the backplane mounting point, and the incidence relation between the backplane mounting point and the backplane ID;
and determining a first corresponding relationship between the backplane physical slot position identification and the backplane ID according to the incidence relationship between the backplane physical slot position identification and the Drive SAS Address and the incidence relationship between the Drive SAS Address and the backplane ID.
4. The method according to any one of claims 1 to 3, wherein the recording the backplane in which the backplane physical slot is located and the system drive corresponding to the backplane according to the first corresponding relationship and the second corresponding relationship comprises:
determining a backboard where a backboard physical slot position is located according to the first corresponding relation and the second corresponding relation, and determining a system drive letter corresponding to the backboard;
correspondingly recording the backboard where the backboard physical slot position is located and the system drive letter corresponding to the backboard to a preset data table, and storing the data table.
5. The method of claim 4, wherein after storing the data table, further comprising:
and visually displaying the data table.
6. The method of claim 5, wherein after visually displaying the data table, the method further comprises:
when a target system drive letter is in fault, determining a target backboard corresponding to the target system drive letter and a target backboard physical slot position corresponding to the target system drive letter in the target backboard according to the data table, and determining a physical hard disk connected with the target backboard physical slot position.
7. A device for recording corresponding relation between a physical slot position of a backboard and a system drive letter is characterized by comprising:
an obtaining module, configured to obtain target information through a management tool corresponding to a current SAS card, where the target information at least includes: the system comprises a backplane physical slot position identifier, a Drive SAS Address, a mounting point, a backplane ID, a system identifier and a system Drive identifier; the mounting points comprise hard disk mounting points and back plate mounting points; the system identification is: a bus target associated with the Drive SAS Address;
a first determining module, configured to determine a first corresponding relationship between the backplane physical slot identifier and the backplane ID according to an association relationship between the backplane physical slot identifier and the Drive SAS Address, an association relationship between the Drive SAS Address and the mount point, and an association relationship between the mount point and the backplane ID;
a second determining module, configured to determine a second corresponding relationship between the backplane physical slot identifier and the system Drive identifier according to an association relationship between the backplane physical slot identifier and the Drive SAS Address, an association relationship between the Drive SAS Address and the system identifier, and an association relationship between the system identifier and the system Drive identifier;
and the recording module is used for recording the backboard where the physical slot position of the backboard is located and the system drive letter corresponding to the backboard according to the first corresponding relation and the second corresponding relation.
8. The apparatus according to claim 7, wherein the obtaining module is specifically configured to:
acquiring the target information through a storcli tool, an lsiutitil tool and a debugging tool corresponding to the current SAS card, and storing the target information to a target file;
acquiring the backboard physical slot position identification and the Drive SAS Address through the storcli tool; acquiring the Drive SAS Address, the mounting point and the backboard ID through the lsiutitil tool; and acquiring the system identification and the system disc identifier identification through the scrutiny tool.
9. An apparatus for recording a corresponding relationship between a physical slot of a backplane and a system drive letter, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of recording the correspondence between the backplane physical slots and the system drive letters according to any one of claims 1 to 6 when executing the computer program.
10. A readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of recording a correspondence between a backplane physical slot and a system drive according to any one of claims 1 to 6.
CN201811475911.4A 2018-12-04 2018-12-04 A method and component for recording the correspondence between physical slots and system drive letters on a backplane Active CN109542708B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811475911.4A CN109542708B (en) 2018-12-04 2018-12-04 A method and component for recording the correspondence between physical slots and system drive letters on a backplane

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811475911.4A CN109542708B (en) 2018-12-04 2018-12-04 A method and component for recording the correspondence between physical slots and system drive letters on a backplane

Publications (2)

Publication Number Publication Date
CN109542708A CN109542708A (en) 2019-03-29
CN109542708B true CN109542708B (en) 2022-08-02

Family

ID=65853681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811475911.4A Active CN109542708B (en) 2018-12-04 2018-12-04 A method and component for recording the correspondence between physical slots and system drive letters on a backplane

Country Status (1)

Country Link
CN (1) CN109542708B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110187844B (en) * 2019-06-11 2020-03-31 苏州浪潮智能科技有限公司 Method and device for automatically identifying and mounting nodes of hard RAID (redundant array of independent disk) equipment
CN110989926B (en) * 2019-11-11 2024-02-13 北京字节跳动网络技术有限公司 Faulty disk slot location method, device and electronic equipment
CN111400121B (en) * 2020-04-21 2023-03-17 贵州新致普惠信息技术有限公司 Server hard disk slot positioning and maintaining method
CN112988513B (en) * 2021-03-12 2023-07-14 山东英信计算机技术有限公司 A server hard disk information management method, device, equipment and medium
CN114115733B (en) * 2021-11-12 2022-11-04 江苏安超云软件有限公司 Method for matching disk identifier and slot number for RAID card and application

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564278B1 (en) * 1999-10-21 2003-05-13 Ulysses Esd, Inc. System and method for obtaining board address information
JP2004220265A (en) * 2003-01-14 2004-08-05 Fujitsu Ltd I / O device and identification information setting method in I / O device
CN1955913A (en) * 2005-10-20 2007-05-02 戴尔产品有限公司 Method for persistent mapping of disk drive identifiers to server connection slots
CN103218180A (en) * 2013-05-14 2013-07-24 北京百度网讯科技有限公司 Disk positioning method and device
CN103970642A (en) * 2014-05-21 2014-08-06 浪潮电子信息产业股份有限公司 Monitoring method for on-line state of Linux server hard disk
CN106326154A (en) * 2016-08-09 2017-01-11 杭州宏杉科技有限公司 Control circuit and control method of hard disk address
CN106469103A (en) * 2015-08-14 2017-03-01 华为软件技术有限公司 The maintaining method of hard disk and device
CN107402720A (en) * 2017-06-30 2017-11-28 郑州云海信息技术有限公司 A kind of processing method of hard disk, device and terminal
KR20170133786A (en) * 2016-05-26 2017-12-06 주식회사 백프로 SAS Data converting system having a plurality of RAID controllers
CN107577545A (en) * 2016-07-05 2018-01-12 北京金山云网络技术有限公司 A kind of failed disk detection and restorative procedure and device
CN107943723A (en) * 2017-11-23 2018-04-20 郑州云海信息技术有限公司 A kind of hard disc of computer recognition methods and system
CN108009067A (en) * 2017-11-30 2018-05-08 郑州云海信息技术有限公司 A kind of method and system that RAID card details are checked under server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479163A (en) * 2010-11-25 2012-05-30 鸿富锦精密工业(深圳)有限公司 Multi-hard-disk automatic identification system and method
CN203552155U (en) * 2013-11-22 2014-04-16 浪潮电子信息产业股份有限公司 Hard disc plug device based on PCIE slots

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6564278B1 (en) * 1999-10-21 2003-05-13 Ulysses Esd, Inc. System and method for obtaining board address information
JP2004220265A (en) * 2003-01-14 2004-08-05 Fujitsu Ltd I / O device and identification information setting method in I / O device
CN1955913A (en) * 2005-10-20 2007-05-02 戴尔产品有限公司 Method for persistent mapping of disk drive identifiers to server connection slots
CN103218180A (en) * 2013-05-14 2013-07-24 北京百度网讯科技有限公司 Disk positioning method and device
CN103970642A (en) * 2014-05-21 2014-08-06 浪潮电子信息产业股份有限公司 Monitoring method for on-line state of Linux server hard disk
CN106469103A (en) * 2015-08-14 2017-03-01 华为软件技术有限公司 The maintaining method of hard disk and device
KR20170133786A (en) * 2016-05-26 2017-12-06 주식회사 백프로 SAS Data converting system having a plurality of RAID controllers
CN107577545A (en) * 2016-07-05 2018-01-12 北京金山云网络技术有限公司 A kind of failed disk detection and restorative procedure and device
CN106326154A (en) * 2016-08-09 2017-01-11 杭州宏杉科技有限公司 Control circuit and control method of hard disk address
CN107402720A (en) * 2017-06-30 2017-11-28 郑州云海信息技术有限公司 A kind of processing method of hard disk, device and terminal
CN107943723A (en) * 2017-11-23 2018-04-20 郑州云海信息技术有限公司 A kind of hard disc of computer recognition methods and system
CN108009067A (en) * 2017-11-30 2018-05-08 郑州云海信息技术有限公司 A kind of method and system that RAID card details are checked under server

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Linux下查找磁盘盘符与机器槽位Slot的对应关系;一个行走的民;《https://blog.csdn.net/zhaominpro/article/details/81359348》;20180802;全文 *
Seachange UML服务器系统的结构与应用;李绰源;《影视制作》;20130815(第08期);全文 *

Also Published As

Publication number Publication date
CN109542708A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109542708B (en) A method and component for recording the correspondence between physical slots and system drive letters on a backplane
CN102768639B (en) Operating system kernel-level error positioning method and device
TWI465901B (en) Method and system for verification of computerized systems for cloud testing and remote monitoring of integrated circuit devices
WO2019085466A1 (en) Association test method and system, application server, and computer readable storage medium
CN105511993A (en) UEFI (unified extensible firmware interface) -based server NVME (network video management entity) hard disk backplane function test method
CN102929665B (en) For the system of drive installation
CN105468482B (en) Hard disk position identification and fault diagnosis method and server equipment thereof
CN101930372A (en) Program updating system and method
CN112506817B (en) Method and device for controlling hard disk backplane LED
CN100426244C (en) Marking system and method
CN111367584B (en) Power supply adaptation method and device and computer readable storage medium
CN107943723A (en) A kind of hard disc of computer recognition methods and system
CN110851307A (en) Method, system, terminal and storage medium for testing performance of hard disk in vibration environment
CN111831345A (en) Management method and device for server hard disk backboard, storage medium and equipment
US20070094427A1 (en) System and method for verifying the coupled locations of computer devices
CN109960678B (en) Naming processing method and computer processing device
US7757015B2 (en) Device, method and computer program product readable medium for determining the identity of a component
US20070294430A1 (en) Generating a device address persistent across different instantiations of an electronic device
CN110737577B (en) A method and device for storing test defect data
CN109783031B (en) Method, device, terminal and storage medium for checking drive letter and slot number of RAID card
CN111124730A (en) Error locating method, device and computer storage medium for a server
US20180032351A1 (en) Information processing method and storage device
CN116820194A (en) Hard disk positioning method and device
CN115421749A (en) A method, system, device and medium for refreshing hard disk firmware based on Linux system
CN109446100B (en) Method and apparatus for managing script files of devices

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