CN101266814B - Disk location method in storage system and storage system for locating disk - Google Patents

Disk location method in storage system and storage system for locating disk Download PDF

Info

Publication number
CN101266814B
CN101266814B CN2008101060678A CN200810106067A CN101266814B CN 101266814 B CN101266814 B CN 101266814B CN 2008101060678 A CN2008101060678 A CN 2008101060678A CN 200810106067 A CN200810106067 A CN 200810106067A CN 101266814 B CN101266814 B CN 101266814B
Authority
CN
China
Prior art keywords
disk
disk chassis
sign
chassis
storage system
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.)
Expired - Fee Related
Application number
CN2008101060678A
Other languages
Chinese (zh)
Other versions
CN101266814A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2008101060678A priority Critical patent/CN101266814B/en
Publication of CN101266814A publication Critical patent/CN101266814A/en
Application granted granted Critical
Publication of CN101266814B publication Critical patent/CN101266814B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)

Abstract

The invention discloses a disk position fixing method in a storage system. The invention separately in each disk cabinet pre-arranges a mark which only marks the disk cabinet, and after gaining the mark of each disk cabinet, the invention need not a software in a storage controller to distribute the mark for each disk cabinet, but can directly realize the disk position fixing according to the gained mark and disk information of each disk cabinet. Moreover, in a state of a ring mode adopting double storage controller, the mark of each disk cabinet gained by the two storage controller are both the same and need not the software in the storage controller to turn over the order of arrangement of the mark of each disk cabinet. The invention also can separately arrange a display unit for each disk cabinet, and differentiate a plurality of disks of which positioning lights are lighted up via the display unit displaying the mark of the disk cabinet which is near from the display unit. The invention also discloses the storage system for realizing the disk position fixing.

Description

The storage system of disk localization method in the storage system and realization disk location
Technical field
The present invention relates to the positioning control technology, the disk localization method in particularly a kind of storage system and a kind of storage system that realizes the disk location.
Background technology
Generally include the disk chassis that memory controller links to each other with several serials in the storage system, comprise several disks in each disk chassis again., networking mode more and more higher along with the complexity of storage system also becomes increasingly complex, the quantity of disk chassis and disk is also just more and more, and in order to realize the maintenance to disk chassis, just need accurately navigate in numerous disks needs any disk detected, that replace or keep in repair.
Fig. 1 is the schematic flow sheet of disk localization method in the existing storage system.As shown in Figure 1, this method comprises:
Step 101, when system initialization, memory controller scans all disk chassis and receives the disc information of each disk chassis feedback.
Step 102, the software in the memory controller is respectively each disk chassis allocation identification according to each disk chassis putting in order in the disk chassis link that serial links to each other.For example, distribute numbering 8 signs as the 8th disk chassis.
Step 103, the software in the memory controller are respectively each disk number of each disk chassis inside according to the disc information of the sign of distributing for each disk chassis and each disk chassis feedback, obtain the logical place of each disk.For example, No. 15 disk in the 8th disk chassis just is numbered 8-15.
Step 104, when needs were located certain disk in certain disk chassis, memory controller sent positioning command according to the logical place of this disk to it, controls this disk and lights the positioning lamp of self, finishes the location.
So far, this flow process finishes.
Based on above-mentioned flow process, the visual of disk location makes the disk chassis maintainer can find disk to be detected, that replace or keep in repair exactly, thereby realizes the maintenance to disk chassis.
Yet, because storage system reliability requirement height, thereby can adopt the mode of redundancy backup usually, the disk chassis both link ends that links to each other in serial is provided with a memory controller respectively, constitutes the annular networking mode of double storage controllers.In this case, for two memory controllers, putting in order of each disk chassis is just opposite, this just needs the software in one of them memory controller, after being each disk chassis allocation identification according to as shown in Figure 1 mode, the upset that puts in order of the sign that will distribute again is that the same disk chassis sign of distributing is identical to guarantee two memory controllers.
Like this, just increase the complexity of software in the memory controller and made the software in each memory controller not have versatility.
And, owing to during at the same time to the location of a plurality of disks in the different disk cabinet, be difficult to distinguish the disk that a plurality of positioning lamps are lighted, thereby can only realize the location to each disk one by one, make that the efficient of disk location is lower.
Summary of the invention
In view of this, the invention provides disk localization method and a kind of storage system that realizes the disk location in a kind of storage system, can simplify the software in the memory controller and make this software have versatility.
Disk localization method in a kind of storage system provided by the invention, putting in order of the annular networking mode of described storage system employing double storage controllers, each disk chassis is opposite to two memory controllers, comprising:
The sign of this disk chassis of unique identification is set in each disk chassis respectively;
It obtains the sign and the disc information of each disk chassis respectively each storage control when the storage system initialization, sign that utilization is obtained and disc information are realized the location to each disk in each disk chassis.
Described sign is stored in the nonvolatile memory in the disk chassis.
Described sign is written in the described nonvolatile memory by the main frame that links to each other with disk chassis.
The logical place table that sign that further utilization is obtained and disc information are set up all disks in all disk chassis, and according to the location of described logical place table realization to each disk in each disk chassis.
Be provided with in each disk chassis respectively after the sign of this disk chassis of unique identification, this method further comprises: the display unit adjacent with each disk chassis is set respectively, and shown the sign of the disk chassis that is adjacent respectively by each display unit.
A kind of storage system that realizes disk location provided by the invention comprises the disk chassis link that is linked to each other by a plurality of disk chassis serials, and to connect putting in order of a memory controller, each disk chassis respectively opposite to two memory controllers at the two ends of this link,
Be provided with the sign of this disk chassis of unique identification in each disk chassis;
Each memory controller obtains the sign and the disc information of each disk chassis respectively when the storage system initialization; Sign that utilization is obtained and disc information are realized the location to each disk in each disk chassis.
Comprise nonvolatile memory in each disk chassis, be used to store the sign of this disk chassis of unique identification.
Described disk chassis is connected to a main frame, and described main frame is used for the sign of this disk chassis of unique identification is written in the nonvolatile memory of this disk chassis.
This system further comprises: adjacent with each disk chassis respectively display unit is used to show the sign of the disk chassis that is adjacent.
Described display unit is a charactron.
As seen from the above technical solution, the present invention sets in advance the sign of this disk chassis of unique identification respectively in each disk chassis, like this, after obtaining the sign of each disk chassis, the software that need not in the memory controller is each disk chassis allocation identification, can be directly realize location, thereby simplified the software in the memory controller disk according to the disc information of the sign of obtaining and each disk chassis.And, under the situation of the annular networking mode that adopts double storage controllers, the sign of each disk chassis that two memory controllers obtain is all identical, and the software that also need not in the memory controller is arranged turn in sequence with the sign of each disk chassis, has further simplified the software in the memory controller.
Further, the present invention can also be respectively each disk chassis display unit is set, and shows the sign of the disk chassis that is adjacent by display unit.Like this, even if simultaneously to a plurality of disks location in the different disk cabinet, also can distinguish a plurality of disks that positioning lamp is lighted in the different disk cabinet according to the sign that each display unit shows, thereby guaranteed the feasibility of simultaneously a plurality of disks in the different disk cabinet being located, improved the efficient of disk location.
Description of drawings
Fig. 1 is the schematic flow sheet of disk localization method in the existing storage system.
Fig. 2 is the schematic flow sheet of the disk localization method in the storage system in the embodiment of the invention.
Fig. 3 is a memory system architecture synoptic diagram of realizing the disk location in the embodiment of the invention.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in more detail.
Fig. 2 is the schematic flow sheet of the disk localization method in the storage system in the embodiment of the invention.As shown in Figure 2, the disk localization method in the present embodiment comprises:
Step 200 is provided with the sign of this disk chassis of unique identification respectively in each disk chassis.
Wherein, the sign of each disk chassis puts in order can be consistent with each disk chassis putting in order in the disk chassis link, also can be inconsistent, mainly decides according to actual networking situation.
In the practical application; since each disk chassis can link to each other with a main frame usually and each disk chassis in can include nonvolatile memory usually; therefore; in this step; can be by the main frame that links to each other with each disk chassis; the sign of this disk chassis of unique identification is written in the nonvolatile memory of this disk chassis, for example flash memory (Flash), non-volatile ROM (read-only memory) (E2PROM) etc.
Step 201 when the storage system initialization, scans all disk chassis in the storage system, obtains the sign and the disc information of each disk chassis respectively.
In this step, can directly read the sign that is stored in each disk chassis; And for disc information, can be according to existing mode by each disk chassis feedback.
Step 202, sign that utilization is obtained and disc information are realized the location to each disk in each disk chassis.
In this step, the logical place table that can utilize the sign obtained and disc information to set up all disks in all disk chassis earlier, and then realize the location of each disk in each disk chassis and light positioning lamp according to the logical place table of setting up.
Preferably, before step 201, the display unit adjacent with each disk chassis can be set respectively, charactron etc. for example, and after storage system powers on, show the sign of the disk chassis that is adjacent respectively by each display unit, make the disk chassis maintainer can identify different disk chassis and place physical location thereof more intuitively.Like this,, can distinguish the disk that is positioned in the different disk cabinet, and can navigate to the physical location of this disk place disk chassis more apace, thereby improve the efficient that disk chassis is safeguarded in conjunction with the location of lighting by the location in this step etc.
So far, this flow process finishes.
In the above-mentioned flow process, it then can be to be carried out by other any entities outside the storage system that step 200 can be carried out by Magnetic Disk Controller in step 201~202.
By above-mentioned flow process as seen, in the disk localization method in the present embodiment, in each disk chassis, set in advance the sign of this disk chassis of unique identification respectively, rather than distribute by the software in the memory controller, like this, after obtaining the sign of each disk chassis, can be directly realize location to disk according to the disc information of the sign of obtaining and each disk chassis.Even if adopt the annular networking mode of double storage controllers, the sign that each disk chassis that two memory controllers obtain also can not occur is arranged reversed in order, thereby the software that need not in arbitrary memory controller is arranged turn in sequence with the sign of each disk chassis.That is to say, need not the software distribution sign, also need not software and realize sign arrangement turn in sequence, thereby simplified the software in the memory controller.
Fig. 3 is a memory system architecture synoptic diagram of realizing the disk location in the embodiment of the invention.As shown in Figure 3, be example in the annular networking mode of double storage controllers, this system comprises: the disk chassis link that links to each other by a plurality of disk chassis serials, and the two ends of this link connect a memory controller respectively.
Be provided with the sign of this disk chassis of unique identification in each disk chassis.Wherein, the sign of each disk chassis puts in order can be consistent with each disk chassis putting in order in the disk chassis link, also can be inconsistent, mainly decides according to actual networking situation.
In the practical application, comprise nonvolatile memory in the disk chassis, be used to store the sign of this disk chassis of unique identification.And each disk chassis all can be connected to a main frame, so that main frame can be written in the sign of this disk chassis of unique identification in the nonvolatile memory of this disk chassis.
Each memory controller scans all disk chassis in the storage system when the storage system initialization, obtain the sign and the disc information of each disk chassis respectively; Sign that utilization is obtained and disc information are realized the location to each disk in each disk chassis.
As seen, in system as shown in Figure 3, store the sign of this disk chassis of unique identification in each disk chassis in advance, rather than distribute by the software in the memory controller, like this, after obtaining the sign of each disk chassis, can be directly realize location to disk according to the disc information of the sign of obtaining and each disk chassis.And the sign of each disk chassis that two memory controllers obtain puts in order identical, thereby the software that need not in arbitrary memory controller is arranged turn in sequence with the sign of each disk chassis.That is to say, need not the software distribution sign, also need not software and realize sign arrangement turn in sequence, thereby simplified the software in the memory controller.
Preferably, in system as shown in Figure 3, also comprise adjacent with each disk chassis respectively display unit, for example charactron is used for showing that the sign of the disk chassis that is adjacent is stored unique identification at each disk chassis respectively.Wherein, as herein described adjacent comprise contact, for example display unit directly is arranged at the disk chassis shell, and have nearer interval both of these case between disk chassis and the display unit, as long as can distinguish more close that disk chassis of which display unit.
Like this, after storage system powers on, the sign that shows the disk chassis that is adjacent respectively by each display unit, make the disk chassis maintainer can identify different disk chassis and place physical location thereof more intuitively, therefore, even if simultaneously to a plurality of disks location in the different disk cabinet, also can distinguish a plurality of disks that positioning lamp is lighted in the different disk cabinet according to the sign that each display unit shows, and can navigate to the physical location of this disk place disk chassis more apace, thereby improve the efficient that disk chassis is safeguarded.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the disk localization method in the storage system, described storage system adopt double storage controllers annular networking mode, each disk chassis put in order on the contrary to two memory controllers, it is characterized in that this method comprises:
The sign of this disk chassis of unique identification is set in each disk chassis respectively;
Each memory controller obtains the sign and the disc information of each disk chassis respectively when the storage system initialization, sign that utilization is obtained and disc information are realized the location to each disk in each disk chassis.
2. the method for claim 1 is characterized in that, described sign is stored in the nonvolatile memory in the disk chassis.
3. method as claimed in claim 2 is characterized in that described sign is written in the described nonvolatile memory by the main frame that links to each other with disk chassis.
4. as any described method in the claim 1 to 3, it is characterized in that, the logical place table that sign that further utilization is obtained and disc information are set up all disks in all disk chassis, and according to the location of described logical place table realization to each disk in each disk chassis.
5. as any described method in the claim 1 to 3, it is characterized in that, in each disk chassis, be provided with after the sign of this disk chassis of unique identification respectively, this method further comprises: the display unit adjacent with each disk chassis is set respectively, and shown the sign of the disk chassis that is adjacent respectively by each display unit.
6. a storage system that realizes disk location comprises the disk chassis link that is linked to each other by a plurality of disk chassis serials, and to connect putting in order of a memory controller, each disk chassis respectively opposite to two memory controllers at the two ends of this link, it is characterized in that,
Be provided with the sign of this disk chassis of unique identification in each disk chassis;
Each memory controller obtains the sign and the disc information of each disk chassis respectively when the storage system initialization; Sign that utilization is obtained and disc information are realized the location to each disk in each disk chassis.
7. system as claimed in claim 6 is characterized in that, comprises nonvolatile memory in each disk chassis, is used to store the sign of this disk chassis of unique identification.
8. system as claimed in claim 7 is characterized in that described disk chassis is connected to a main frame, and described main frame is used for the sign of this disk chassis of unique identification is written in the nonvolatile memory of this disk chassis.
9. as any described system in the claim 6 to 8, it is characterized in that this system further comprises: adjacent with each disk chassis respectively display unit is used to show the sign of the disk chassis that is adjacent.
10. system as claimed in claim 9 is characterized in that, described display unit is a charactron.
CN2008101060678A 2008-05-08 2008-05-08 Disk location method in storage system and storage system for locating disk Expired - Fee Related CN101266814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101060678A CN101266814B (en) 2008-05-08 2008-05-08 Disk location method in storage system and storage system for locating disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101060678A CN101266814B (en) 2008-05-08 2008-05-08 Disk location method in storage system and storage system for locating disk

Publications (2)

Publication Number Publication Date
CN101266814A CN101266814A (en) 2008-09-17
CN101266814B true CN101266814B (en) 2010-06-30

Family

ID=39989150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101060678A Expired - Fee Related CN101266814B (en) 2008-05-08 2008-05-08 Disk location method in storage system and storage system for locating disk

Country Status (1)

Country Link
CN (1) CN101266814B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932336B (en) * 2012-10-18 2015-11-25 北京奇虎科技有限公司 Terminal iidentification method and apparatus
CN102930230B (en) * 2012-10-18 2015-09-30 北京奇虎科技有限公司 Computing equipment identification method and device
CN103984651B (en) * 2014-04-28 2016-12-07 武汉光忆科技有限公司 Magnanimity CD off-line storage system and data of optical disk thereof automatically, method for rapidly positioning
CN104572380B (en) * 2015-01-30 2017-11-10 浪潮(北京)电子信息产业有限公司 A kind of method and apparatus for detecting disk
CN105512003B (en) * 2015-11-30 2018-06-26 曙光信息产业股份有限公司 A kind of disk localization method and device
CN105373351A (en) * 2015-11-30 2016-03-02 曙光信息产业股份有限公司 Disk positioning method and apparatus
CN107239231B (en) * 2017-05-03 2020-12-04 深圳市同泰怡信息技术有限公司 Method for fixing mapping relation between disk slot position number and disk identifier
CN109947622B (en) * 2019-03-21 2022-08-02 浪潮商用机器有限公司 Server physical disk positioning method, device, equipment and medium
CN113900880A (en) * 2020-06-22 2022-01-07 中兴通讯股份有限公司 Storage disk detection method and device, terminal equipment and storage medium
CN112764680B (en) * 2021-01-20 2024-02-06 华云数据控股集团有限公司 Disk stripe selection method and storage system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200510A (en) * 1997-05-22 1998-12-02 太和科技股份有限公司 Hard disc storage cabin built-in computer system
CN1272205A (en) * 1998-06-02 2000-11-01 皇家菲利浦电子有限公司 System for managing multimedia carriers
CN1504908A (en) * 2002-12-02 2004-06-16 ���ش�洢����ʽ���� Memory system and controlling method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1200510A (en) * 1997-05-22 1998-12-02 太和科技股份有限公司 Hard disc storage cabin built-in computer system
CN1272205A (en) * 1998-06-02 2000-11-01 皇家菲利浦电子有限公司 System for managing multimedia carriers
CN1504908A (en) * 2002-12-02 2004-06-16 ���ش�洢����ʽ���� Memory system and controlling method thereof

Also Published As

Publication number Publication date
CN101266814A (en) 2008-09-17

Similar Documents

Publication Publication Date Title
CN101266814B (en) Disk location method in storage system and storage system for locating disk
WO2018113387A1 (en) Odn system and working method therefor
CN109041321B (en) Address code identification method for driving multiple parallel LED lamp bodies by carrying power line
CN103454736B (en) Intelligent optical fiber wiring device and method and management system
CN102334386A (en) The automatic debugging of the equipment of the control system of networking
US20090230894A1 (en) Lighting system with linked groups
US9820364B2 (en) Commissioning system for a lighting system
US20140028219A1 (en) Remote intelligent monitoring system and led street lamp applied thereto
CN102800279B (en) Addressable display drive method in parallel and system thereof
RU2012136436A (en) VIDEO LIGHTING SYSTEM MANAGEMENT METHOD
US20150373816A1 (en) Lighting control system
CN103191569A (en) Stage monitoring system
CN104794043A (en) Control method for achieving light-up indication of server hard disk state
AU2021215228A1 (en) Method for marking luminaires, controller arrangement and luminaire
US8755918B2 (en) Illumination device
JP6443111B2 (en) Lighting control system, lighting control method, and lighting control program
JP5583759B2 (en) Data path generation method in modular lighting system
CN103763826B (en) The installation method of wireless lamp controller and Lighting Control Assembly
CN1998270B (en) Actuator comprising a memory part for a building management system
EP3883346A1 (en) Led lighting system, led device, and led address writing method
JP2005183050A (en) Light control system
AU2006241316A1 (en) Light fixture
CN102945653B (en) Method and system for realizing internal control display of cascade LED (light-emitting diode) chip
EP4108050A1 (en) Maintenance method and configuration method for luminaire assemblies
JP6705349B2 (en) Lighting system, plant growing lighting system, lighting equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100630

Termination date: 20200508

CF01 Termination of patent right due to non-payment of annual fee