TWI715066B - Method for locating a hard disk physical installation location in cluster storage system - Google Patents

Method for locating a hard disk physical installation location in cluster storage system Download PDF

Info

Publication number
TWI715066B
TWI715066B TW108121207A TW108121207A TWI715066B TW I715066 B TWI715066 B TW I715066B TW 108121207 A TW108121207 A TW 108121207A TW 108121207 A TW108121207 A TW 108121207A TW I715066 B TWI715066 B TW I715066B
Authority
TW
Taiwan
Prior art keywords
hard disk
name
host
slot
dedicated device
Prior art date
Application number
TW108121207A
Other languages
Chinese (zh)
Other versions
TW202101231A (en
Inventor
王正凱
Original Assignee
神雲科技股份有限公司
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 神雲科技股份有限公司 filed Critical 神雲科技股份有限公司
Priority to TW108121207A priority Critical patent/TWI715066B/en
Application granted granted Critical
Publication of TWI715066B publication Critical patent/TWI715066B/en
Publication of TW202101231A publication Critical patent/TW202101231A/en

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

A method for locating a hard disk physical installation location in Cluster Storage System. The cluster storage system includes a host and at least one storage device. The storage device includes at least one hard disk expansion interface and a plurality of hard disks connected to each hard disk expansion interface. The host obtains the dedicated device name for each hard disk by using the nvme list commands on the Linux, and using the dedicated device name and readlink command of each hard disk, the system installation path of the hard disk corresponding to each dedicated device name is obtained, and finally, according to the hard disk slot correspondence table stored in the host and the system installation path corresponding to each hard disk, obtaining a hard disk location correspondence table including the physical slot name of the hard disk slot.

Description

定位叢集式儲存系統之硬碟實體裝設位置的方法Method for locating physical installation position of hard disk of cluster storage system

本發明是有關於一種關於儲存裝置之硬碟的定位方法,特別是指一種用於定位叢集式儲存系統之硬碟實體裝設位置的方法。 The present invention relates to a method for locating hard disks of storage devices, in particular to a method for locating physical installation positions of hard disks in a clustered storage system.

目前的叢集式儲存系統包含一主機及與至少一連接該主機的儲存設備。該主機安裝有Linux作業系統來操作該主機本身與該儲存設備。其中,該儲存設備包含有多個硬碟擴充介面(Expander),以及安裝於每一硬碟擴充介面的非揮發性記憶體主機控制器介面規範(NVM Express,Non-Volatile Memory Host Controller Interface Specification)之固態硬碟(SSD,Solid-state drive)。 The current cluster storage system includes a host and at least one storage device connected to the host. The host is installed with a Linux operating system to operate the host itself and the storage device. Among them, the storage device includes multiple hard disk expansion interfaces (Expander), and a non-volatile memory host controller interface specification (NVM Express, Non-Volatile Memory Host Controller Interface Specification) installed on each hard disk expansion interface The solid-state drive (SSD, Solid-state drive).

然而,現有對於非揮發性記憶體主機控制器介面規範之固態硬碟的技術,無法得知該主機之Linux作業系統中相關於每一 固態硬碟的資訊係對應到該儲存設備中是哪一顆固態硬碟。因此,當技術開發人員於該主機之Linux作業系統中發現存在有固態硬碟之資訊發生錯誤而必須檢修對應之固態硬碟時,技術開發人員便無從得知該儲存設備中到底是哪一顆固態硬碟出現錯誤,以致無法進行後續的檢修。 However, the existing technology for non-volatile memory host controller interface specifications for solid-state hard disks, it is impossible to know that the host’s Linux operating system is related to each The information of the solid state drive corresponds to which solid state drive is in the storage device. Therefore, when the technical developer finds that there is an error in the information of the solid-state drive in the Linux operating system of the host and the corresponding solid-state drive must be repaired, the technical developer has no way of knowing which one is in the storage device. The solid-state drive has an error that prevents subsequent maintenance.

因此,本發明的目的,即在提供一種用於定位叢集式儲存系統之硬碟實體裝設位置的方法。 Therefore, the object of the present invention is to provide a method for locating the physical installation location of hard disks in a cluster storage system.

於是,本發明定位叢集式儲存系統之硬碟實體裝設位置的方法藉由包含一主機及一電連接該主機的儲存設備的該叢集式儲存系統來實施。該主機安裝有一用於操作該主機與該儲存設備的作業系統。該儲存設備包括至少一硬碟擴充介面,及多個皆電連接至該至少一硬碟擴充介面的硬碟,每一硬碟擴充介面包括多個用於裝設該等硬碟的硬碟插槽。該主機儲存有每一硬碟擴充介面所對應的硬碟插槽對應表。其中,每一硬碟插槽對應表包含所對應之硬碟擴充介面的一位址,及所對應之硬碟擴充介面之每一硬碟插槽的一第一虛擬插槽名稱與一實體插槽名稱。 Therefore, the method for locating the physical installation position of the hard disk of the clustered storage system of the present invention is implemented by the clustered storage system including a host and a storage device electrically connected to the host. The host is installed with an operating system for operating the host and the storage device. The storage device includes at least one hard disk expansion interface and a plurality of hard disks electrically connected to the at least one hard disk expansion interface, and each hard disk expansion interface includes a plurality of hard disk plugs for installing the hard disks groove. The host stores a corresponding table of hard disk slot corresponding to each hard disk expansion interface. Among them, each hard disk slot mapping table includes the address of the corresponding hard disk expansion interface, and a first virtual slot name and a physical slot of each hard disk slot of the corresponding hard disk expansion interface. Slot name.

該定位叢集式儲存系統之硬碟實體裝設位置的方法包含一步驟(A)、一步驟(B),及一步驟(C)。 The method for locating the physical installation position of the hard disk of the cluster storage system includes a step (A), a step (B), and a step (C).

該步驟(A)是藉由該主機,獲得每一硬碟於該作業系統中且唯一對應的一專用裝置名稱。 The step (A) is to obtain a dedicated device name uniquely corresponding to each hard disk in the operating system through the host.

該步驟(B)是對於每一硬碟,藉由該主機,根據該硬碟所對應的該專用裝置名稱,獲得該專用裝置名稱所對應的第二虛擬插槽名稱及一裝設對應該專用裝置名稱之硬碟之硬碟擴充介面的位址。 The step (B) is for each hard disk, by the host, according to the dedicated device name corresponding to the hard disk, obtain the second virtual slot name corresponding to the dedicated device name and an installation corresponding dedicated The address of the hard disk expansion interface of the hard disk of the device name.

該步驟(C)是對於每一硬碟,藉由該主機,根據該等硬碟插槽對應表、該硬碟之專用裝置名稱所對應的第二虛擬插槽名稱及該硬碟擴充介面的位址,獲得一包含該硬碟的專用裝置名稱及所對應之硬碟插槽的實體插槽名稱的硬碟定位對應表。 This step (C) is for each hard disk, with the host, according to the hard disk slot mapping table, the name of the second virtual slot corresponding to the dedicated device name of the hard disk, and the expansion interface of the hard disk Address, obtain a hard disk location correspondence table including the dedicated device name of the hard disk and the physical slot name of the corresponding hard disk slot.

本發明之功效在於:藉由該主機於獲得每一硬碟所對應的專用裝置名稱後,對於每一硬碟,根據該硬碟所對應的專用裝置名稱,獲得該專用裝置名稱所對應的第二虛擬插槽名稱及一裝設對應該專用裝置名稱之硬碟之硬碟擴充介面的位址,最後根據所有硬碟插槽對應表、每一硬碟之專用裝置名稱所對應的第二虛擬插槽名稱及該硬碟擴充介面的位址,獲得該硬碟定位對應表,技術開發人員便能根據該硬碟定位對應表,得知該作業系統中每一硬碟對應於該儲存設備中的實體裝設位置,以進行後續的檢修。 The effect of the present invention is that after the host obtains the name of the dedicated device corresponding to each hard disk, for each hard disk, according to the name of the dedicated device corresponding to the hard disk, obtain the first device name corresponding to the dedicated device name. Two virtual slot names and an address of the hard disk expansion interface for the hard disk corresponding to the dedicated device name. Finally, according to the table of all hard disk slots, the second virtual corresponding to the dedicated device name of each hard disk The slot name and the address of the expansion interface of the hard disk, and the hard disk location mapping table is obtained. The technical developer can know that each hard disk in the operating system corresponds to the storage device according to the hard disk location mapping table. The physical installation location for subsequent maintenance.

100:叢集式儲存系統 100: Clustered storage system

1:主機 1: host

2:儲存設備 2: storage equipment

21:硬碟擴充介面 21: Hard Disk Expansion Interface

22:硬碟 22: Hard Disk

51~53:步驟 51~53: Steps

521、522:子步驟 521, 522: Substep

531~533:子步驟 531~533: substeps

61、62:步驟 61, 62: steps

71~73:步驟 71~73: Steps

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一方塊圖,說明一執行本發明定位叢集式儲存系統之硬碟實體裝設位置的方法之一實施例的叢集式儲存系統;圖2是一流程圖,說明該實施例之一硬碟定位程序;圖3是一流程圖,說明該硬碟定位程序如何獲得一硬碟所對應的一第二虛擬插槽名稱、裝設該硬碟之硬碟擴充介面之位址,以及該硬碟之位址的細部流程;圖4是一流程圖,說明該硬碟定位程序如何獲得一硬碟定位對應表的細部流程;圖5是一流程圖,該實施例之一第一硬碟管理程序;及圖6是一流程圖,該實施例之一第二硬碟管理程序。 Other features and effects of the present invention will be clearly presented in the embodiments with reference to the drawings, in which: FIG. 1 is a block diagram illustrating a method for implementing the present invention to locate the physical installation position of a hard disk in a clustered storage system An embodiment of the cluster storage system; FIG. 2 is a flowchart illustrating a hard disk positioning procedure of this embodiment; FIG. 3 is a flowchart illustrating how the hard disk positioning procedure obtains a corresponding one of a hard disk The name of the second virtual slot, the address of the hard disk expansion interface where the hard disk is installed, and the detailed flow of the hard disk address; Figure 4 is a flowchart illustrating how the hard disk positioning process obtains a hard disk The detailed flow of the positioning correspondence table; FIG. 5 is a flowchart of a first hard disk management program of this embodiment; and FIG. 6 is a flowchart of a second hard disk management program of this embodiment.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。 Before the present invention is described in detail, it should be noted that in the following description, similar elements are represented by the same numbers.

參閱圖1,執行本發明定位叢集式儲存系統之硬碟實體裝設位置的方法之一實施例的一叢集式儲存系統100,包含一主機1,以及一電連接該主機1的儲存設備2。 Referring to FIG. 1, a cluster storage system 100 that implements an embodiment of the method for locating physical installation positions of hard disks in a cluster storage system of the present invention includes a host 1 and a storage device 2 electrically connected to the host 1.

該主機1安裝有一用於操作該主機1與該儲存設備2的作 業系統。其中,該作業系統為Linux。 The host 1 is installed with an operation for operating the host 1 and the storage device 2 业 system. Among them, the operating system is Linux.

該主機1預先儲存有每一硬碟擴充介面21(Expander)所對應的硬碟插槽對應表,以及一指示出每一硬碟擴充介面21之每一硬碟插槽所欲裝設之硬碟22之型號規格的硬碟型號規格對應表。每一硬碟插槽對應表包含所對應之硬碟擴充介面21的一位址(PCIe address),及所對應之硬碟擴充介面21之每一硬碟插槽的一第一虛擬插槽名稱與一實體插槽名稱。值得特別說明的是,每一硬碟插槽的該第一虛擬插槽名稱係根據對應之該硬碟插槽的位址而定義,其中,部份的該第一虛擬插槽名稱與其對應之該硬碟插槽的地址至少部份相同。特別地,於較佳本實施例中,每一硬碟插槽對應表還能包含所對應之硬碟擴充介面21的一實體介面名稱,以便於技術開發人員快速得知每一硬碟插槽對應表所對應的該實體介面名稱。而在另一較佳實施例中,該主機1還預先儲存有一橋接插槽對應表,該橋接插槽對應表包含每一硬碟擴充介面21所對應的該實體介面名稱,及裝設每一硬碟擴充介面21之多個橋接器位址名稱。 The host 1 pre-stores the corresponding table of the hard disk slot corresponding to each hard disk expansion interface 21 (Expander), and an indication of the hard disk to be installed in each hard disk slot of each hard disk expansion interface 21 Corresponding table of hard disk model specifications for disk 22 model specifications Each hard disk slot mapping table includes the one-bit address (PCIe address) of the corresponding hard disk expansion interface 21 and a first virtual slot name of each hard disk slot of the corresponding hard disk expansion interface 21 And a physical slot name. It is worth noting that the name of the first virtual slot of each hard disk slot is defined according to the address of the corresponding hard disk slot, and part of the first virtual slot name and its corresponding The addresses of the hard disk slots are at least partially the same. In particular, in the preferred embodiment, each hard disk slot mapping table can also include a physical interface name of the corresponding hard disk expansion interface 21, so that technical developers can quickly learn about each hard disk slot The name of the physical interface corresponding to the mapping table. In another preferred embodiment, the host 1 also pre-stores a bridge slot correspondence table. The bridge slot correspondence table includes the name of the physical interface corresponding to each hard disk expansion interface 21, and each Address names of multiple bridges of the hard disk expansion interface 21.

舉例來說,該主機1所儲存之該等硬碟插槽對應表之其中一者舉例如下表1,而表1所列之位址、該實體介面名稱、該第一虛擬插槽名稱及該實體插槽名稱的命名方式僅為在本說明書中方便說明而使用,並非實際的命名方式。 For example, one of the corresponding tables of the hard disk slots stored in the host 1 is shown in Table 1, and the address, the name of the physical interface, the name of the first virtual slot and the The naming method of the physical slot name is only used for the convenience of explanation in this manual, not the actual naming method.

Figure 108121207-A0305-02-0008-1
Figure 108121207-A0305-02-0008-1

該儲存設備2包括至少一硬碟擴充介面21,及多個皆電連接至該至少一硬碟擴充介面21的硬碟22。每一硬碟擴充介面21包括多個用於裝設該等硬碟22的硬碟插槽。其中,每一硬碟22於該作業系統中且對應有一唯一的專用裝置名稱(NVMe Node)。 The storage device 2 includes at least one hard disk expansion interface 21 and a plurality of hard disks 22 electrically connected to the at least one hard disk expansion interface 21. Each hard disk expansion interface 21 includes a plurality of hard disk slots for installing the hard disks 22. Among them, each hard disk 22 corresponds to a unique dedicated device name (NVMe Node) in the operating system.

在該實施例中,該主機1之實施態樣例如為具有一般計算功能的電腦,但不以此為限。 In this embodiment, the implementation of the host 1 is, for example, a computer with general computing functions, but it is not limited to this.

在該實施例中,每一硬碟22之實施態樣例如為一固態硬碟,但不以此為限。 In this embodiment, the implementation of each hard disk 22 is, for example, a solid state hard disk, but it is not limited thereto.

以下將藉由本發明定位叢集式儲存系統之硬碟實體裝設位置的方法之該實施例應用於開機完成進入作業系統執行階段時自動地執行,或是應用於該主機1之作業系統偵測到有裝設新的儲存設備2時自動地執行,以藉此說明該叢集式儲存系統100之該主機1,以及該至少一儲存設備2各元件定位管理的運作細節。該定位叢集式儲存系統之硬碟實體裝設位置的方法包含一硬碟定位程序、一第一硬碟管理程序,以及一第二硬碟管理程序。 In the following, the embodiment of the method for locating the physical installation position of the hard disk of the cluster storage system of the present invention is applied to automatically execute when the boot is completed and enters the operating system execution phase, or the operating system of the host 1 detects It is automatically executed when a new storage device 2 is installed, so as to explain the operation details of the host 1 of the cluster storage system 100 and the location management of each component of the at least one storage device 2. The method for locating the physical installation position of the hard disk of the cluster storage system includes a hard disk locating program, a first hard disk management program, and a second hard disk management program.

參閱圖2,該硬碟定位程序係用於定位每一硬碟22的實體裝設位置,並包含一步驟51、一步驟52,以及一步驟53。 Referring to FIG. 2, the hard disk positioning program is used to locate the physical installation position of each hard disk 22 and includes a step 51, a step 52, and a step 53.

在該步驟51中,該主機1執行一相關於該作業系統中之硬碟名稱及規格的名稱規格獲取指令,獲得每一硬碟22於該作業系統中且唯一對應的該專用裝置名稱,以及一型號規格資訊,其中,該名稱規格獲取指令為「nvme list」。在該實施例中,該主機1藉由在Linux上執行「nvme list」,以獲得每一硬碟22所對應的專用裝置名稱,以及該型號規格資訊。舉例來說,假設該儲存設備2有裝設二個硬碟擴充介面21,而每一硬碟擴充介面21各裝設二十個硬碟22(總共四十個硬碟22),則該主機1執行「nvme list」後,便會獲得當下每一硬碟22於該作業系統中所對應的專用裝置名稱(例如:nvme0、nvme1、nvme2、…、nvme39),及每一專用裝置名稱所對應的該型號規格資訊。特別地,該型號規格資訊包 含一產品序號(Serial Number)及一裝置型號名稱(Model Name)其中至少一者,但不以此為限。其中,需特別說明的是,上述所舉例之專用裝置名稱的命名方式僅為在本說明書中方便說明而使用,並非在Linux中實際的命名方式。 In step 51, the host 1 executes a name specification acquisition command related to the hard disk name and specification in the operating system to obtain the unique device name of each hard disk 22 in the operating system, and A model specification information, where the name specification acquisition command is "nvme list". In this embodiment, the host 1 executes "nvme list" on Linux to obtain the name of the dedicated device corresponding to each hard disk 22 and the model specification information. For example, if the storage device 2 is equipped with two hard disk expansion interfaces 21, and each hard disk expansion interface 21 is equipped with twenty hard disks 22 (a total of forty hard disks 22), then the host 1 After running "nvme list", you will get the current dedicated device name corresponding to each hard disk 22 in the operating system (for example: nvme0, nvme1, nvme2,..., nvme39), and the corresponding name of each dedicated device The specification information of the model. In particular, the model specification information package Contains at least one of a product serial number (Serial Number) and a device model name (Model Name), but not limited to this. Among them, it should be particularly noted that the naming methods of the special device names exemplified above are only used for the convenience of description in this manual, and are not the actual naming methods in Linux.

在該步驟52中,對於每一硬碟22,該主機1根據該硬碟22所對應的該專用裝置名稱,獲得該專用裝置名稱所對應的第二虛擬插槽名稱、一裝設對應該專用裝置名稱之硬碟22之硬碟擴充介面21的位址,以及一對應該專用裝置名稱之硬碟22的位址。 In this step 52, for each hard disk 22, the host 1 obtains the second virtual slot name corresponding to the dedicated device name according to the dedicated device name corresponding to the hard disk 22, and an installation corresponding to the dedicated The address of the hard disk expansion interface 21 of the hard disk 22 of the device name, and the address of the hard disk 22 corresponding to the dedicated device name.

參閱圖3,值得特別說明的是,在該實施例中,該步驟52還進一步包含一子步驟521,以及一子步驟522。 Referring to FIG. 3, it is worth noting that in this embodiment, the step 52 further includes a sub-step 521 and a sub-step 522.

在該子步驟521中,對於每一硬碟22,該主機1根據該硬碟22所對應的專用裝置名稱執行一相關於該作業系統中之裝設路徑的路徑獲取指令,獲得一對應該專用裝置名稱的系統裝設路徑,其中,該路徑獲取指令為「readlink」。在該實施例中,該主機1藉由在Linux上執行「readlink-f/sys/class/nvme/該專用裝置名稱」,以獲得當下每一硬碟22於該作業系統中所對應的系統裝設路徑。舉例來說,該主機1執行「readlink-f/sys/class/nvme/nvme9」指令後,便會獲得該專用裝置名稱為nvme9所對應的系統裝設路徑「../../devices/pci0000:17/0000:17:00.0/0000:18:00.0/0000 :19:0d.0/0000:23:00.0/nvme/nvme9」。 In this sub-step 521, for each hard disk 22, the host 1 executes a path acquisition command related to the installation path in the operating system according to the dedicated device name corresponding to the hard disk 22 to obtain a corresponding dedicated device The system installation path of the device name, where the path acquisition command is "readlink". In this embodiment, the host 1 executes "readlink-f/sys/class/nvme/the dedicated device name" on Linux to obtain the current system installation of each hard disk 22 in the operating system. Set the path. For example, after the host 1 executes the "readlink-f/sys/class/nvme/nvme9" command, it will obtain the system installation path corresponding to the special device name nvme9 "../../devices/pci0000 : 17/0000: 17:00.0/0000: 18:00.0/0000 : 19:0d.0/0000:23:00.0/nvme/nvme9".

在該子步驟522中,對於每一硬碟22,該主機1根據該硬碟22所對應的系統裝設路徑,獲得該專用裝置名稱所對應的第二虛擬插槽名稱、一裝設對應該專用裝置名稱之硬碟22之硬碟擴充介面21的位址,以及一對應該專用裝置名稱之硬碟22的位址。特別地,該第二虛擬插槽名稱係根據所對應的該專用裝置名稱之該系統裝設路徑中之硬碟插槽的位址而定義,其中,部份的該第二虛擬插槽名稱與其對應之該硬碟插槽的地址至少部份相同。舉例來說,該專用裝置名稱為nvme9之硬碟22所對應的系統裝設路徑為「../../devices/pci0000:17/0000:17:00.0/0000:18:00.0/0000:19:0d.0/0000:23:00.0/nvme/nvme9」。其中「0000.19.0d.0」為該專用裝置名稱nvme9所對應之硬碟22之硬碟插槽的位址,以藉此將「0d.0」作為該專用裝置名稱nvme9所對應的該第二虛擬插槽名稱,「0000:17:00.0」及「0000:18:00.0」各自皆能作為裝設對應該專用裝置名稱nvme9之硬碟22之硬碟擴充介面21的位址,「0000:23:00.0」為對應該專用裝置名稱nvme9之硬碟22的位址。值得特別說明的是,在此「0000:17:00.0」為裝設對應該專用裝置名稱nvme9之硬碟22之硬碟擴充介面21相對於上一階硬體(例如:橋接器)的位址,而「0000:18:00.0」為裝設對應該專用裝置名稱nvme9之硬碟22之硬碟擴充介面21相對於下 一階硬體(例如:硬碟22)的位址,因此「0000:17:00.0」及「0000:18:00.0」各自皆能為裝設對應該專用裝置名稱nvme9之硬碟22之硬碟擴充介面21的位址。 In the sub-step 522, for each hard disk 22, the host 1 obtains the name of the second virtual slot corresponding to the dedicated device name and an installation corresponding to the system installation path corresponding to the hard disk 22 The address of the hard disk expansion interface 21 of the hard disk 22 of the dedicated device name, and the address of the hard disk 22 corresponding to the dedicated device name. In particular, the second virtual slot name is defined according to the address of the hard disk slot in the system installation path corresponding to the dedicated device name, and part of the second virtual slot name and The addresses of the corresponding hard disk slots are at least partially the same. For example, the system installation path corresponding to the hard disk 22 with the dedicated device name nvme9 is "../../devices/pci0000:17/0000:17:00.0/0000:18:00.0/0000:19 :0d.0/0000:23:00.0/nvme/nvme9". Where "0000.19.0d.0" is the address of the hard disk slot of the hard disk 22 corresponding to the dedicated device name nvme9, so as to use "0d.0" as the second corresponding to the dedicated device name nvme9 The virtual slot name, "0000:17:00.0" and "0000:18:00.0" can each be used as the address of the hard disk expansion interface 21 for installing the hard disk 22 corresponding to the special device name nvme9, "0000:23 :00.0" is the address of the hard disk 22 corresponding to the dedicated device name nvme9. It is worth noting that here "0000:17:00.0" is the address of the hard disk expansion interface 21 of the hard disk 22 corresponding to the special device name nvme9 relative to the upper level hardware (for example: bridge) , And "0000:18:00.0" is the hard disk expansion interface 21 for installing the hard disk 22 corresponding to the special device name nvme9. The address of the first-level hardware (for example: hard disk 22), so "0000:17:00.0" and "0000:18:00.0" can each be the hard disk with hard disk 22 corresponding to the special device name nvme9 Expand the address of interface 21.

在該步驟53中,對於每一硬碟22,該主機1根據該等硬碟插槽對應表、該硬碟22之專用裝置名稱所對應的第二虛擬插槽名稱及該硬碟擴充介面21的位址,獲得一包含該硬碟22的專用裝置名稱及所對應之硬碟插槽的實體插槽名稱的硬碟定位對應表。值得特別說明的是,在其他實施例中,該硬碟定位對應表亦可為包含該硬碟22的位址、該硬碟22之專用裝置名稱所對應之硬碟擴充介面21的實體介面名稱及所對應之硬碟插槽的實體插槽名稱。 In this step 53, for each hard disk 22, the host 1 uses the hard disk slot mapping table, the second virtual slot name corresponding to the dedicated device name of the hard disk 22, and the hard disk expansion interface 21 To obtain a hard disk location correspondence table containing the dedicated device name of the hard disk 22 and the physical slot name of the corresponding hard disk slot. It is worth noting that, in other embodiments, the hard disk location correspondence table may also include the address of the hard disk 22 and the physical interface name of the hard disk expansion interface 21 corresponding to the dedicated device name of the hard disk 22 And the physical slot name of the corresponding hard drive slot.

參閱圖4,值得特別說明的是,在該實施例中,該步驟53還進一步包含一子步驟531、一子步驟532,以及一子步驟533。 4, it is worth noting that in this embodiment, step 53 further includes a sub-step 531, a sub-step 532, and a sub-step 533.

在該子步驟531中,對於每一硬碟22,該主機1根據該硬碟22之專用裝置名稱所對應的硬碟擴充介面21的位址,自該等硬碟插槽對應表,獲得一對應該硬碟22的目標硬碟插槽對應表,以及該目標硬碟插槽對應表所對應的實體介面名稱。其中,該目標硬碟插槽對應表之所對應之硬碟擴充介面21的位址與該硬碟22之專用裝置名稱所對應的硬碟擴充介面21的位址相符。舉例來說,假設在該步驟52中所獲得的該硬碟22之專用裝置名稱nvme9所對應的硬碟擴充介面21的位址為「0000:17:00.0」及「0000:18:00.0」其 中一者,則所獲得之該目標硬碟插槽對應表即為表1及其對應之該實體介面名稱「A01」。而在另一較佳實施例中,該主機1亦可根據該專用裝置名稱為nvme9所對應的該橋接器位址名稱「pci0000:17」(擷取自nvme9所對應的系統裝設路徑)及該橋接插槽對應表,查找獲得該專用裝置名稱為nvme9所對應的該實體介面名稱「A01」。 In the sub-step 531, for each hard disk 22, the host 1 obtains a hard disk slot correspondence table from the hard disk slot correspondence table according to the address of the hard disk expansion interface 21 corresponding to the dedicated device name of the hard disk 22 The target hard disk slot mapping table corresponding to the hard disk 22, and the physical interface name corresponding to the target hard disk slot mapping table. The address of the hard disk expansion interface 21 corresponding to the target hard disk slot mapping table matches the address of the hard disk expansion interface 21 corresponding to the dedicated device name of the hard disk 22. For example, suppose that the address of the hard disk expansion interface 21 corresponding to the dedicated device name nvme9 of the hard disk 22 obtained in step 52 is "0000:17:00.0" and "0000:18:00.0". In the first one, the obtained target hard disk slot correspondence table is Table 1 and its corresponding physical interface name "A01". In another preferred embodiment, the host 1 can also use the dedicated device name as the bridge address name "pci0000:17" corresponding to nvme9 (taken from the system installation path corresponding to nvme9) and The bridge slot correspondence table searches for the physical interface name "A01" corresponding to the dedicated device name nvme9.

在該子步驟532中,對於每一硬碟22,該主機1根據該硬碟22之專用裝置名稱所對應的第二虛擬插槽名稱,自該硬碟22所對應該目標硬碟插槽對應表的該等實體插槽名稱中,獲得一與該第二虛擬插槽名稱相符之第一虛擬插槽名稱所對應的目標實體插槽名稱。舉例來說,假設根據對應該專用裝置名稱nvme9之硬碟22,所獲得之該目標硬碟插槽對應表如表1(對應硬碟擴充介面21的實體介面名稱:A01),而藉由該路徑獲取指令所獲得之該第二虛擬插槽名稱為「0d.0」,則在該目標硬碟插槽對應表中比對出與該第二虛擬插槽名稱相符之第一虛擬插槽名稱亦為「0d.0」,以及其所對應的該目標實體插槽名稱為「Slot#4」。 In this sub-step 532, for each hard disk 22, the host 1 corresponds to the target hard disk slot corresponding to the hard disk 22 according to the second virtual slot name corresponding to the dedicated device name of the hard disk 22 Among the physical slot names in the table, a target physical slot name corresponding to the first virtual slot name that matches the second virtual slot name is obtained. For example, suppose that according to the hard disk 22 corresponding to the dedicated device name nvme9, the obtained target hard disk slot mapping table is shown in Table 1 (corresponding to the physical interface name of the hard disk expansion interface 21: A01), and by the The second virtual slot name obtained by the path acquisition command is "0d.0", then the first virtual slot name that matches the second virtual slot name is compared in the target hard disk slot correspondence table It is also "0d.0", and its corresponding target entity slot name is "Slot#4".

在該子步驟533中,對於每一硬碟22,該主機1根據該硬碟22之專用裝置名稱所對應的目標硬碟插槽對應表的實體介面名稱及該目標實體插槽名稱,獲得該硬碟定位對應表。舉例來說,假設根據對應該專用裝置名稱nvme9之硬碟22,所獲得之該目標硬 碟插槽對應表如表1(對應硬碟擴充介面21的實體介面名稱:A01),而所獲得之目標實體插槽名稱便為「Slot#4」,技術研發人員根據該硬碟定位對應表便可得知對應該專用裝置名稱nvme9之硬碟22的實體裝設位置為裝設於實體插槽名稱為「Slot#4」的硬碟插槽上,更詳細的說,該專用裝置名稱nvme9之硬碟22的實體裝設位置為裝設於實體介面名稱為「A01」的硬碟擴充介面21之實體插槽名稱為「Slot#4」的硬碟插槽上,也就是說對應該專用裝置名稱nvme9之硬碟22的實體裝設位置係裝設於具有位址為「0000:17:00.0」及「0000:18:00.0」其中一者的硬碟擴充介面21之實體插槽名稱為「Slot#4」上。 In the sub-step 533, for each hard disk 22, the host 1 obtains the physical interface name of the target hard disk slot correspondence table corresponding to the dedicated device name of the hard disk 22 and the target physical slot name. Hard disk location mapping table. For example, suppose that the target hard disk is obtained according to the hard disk 22 corresponding to the dedicated device name nvme9 The disk slot mapping table is shown in Table 1 (the physical interface name corresponding to the hard disk expansion interface 21: A01), and the target physical slot name obtained is "Slot#4". The technical research and development personnel locate the corresponding table according to the hard disk It can be seen that the physical installation location of the hard disk 22 corresponding to the special device name nvme9 is installed on the hard disk slot with the physical slot name "Slot#4". In more detail, the special device name is nvme9 The physical installation location of the hard disk 22 is installed in the hard disk slot with the physical interface name "A01" and the physical slot name of the hard disk expansion interface 21 is "Slot#4", which means it should be dedicated The physical installation location of the hard disk 22 with the device name nvme9 is installed in the physical slot name of the hard disk expansion interface 21 with one of the addresses "0000:17:00.0" and "0000:18:00.0" "Slot#4" on.

參閱圖5,該第一硬碟管理程序係管理儲存設備2中所有硬碟22是否裝設錯誤,並包含一步驟61,以及一步驟62。 Referring to FIG. 5, the first hard disk management program manages whether all hard disks 22 in the storage device 2 are installed incorrectly, and includes a step 61 and a step 62.

在該步驟61中,該主機1根據該硬碟型號規格對應表及該步驟51所獲得之每一硬碟22所對應的型號規格資訊,判定該等硬碟22中是否存在至少一裝設錯誤的誤裝硬碟22。當該主機1判定出該等硬碟22中不存在任一誤裝硬碟22時,結束該第一硬碟管理程序;當該主機1判定出該等硬碟22中存在該至少一誤裝硬碟22時,進行流程步驟62。 In step 61, the host 1 determines whether there is at least one installation error in the hard disks 22 according to the hard disk model specification correspondence table and the corresponding model and specification information of each hard disk 22 obtained in step 51 Misinstalled hard disk 22. When the host 1 determines that there is no mis-installed hard disk 22 among the hard disks 22, the first hard disk management program ends; when the host 1 determines that the at least one mis-installed hard disk 22 exists When the hard disk is 22, proceed to step 62 of the process.

在該步驟62中,對於每一誤裝硬碟22,該主機1根據該誤裝硬碟22所對應的專用裝置名稱及該硬碟定位對應表,定位出該 誤裝硬碟22所對應的硬碟擴充介面21的實體介面名稱及該誤裝硬碟22所裝設的硬碟插槽所對應的實體插槽名稱至少其中一者。 In this step 62, for each misinstalled hard disk 22, the host 1 locates the hard disk according to the name of the dedicated device corresponding to the misinstalled hard disk 22 and the hard disk location correspondence table At least one of the physical interface name of the hard disk expansion interface 21 corresponding to the incorrectly installed hard disk 22 and the physical slot name of the hard disk slot to which the incorrectly installed hard disk 22 is installed.

參閱圖6,該第二硬碟管理程序係管理儲存設備2中所有硬碟22是否故障損壞,並包含一步驟71、一步驟72,以及一步驟73。 Referring to FIG. 6, the second hard disk management program manages whether all hard disks 22 in the storage device 2 are faulty or damaged, and includes a step 71, a step 72, and a step 73.

在該步驟71中,對於每一硬碟22,該主機1根據該子步驟522所獲得之該硬碟22的位址執行一相關於該作業系統中之硬碟效能的效能獲取指令,獲得對應該硬碟22的效能資訊,其中,該效能獲取指令為「lspci」,該效能資訊包含該硬碟22的連結速率(link speed)和頻寬(bandwidth),但不以此為限。在該實施例中,該主機1藉由在Linux上執行「lspci-s該硬碟22的位址-vvv」,以獲得每一硬碟22所對應的效能資訊。舉例來說,假設對應該專用裝置名稱之硬碟22所對應的位址為「23」,該主機1執行「lspci-s 23-vvv」指令後,便會獲得該專用裝置名稱為nvme9所對應的效能資訊。 In the step 71, for each hard disk 22, the host 1 executes a performance acquisition command related to the performance of the hard disk in the operating system according to the address of the hard disk 22 obtained in the sub-step 522 to obtain It should be the performance information of the hard disk 22, where the performance acquisition command is "lspci", and the performance information includes the link speed and bandwidth of the hard disk 22, but is not limited to this. In this embodiment, the host 1 executes "lspci -s the address of the hard disk 22 -vvv" on Linux to obtain the performance information corresponding to each hard disk 22. For example, if the address corresponding to the hard disk 22 corresponding to the dedicated device name is "23", after the host 1 executes the "lspci-s 23-vvv" command, it will get the dedicated device name corresponding to nvme9 Performance information.

在該步驟72中,該主機1判定該等硬碟22中是否存在至少一所對應之效能資訊所指示出之效能值低於一預設值的受損硬碟22。當該主機1判定出該等硬碟22中不存在任一受損硬碟22時,結束該第二硬碟管理程序;當該主機1判定出該等硬碟22中存在該至少一受損硬碟22時,進行流程步驟73。 In this step 72, the host 1 determines whether there is at least one damaged hard disk 22 whose performance value indicated by the corresponding performance information is lower than a preset value among the hard disks 22. When the host 1 determines that there is no damaged hard disk 22 among the hard disks 22, the second hard disk management program ends; when the host 1 determines that the at least one damaged hard disk 22 exists in the hard disks 22 When the hard disk is 22, proceed to step 73 of the process.

在該步驟73中,對於每一受損硬碟22,該主機1根據該受損硬碟22所對應的專用裝置名稱及該硬碟定位對應表,定位出該受損硬碟22所對應的硬碟擴充介面21的實體介面名稱及該受損硬碟22所裝設的硬碟插槽所對應的實體插槽名稱至少其中一者。 In this step 73, for each damaged hard disk 22, the host 1 locates the damaged hard disk 22 according to the dedicated device name corresponding to the damaged hard disk 22 and the hard disk location correspondence table. At least one of the physical interface name of the hard disk expansion interface 21 and the name of the physical slot corresponding to the hard disk slot where the damaged hard disk 22 is installed.

綜上所述,本發明定位叢集式儲存系統之硬碟實體裝設位置的方法,而當該主機1於作業系統執行時,藉由所有硬碟插槽對應表、每一硬碟22之專用裝置名稱所對應的第二虛擬插槽名稱及該硬碟擴充介面21的位址,自動地獲得該硬碟定位對應表,使得技術開發人員能除了根據該硬碟定位對應表,得知該作業系統中每一硬碟22對應於該儲存設備中的實體裝設位置外,更能於該主機1根據該硬碟型號規格對應表、每一硬碟22所對應的型號規格資訊及每一硬碟22的效能資訊,自動地檢測出有任何的該誤裝硬碟22及/或該受損硬碟22時,將所有誤裝硬碟22及/或所有受損硬碟22的實體裝設位置顯示於螢幕,又或是發送通知訊息(E-mail)告知技術開發人員,以進行後續的檢修。因此,故確實能達成本發明的目的。 In summary, the method of the present invention for locating the physical installation position of the hard disk of the cluster storage system, and when the host 1 is running in the operating system, the corresponding table of all hard disk slots and the dedicated hard disk 22 The name of the second virtual slot corresponding to the device name and the address of the hard disk expansion interface 21 automatically obtain the hard disk location correspondence table, so that technical developers can learn about the operation according to the hard disk location correspondence table. Each hard disk 22 in the system corresponds to the physical installation location in the storage device, and can also be used in the host 1 according to the hard disk model specification correspondence table, the model specification information corresponding to each hard disk 22, and each hard disk The performance information of the disk 22 automatically detects any misinstalled hard disk 22 and/or the damaged hard disk 22, and physically install all the misinstalled hard disk 22 and/or all the damaged hard disk 22 The location is displayed on the screen, or a notification message (E-mail) is sent to inform the technical developers for subsequent maintenance. Therefore, it can indeed achieve the purpose of the invention.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。 However, the above are only examples of the present invention. When the scope of implementation of the present invention cannot be limited by this, all simple equivalent changes and modifications made in accordance with the scope of the patent application of the present invention and the content of the patent specification still belong to Within the scope of the patent for the present invention.

51~53··· 步驟51~53··· Step

Claims (7)

一種定位叢集式儲存系統之硬碟實體裝設位置的方法,藉由包含一主機及一電連接該主機的儲存設備的該叢集式儲存系統來實施,該主機安裝有一用於操作該主機與該儲存設備的作業系統,該儲存設備包括至少一硬碟擴充介面,及多個皆電連接至該至少一硬碟擴充介面的硬碟,每一硬碟擴充介面包括多個用於裝設該等硬碟的硬碟插槽,該主機儲存有每一硬碟擴充介面所對應的硬碟插槽對應表,每一硬碟插槽對應表包含所對應之硬碟擴充介面的一位址與一實體介面名稱,及所對應之硬碟擴充介面之每一硬碟插槽的一第一虛擬插槽名稱與一實體插槽名稱,該定位叢集式儲存系統之硬碟實體裝設位置的方法包含以下步驟:(A)藉由該主機,獲得每一硬碟於該作業系統中且唯一對應的一專用裝置名稱;(B)對於每一硬碟,藉由該主機,根據該硬碟所對應的該專用裝置名稱,獲得該專用裝置名稱所對應的第二虛擬插槽名稱及一裝設對應該專用裝置名稱之硬碟之硬碟擴充介面的位址,其中步驟(B)還包含以下步驟(B-1)對於每一硬碟,藉由該主機,根據該硬碟所對應的專用裝置名稱,並執行readlink指令,獲得一對應該專用裝置名稱的系統裝設路徑,及(B-2)對於每一硬碟,藉由該主機,根據該硬碟所對應的系統裝設路徑,獲得該專用裝置名稱所對應的第二虛 擬插槽名稱及一裝設對應該專用裝置名稱之硬碟之硬碟擴充介面的位址;以及(C)對於每一硬碟,藉由該主機,根據該等硬碟插槽對應表、該硬碟之專用裝置名稱所對應的第二虛擬插槽名稱及該硬碟擴充介面的位址,獲得一包含該硬碟的專用裝置名稱、該硬碟之專用裝置名稱所對應之硬碟擴充介面的實體介面名稱及所對應之硬碟插槽的實體插槽名稱的硬碟定位對應表。 A method for locating a physical installation position of a hard disk of a clustered storage system is implemented by the clustered storage system including a host and a storage device electrically connected to the host. The host is installed with a device for operating the host and the host An operating system of a storage device, the storage device includes at least one hard disk expansion interface, and a plurality of hard disks electrically connected to the at least one hard disk expansion interface, each hard disk expansion interface includes a plurality of devices for installing the The hard disk slot of the hard disk, the host stores the corresponding table of hard disk slot corresponding to each hard disk expansion interface, and each hard disk slot correspondence table contains the address and one of the corresponding hard disk expansion interface. Physical interface name, and a first virtual slot name and a physical slot name of each hard disk slot of the corresponding hard disk expansion interface. The method of locating the physical installation position of the hard disk of the cluster storage system includes The following steps: (A) Obtain a dedicated device name uniquely corresponding to each hard disk in the operating system through the host; (B) For each hard disk, through the host, according to the corresponding hard disk To obtain the name of the second virtual slot corresponding to the name of the dedicated device and the address of the hard disk expansion interface for the hard disk corresponding to the name of the dedicated device. Step (B) also includes the following steps (B-1) For each hard disk, use the host to execute the readlink command according to the dedicated device name corresponding to the hard disk to obtain the system installation path corresponding to the dedicated device name, and (B-2 ) For each hard disk, the host obtains the second virtual device corresponding to the dedicated device name according to the system installation path corresponding to the hard disk. The name of the virtual slot and the address of the hard disk expansion interface for the hard disk corresponding to the dedicated device name; and (C) For each hard disk, with the host, according to the corresponding table of the hard disk slot, The name of the second virtual slot corresponding to the dedicated device name of the hard disk and the address of the hard disk expansion interface are obtained to obtain a dedicated device name containing the hard disk and the hard disk expansion corresponding to the dedicated device name of the hard disk The physical interface name of the interface and the corresponding table of the hard disk location of the physical slot name of the corresponding hard disk slot. 如請求項1所述的定位叢集式儲存系統之硬碟實體裝設位置的方法,其中,該步驟(C)還包含以下步驟:(C-1)對於每一硬碟,藉由該主機,根據該硬碟之專用裝置名稱所對應的硬碟擴充介面的位址,自該等硬碟插槽對應表,獲得一對應該硬碟的目標硬碟插槽對應表;(C-2)對於每一硬碟,藉由該主機,根據該硬碟之專用裝置名稱所對應的第二虛擬插槽名稱,自該硬碟所對應該目標硬碟插槽對應表的該等實體插槽名稱中,獲得一與該第二虛擬插槽名稱相符之第一虛擬插槽名稱所對應的目標實體插槽名稱;及(C-3)對於每一硬碟,藉由該主機,根據該硬碟之專用裝置名稱所對應的目標硬碟插槽對應表的該目標實體插槽名稱,獲得該硬碟定位對應表。 The method for locating a physical installation position of a hard disk in a clustered storage system according to claim 1, wherein the step (C) further includes the following steps: (C-1) For each hard disk, by the host, According to the address of the hard disk expansion interface corresponding to the dedicated device name of the hard disk, obtain the target hard disk slot mapping table corresponding to the hard disk from the hard disk slot mapping tables; (C-2) For each hard disk, by the host, according to the second virtual slot name corresponding to the dedicated device name of the hard disk, from the physical slot names in the corresponding target hard disk slot mapping table of the hard disk , Obtain a target physical slot name corresponding to the first virtual slot name that matches the second virtual slot name; and (C-3) For each hard disk, by the host, according to the hard disk The target physical slot name of the target hard disk slot correspondence table corresponding to the dedicated device name obtains the hard disk location correspondence table. 如請求項1所述的定位叢集式儲存系統之硬碟實體裝設位置的方法,其中,在該步驟(B)中,對於每一硬碟,藉由該主機,根據 該硬碟所對應的專用裝置名稱,除了獲得該專用裝置名稱所對應的第二虛擬插槽名稱及一裝設對應該專用裝置名稱之硬碟之硬碟擴充介面的位址外,還獲得一對應該專用裝置名稱之硬碟的位址;在該步驟(C)之後,還包含以下驟:(D)對於每一硬碟,藉由該主機,根據該硬碟的位址,獲得對應該硬碟的效能資訊。 The method for locating a physical installation position of a hard disk in a clustered storage system according to claim 1, wherein, in the step (B), for each hard disk, by the host, according to In addition to the name of the second virtual slot corresponding to the name of the dedicated device and the address of the hard disk expansion interface for the hard disk corresponding to the name of the dedicated device, the name of the dedicated device corresponding to the hard disk is also obtained. The address of the hard disk corresponding to the dedicated device name; after this step (C), the following steps are included: (D) For each hard disk, the host obtains the corresponding hard disk address according to the hard disk address Performance information of the hard drive. 如請求項3所述的定位叢集式儲存系統之硬碟實體裝設位置的方法,其中,在該步驟(D)之後,還包含以下驟:(E)藉由該主機,判定該等硬碟中是否存在至少一所對應之效能資訊所指示出之效能值低於一預設值的受損硬碟;及(F)當該主機判定出該等硬碟中存在該至少一受損硬碟時,對於每一受損硬碟,藉由該主機,根據該受損硬碟所對應的專用裝置名稱及該硬碟定位對應表,定位出該受損硬碟的實體插槽名稱。 The method for locating physical installation positions of hard disks in a clustered storage system according to claim 3, wherein after the step (D), the method further includes the following steps: (E) determining the hard disks by the host Whether there is at least one damaged hard disk whose performance value indicated by the corresponding performance information is lower than a preset value; and (F) when the host determines that the at least one damaged hard disk exists among the hard disks At this time, for each damaged hard disk, the host uses the dedicated device name corresponding to the damaged hard disk and the hard disk location correspondence table to locate the physical slot name of the damaged hard disk. 如請求項1所述的定位叢集式儲存系統之硬碟實體裝設位置的方法,該主機還儲存有一指示出每一硬碟擴充介面之每一硬碟插槽所欲裝設之硬碟之型號規格的硬碟型號規格對應表,其中,在該步驟(A)中,藉由該主機,除了獲得每一硬碟所對應的該專用裝置名稱外,還獲得每一硬碟所對應的型號規格資訊;在該步驟(C)之後,還包含以下步驟: (G)藉由該主機,根據該硬碟型號規格對應表及每一硬碟所對應的型號規格資訊,判定該等硬碟中是否存在至少一裝設錯誤的誤裝硬碟;及(H)當該主機判定出該等硬碟中存在該至少一誤裝硬碟時,對於每一誤裝硬碟,藉由該主機,根據該誤裝硬碟所對應的專用裝置名稱及該硬碟定位對應表,定位出該誤裝硬碟的實體插槽名稱。 For the method for locating the physical installation position of the hard disk of the cluster storage system as described in claim 1, the host also stores an indication of the hard disk to be installed in each hard disk slot of each hard disk expansion interface The corresponding table of hard disk model specifications of model specifications. In this step (A), in addition to obtaining the name of the dedicated device corresponding to each hard disk through the host, the model corresponding to each hard disk is also obtained Specification information; after this step (C), it also includes the following steps: (G) Using the host to determine whether there is at least one incorrectly installed hard disk in the hard disk according to the hard disk model specification correspondence table and the corresponding model and specification information of each hard disk; and (H ) When the host determines that there is at least one misinstalled hard disk among the hard disks, for each misinstalled hard disk, with the host, according to the name of the dedicated device corresponding to the misinstalled hard disk and the hard disk Locate the corresponding table to locate the physical slot name of the mis-installed hard disk. 如請求項5所述的定位叢集式儲存系統之硬碟實體裝設位置的方法,其中,在步驟(A)中,該主機係執行nvme list指令,獲得每一硬碟所對應的該專用裝置名稱及該型號規格資訊。 The method for locating a physical installation location of a hard disk in a cluster storage system according to claim 5, wherein, in step (A), the host executes an nvme list command to obtain the dedicated device corresponding to each hard disk Name and specification information of the model. 如請求項3所述的定位叢集式儲存系統之硬碟實體裝設位置的方法,其中,在該步驟(D)中,對於每一硬碟,該主機係根據該硬碟所對應的位址,並執行lspci指令,獲得對應該硬碟的效能資訊。 The method for locating a physical installation position of a hard disk in a cluster storage system as recited in claim 3, wherein, in the step (D), for each hard disk, the host is based on the address corresponding to the hard disk , And execute the lspci command to obtain the performance information of the corresponding hard disk.
TW108121207A 2019-06-19 2019-06-19 Method for locating a hard disk physical installation location in cluster storage system TWI715066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108121207A TWI715066B (en) 2019-06-19 2019-06-19 Method for locating a hard disk physical installation location in cluster storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108121207A TWI715066B (en) 2019-06-19 2019-06-19 Method for locating a hard disk physical installation location in cluster storage system

Publications (2)

Publication Number Publication Date
TWI715066B true TWI715066B (en) 2021-01-01
TW202101231A TW202101231A (en) 2021-01-01

Family

ID=75234670

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108121207A TWI715066B (en) 2019-06-19 2019-06-19 Method for locating a hard disk physical installation location in cluster storage system

Country Status (1)

Country Link
TW (1) TWI715066B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126251A1 (en) * 2001-12-28 2003-07-03 Inventec Corporation Automatic network management system
TW201324183A (en) * 2011-12-09 2013-06-16 Promise Tecnnology Inc Cloud data storage system
US20160314144A1 (en) * 2015-04-24 2016-10-27 Datadirect Networks, Inc. Dynamic context-based data protection and distribution
TW201723836A (en) * 2015-12-23 2017-07-01 神雲科技股份有限公司 Method for detecting locations of abnormal hard disks in cluster storage system
CN107240564A (en) * 2016-03-29 2017-10-10 株式会社日立国际电气 Processing unit, device management controller and apparatus management method
CN108733500A (en) * 2017-04-13 2018-11-02 阿里巴巴集团控股有限公司 Fault Locating Method and device, the generation method of correspondence and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030126251A1 (en) * 2001-12-28 2003-07-03 Inventec Corporation Automatic network management system
TW201324183A (en) * 2011-12-09 2013-06-16 Promise Tecnnology Inc Cloud data storage system
US20160314144A1 (en) * 2015-04-24 2016-10-27 Datadirect Networks, Inc. Dynamic context-based data protection and distribution
TW201723836A (en) * 2015-12-23 2017-07-01 神雲科技股份有限公司 Method for detecting locations of abnormal hard disks in cluster storage system
CN107240564A (en) * 2016-03-29 2017-10-10 株式会社日立国际电气 Processing unit, device management controller and apparatus management method
CN108733500A (en) * 2017-04-13 2018-11-02 阿里巴巴集团控股有限公司 Fault Locating Method and device, the generation method of correspondence and device

Also Published As

Publication number Publication date
TW202101231A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
US9396200B2 (en) Auto-snapshot manager analysis tool
US9727273B1 (en) Scalable clusterwide de-duplication
US8296601B2 (en) Take over method for computer system
US9460028B1 (en) Non-disruptive and minimally disruptive data migration in active-active clusters
US10860302B2 (en) Memory-efficient upgrade staging
CN106936616B (en) Backup communication method and device
US9697068B2 (en) Building an intelligent, scalable system dump facility
US11461085B2 (en) Firmware upgrade method in multiple node storage system
US20180107474A1 (en) Microcode upgrade in a storage system
EP3502877A1 (en) Data loading method and device
US20120117367A1 (en) Electronic apparatus and booting method thereof
WO2021057795A1 (en) System starting method and apparatus, node device and computer-readable storage medium
CN110737924B (en) Data protection method and equipment
WO2021080831A1 (en) Updating a metadata structure for a firmware update
US7831858B2 (en) Extended fault resilience for a platform
WO2021253855A1 (en) Information recording method, apparatus, and device, and readable storage medium
US11543973B2 (en) Techniques for software recovery and restoration
TWI715066B (en) Method for locating a hard disk physical installation location in cluster storage system
TWI514279B (en) Server system and firmware update method
JP2020154706A (en) Server management device, server management method, server management program and version check program
US20190213147A1 (en) Storage system and mapping method
US11392423B2 (en) Method for running a quorum-based system by dynamically managing the quorum
CN112349335B (en) Method for locating physical installation position of hard disk in cluster storage system
WO2024000535A1 (en) Partition table update method and apparatus, and electronic device and storage medium
US10740088B2 (en) Countermeasure verification assistance system and method

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees