CN109582513B - JBOD test method and system based on general server - Google Patents

JBOD test method and system based on general server Download PDF

Info

Publication number
CN109582513B
CN109582513B CN201811313463.8A CN201811313463A CN109582513B CN 109582513 B CN109582513 B CN 109582513B CN 201811313463 A CN201811313463 A CN 201811313463A CN 109582513 B CN109582513 B CN 109582513B
Authority
CN
China
Prior art keywords
jbod
test
hard disk
information
refreshing
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
CN201811313463.8A
Other languages
Chinese (zh)
Other versions
CN109582513A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811313463.8A priority Critical patent/CN109582513B/en
Publication of CN109582513A publication Critical patent/CN109582513A/en
Application granted granted Critical
Publication of CN109582513B publication Critical patent/CN109582513B/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
    • 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/2273Test methods

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)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a JBOD testing method and system based on a general server, and relates to the technical field of server testing. The method checks the serial number of the JBOD and refreshes the checked serial number information to the expander of the JBOD; refreshing the related position information of the JBOD according to the configured JBOD position division version; refreshing the hard disk position information of JBOD according to the related information of the hard disk; carrying out pressure test on the JBOD hard disk, and if the test is not problematic, prompting that the test is successful; if the test has problems, the test is prompted to fail. The invention realizes the reliability test of the JOB without changing the test framework of the universal server on the basis of the test of the existing universal server, has simple and flexible test method and increases the integrity and the accuracy of the test process of the server.

Description

JBOD test method and system based on general server
Technical Field
The embodiment of the invention relates to the technical field of server testing, in particular to a JBOD testing method and a JBOD testing system based on a general server.
Background
JBOD (Just a Bunch Of Disks) is a storage device with multiple disk drives mounted on a backplane, commonly referred to as a Span. Unlike RAID arrays, JBOD has no front-end logic to manage the data distribution across the disks, each addressing individually, as a separate storage resource, or based on a portion of the host software, or an adapter card for the RAID group. The JBOD is especially important for reliability testing because the JBOD generally includes a plurality of disks in use, and the total storage capacity is large, and a failure of one disk causes a failure of the whole device, which brings a great risk to the system.
In the existing universal server test, the method can only be used for testing the universal server, but cannot be used for performing JOB test, and has great potential safety hazard and test loophole. Based on the JBOD test method and the JBOD test system based on the general server, the JBOD test method and the JBOD test system are used for realizing the reliability test of the JBOD and increasing the integrity and accuracy of the test.
Disclosure of Invention
The embodiment of the invention provides a JBOD test method and a JBOD test system based on a universal server, which solve the problem that the JBOD test cannot be carried out in the existing universal server test and improve the integrity and flexibility of the test.
In order to solve the technical problems, the invention discloses the following technical scheme:
the invention provides a JBOD test method based on a general server in a first aspect, which comprises the following steps:
checking the serial number of the JBOD, and refreshing the checked serial number information to the expander of the JBOD;
refreshing the related position information of the JBOD according to the configured JBOD position division version;
refreshing the hard disk position information of JBOD according to the related information of the hard disk;
carrying out pressure test on the JBOD hard disk, and if the test is not problematic, prompting that the test is successful; if the test has problems, the test is prompted to fail.
Based on the scheme, the method is optimized as follows:
further, after the checked sequence number information is refreshed to the expander of the JBOD, the method further comprises the following steps: the serial number information is read repeatedly by command.
Furthermore, after the related position information of the JBOD is refreshed according to the configured JBOD position division version, the JBOD and the handpiece are restarted in sequence, and after the restart, the corresponding position division information becomes effective.
Preferably, the JBOD quantiles include a quantile of the Expander of the JBOD and a quantile of the MFG.
According to the JBOD testing method based on the general server, the JBOD hard disk is subjected to pressure testing, wherein the pressure testing comprises sequential reading and random reading, a writing and reading test is carried out for a long time, and the testing end conditions comprise reading and writing speed and intelligent log inspection of the hard disk.
The invention provides a JBOD test system based on a general server, which comprises a serial number refreshing unit, a position dividing information refreshing unit, a hard disk position dividing information refreshing unit and a hard disk pressure test unit;
the serial number refreshing unit is used for verifying the serial number of the JBOD and refreshing the verified serial number information to the expander of the JBOD;
the sub-position information refreshing unit is used for refreshing the related sub-position information of the JBOD according to the configured JBOD sub-position version;
the hard disk position information refreshing unit is used for refreshing the hard disk position information of JBOD according to the related information of the hard disk;
the hard disk pressure testing unit is used for carrying out pressure testing on the JBOD hard disk, and if the test is not problematic, the success of the test is prompted; if the test has problems, the test is prompted to fail.
Further, the serial number refreshing unit refreshes the verified serial number information to the expander of the JBOD, and then reads the serial number information repeatedly through a command.
Furthermore, after the sub-position information refreshing unit refreshes the related sub-position information of the JBOD according to the configured JBOD sub-position version, the JBOD and the handpiece are restarted in sequence, and after the restart, the corresponding sub-position becomes effective.
The JBOD quantile version comprises a quantile version of the Expander of the JBOD and a quantile version of the MFG.
According to the JBOD test system based on the general server, the hard disk pressure test unit performs pressure test on the JBOD hard disk, wherein the pressure test includes sequential reading and random reading, a write-in reading test is performed for a long time, and the test end conditions include read-write speed and hard disk intelligent log check.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
the JBOD testing method based on the universal server comprises the steps of verifying a serial number of the JBOD, and refreshing verified serial number information to an expander of the JBOD; refreshing the related position information of the JBOD according to the configured JBOD position division version; refreshing the hard disk position information of JBOD according to the related information of the hard disk; carrying out pressure test on the JBOD hard disk, and if the test is not problematic, prompting that the test is successful; if the test has problems, the test is prompted to fail. According to the JBOD testing method based on the universal server, on the basis of the existing universal server testing, the reliability testing of JOB can be realized without changing the testing framework of the universal server, the testing method is simple and flexible, and the integrity and the accuracy of the server testing process are improved.
The JBOD test system based on the general server in the second aspect of the invention can realize the method in the first aspect and achieve the same effect.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
FIG. 1 is a schematic flow chart of a JBOD testing method based on a general purpose server according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a general purpose server based JBOD test system according to an embodiment of the present application;
reference numerals:
1-serial number refreshing unit, 2-quantile information refreshing unit, 3-hard disk quantile information refreshing unit and 4-hard disk pressure testing unit.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of understanding the contents of the present invention and the accompanying drawings, the English abbreviations referred to in the present invention are explained and illustrated.
Expander: an expander;
MFG: manufacturing, manufacturer;
RAID: redundant Arrays of Independent Drives, disk array.
Fig. 1 is a schematic flow chart of a JBOD testing method based on a general purpose server according to an embodiment of the present application, and as can be seen from fig. 1, the JBOD testing method based on a general purpose server according to the present embodiment includes the following steps:
s1, checking the serial number of the JBOD, and refreshing the checked serial number information to the expander of the JBOD;
s2, refreshing the related position information of the JBOD according to the configured JBOD position division version;
s3, refreshing the JBOD hard disk position information according to the related information of the hard disk;
s4, carrying out pressure test on the JBOD hard disk, and if the test is not problematic, prompting that the test is successful; if the test has problems, the test is prompted to fail.
Specifically, the JBOD sequence number is the unique identifier of the JBOD. In step S1, the checked sequence number information is refreshed on the JBOD expander, and then the sequence number information is repeatedly read by a command. In step S2, the classified version of JBOD needs to be refreshed to the specified version according to the requirement, and specifically includes the classified version of Expander of JBOD and the classified version of MFG. And the program automatically refreshes the corresponding JBOD branch according to the configured branch, after refreshing the related branch information of the JBOD, the JBOD can be automatically restarted, the head can be restarted, after the restart is completed, the corresponding branch takes effect, and then subsequent automatic tests are carried out.
Further, in step S3, the hard disk quantile information of the JBOD is refreshed according to the relevant information of the hard disk, and the specific steps are to obtain the quantile that the hard disk needs to be refreshed from the database according to the relevant information of the hard disk, and then check whether the quantiles are matched, and if not, automatically refresh the quantile. In step S4, a pressure test is performed on the JBOD hard disk, including sequential reading and random reading, and a write-in read test is performed for a long time, and the test end conditions include read-write speed and hard disk intelligent log check.
Fig. 2 is a schematic structural diagram of a JBOD test system based on a universal server according to an embodiment of the present application, and as can be seen from fig. 2, the JBOD test system based on a universal server according to the present embodiment includes a serial number refreshing unit 1, a quantile information refreshing unit 2, a hard disk quantile information refreshing unit 3, and a hard disk pressure test unit 4;
the serial number refreshing unit 1 is used for verifying the serial number of the JBOD and refreshing the verified serial number information to the expander of the JBOD;
the quantile information refreshing unit 2 is used for refreshing the relevant quantile information of the JBOD according to the configured JBOD quantile version;
the hard disk quantile information refreshing unit 3 is used for refreshing the hard disk quantile information of JBOD according to the relevant information of the hard disk;
the hard disk pressure test unit 4 is used for carrying out pressure test on the JBOD hard disk, and if the test is not problematic, the success of the test is prompted; if the test has problems, the test is prompted to fail.
Specifically, the serial number flush unit 1 flushes the checked serial number information to the expander of JBOD, and then repeatedly reads the serial number information by a command. The branch version of the JBOD needs to be refreshed to a specified version according to requirements, and specifically comprises the branch version of the Expander of the JBOD and the branch version of the MFG. The program automatically refreshes the corresponding JBOD sub-position according to the configured sub-position, after the sub-position information refreshing unit 2 refreshes the related sub-position information of the JBOD according to the configured JBOD sub-position version, the JBOD can be automatically restarted, the handpiece can be restarted, the corresponding sub-position takes effect after the restart is completed, and then the subsequent automatic test is carried out. The hard disk quantile information refreshing unit 3 refreshes the hard disk quantile information of JBOD according to the relevant information of the hard disk, specifically, obtains the quantile needing to be refreshed of the hard disk from the database according to the relevant information of the hard disk, then checks whether the quantile is matched, and if not, the quantile can be refreshed automatically. The hard disk pressure test unit 4 performs pressure test on the JBOD hard disk, including sequential reading and random reading, and performs write-in reading test for a long time, wherein the test end conditions include reading and writing speed and hard disk intelligent log check.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice 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 applied to 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 (9)

1. A JBOD test method based on a general server is characterized by comprising the following steps:
checking the serial number of the JBOD, and refreshing the checked serial number information to the expander of the JBOD;
refreshing the related position information of the JBOD according to the configured JBOD position division version;
refreshing the hard disk position information of JBOD according to the related information of the hard disk;
carrying out pressure test on the JBOD hard disk, and if the test is not problematic, prompting that the test is successful; if the test has problems, prompting that the test fails;
after the related position information of the JBOD is refreshed according to the configured JBOD position division version, the JBOD and the handpiece are restarted in sequence, and after the JBOD and the handpiece are restarted, the corresponding position division information takes effect;
and refreshing the hard disk sub-position information of the JBOD according to the related information of the hard disk, and specifically comprises the steps of acquiring the sub-position of the hard disk to be refreshed from a database according to the related information of the hard disk, checking whether the sub-positions are matched, and automatically refreshing if the sub-positions are not matched.
2. The JBOD testing method based on general purpose server as recited in claim 1, wherein the serial number information is repeatedly read by command after the checked serial number information is flushed to the expander of JBOD.
3. The JBOD testing method based on general purpose server as claimed in any of claims 1 to 2, wherein the JBOD classified versions include classified versions of the Expander and MFG of JBOD.
4. The JBOD testing method based on the general server as claimed in claim 1, wherein the JBOD hard disk is subjected to pressure testing including sequential reading and random reading, and a write-read test is performed for a long time, and the test end conditions include read-write speed and hard disk intelligent log check.
5. A JBOD test system based on a universal server is characterized by comprising a serial number refreshing unit, a position dividing information refreshing unit, a hard disk position dividing information refreshing unit and a hard disk pressure test unit;
the serial number refreshing unit is used for verifying the serial number of the JBOD and refreshing the verified serial number information to the expander of the JBOD;
the sub-position information refreshing unit is used for refreshing the related sub-position information of the JBOD according to the configured JBOD sub-position version;
the hard disk position information refreshing unit is used for refreshing the hard disk position information of JBOD according to the related information of the hard disk;
the hard disk pressure testing unit is used for carrying out pressure testing on the JBOD hard disk, and if the test is not problematic, the success of the test is prompted; if the test has problems, prompting that the test fails;
after the related position information of the JBOD is refreshed according to the configured JBOD position division version, the JBOD and the handpiece are restarted in sequence, and after the JBOD and the handpiece are restarted, the corresponding position division information takes effect;
and refreshing the hard disk sub-position information of the JBOD according to the related information of the hard disk, and specifically comprises the steps of acquiring the sub-position of the hard disk to be refreshed from a database according to the related information of the hard disk, checking whether the sub-positions are matched, and automatically refreshing if the sub-positions are not matched.
6. The JBOD test system based on general purpose server as recited in claim 5, wherein the serial number flush unit flushes the checked serial number information to the expander of JBOD and then reads the serial number information repeatedly by command.
7. The JBOD testing system based on the general server as claimed in claim 5, wherein after the sub-bit information refreshing unit refreshes the related sub-bit information of the JBOD according to the configured JBOD sub-bit version, the JBOD and the head are restarted in sequence, and after the restart, the corresponding sub-bit becomes effective.
8. The JBOD test system based on general purpose server as claimed in any of claims 5 to 7, wherein said JBOD classified versions include classified versions of the Expander and MFG of JBOD.
9. The JBOD test system based on the general server as claimed in claim 5, wherein the hard disk pressure test unit performs pressure test on the JBOD hard disk, including sequential reading and random reading, long time write reading test, and test end conditions including read-write speed and hard disk intelligent log check.
CN201811313463.8A 2018-11-06 2018-11-06 JBOD test method and system based on general server Active CN109582513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811313463.8A CN109582513B (en) 2018-11-06 2018-11-06 JBOD test method and system based on general server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811313463.8A CN109582513B (en) 2018-11-06 2018-11-06 JBOD test method and system based on general server

Publications (2)

Publication Number Publication Date
CN109582513A CN109582513A (en) 2019-04-05
CN109582513B true CN109582513B (en) 2021-11-02

Family

ID=65921597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811313463.8A Active CN109582513B (en) 2018-11-06 2018-11-06 JBOD test method and system based on general server

Country Status (1)

Country Link
CN (1) CN109582513B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111309553B (en) * 2020-02-14 2022-08-12 苏州浪潮智能科技有限公司 Method, system, equipment and medium for monitoring storage Jbod
CN111400115B (en) * 2020-03-08 2023-01-10 苏州浪潮智能科技有限公司 JBOD storage device test-based efficiency improvement method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008217395A (en) * 2007-03-05 2008-09-18 Nec Corp Disk array device
CN102354298A (en) * 2011-07-27 2012-02-15 哈尔滨工业大学 Software testing automation framework (STAF)-based fault injection automation testing platform and method for high-end fault-tolerant computer
CN107273251A (en) * 2017-06-02 2017-10-20 郑州云海信息技术有限公司 A kind of method of testing of the racks of Rack in a production environment JBOD storages

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090296592A1 (en) * 2008-05-28 2009-12-03 Fluke Corporation Method and apparatus of measuring and reporting data gap from within an analysis tool

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008217395A (en) * 2007-03-05 2008-09-18 Nec Corp Disk array device
CN102354298A (en) * 2011-07-27 2012-02-15 哈尔滨工业大学 Software testing automation framework (STAF)-based fault injection automation testing platform and method for high-end fault-tolerant computer
CN107273251A (en) * 2017-06-02 2017-10-20 郑州云海信息技术有限公司 A kind of method of testing of the racks of Rack in a production environment JBOD storages

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
存储扩展柜状态信息监控***设计与实现;李世坤;《中国优秀硕士学位论文全文数据库信息科技辑》;20180615;全文 *

Also Published As

Publication number Publication date
CN109582513A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
US8086919B2 (en) Controller having flash memory testing functions, and storage system and testing method thereof
US5574855A (en) Method and apparatus for testing raid systems
US8904244B2 (en) Heuristic approach for faster consistency check in a redundant storage system
CN102568522B (en) The method of testing of hard disk performance and device
CN101853692B (en) Controller with flash memory test function, and storage system and test method thereof
CN109582513B (en) JBOD test method and system based on general server
CN105573676B (en) A kind of method of verify data consistency in storage system
CN103699457A (en) Method and device for restoring disk arrays based on stripping
CN104503781A (en) Firmware upgrading method for hard disk and storage system
CN112416670B (en) Hard disk testing method, device, server and storage medium
CN116501259A (en) Disk group dual-activity synchronization method and device, computer equipment and storage medium
US10768852B2 (en) Batch automatic test method for solid state disks and batch automatic test device for solid state disks
US9257201B2 (en) Memory testing method and apparatus
US7626874B1 (en) Method and apparatus for testing a memory device with a redundant self repair feature
CN112802530A (en) NAND testing method and device, readable storage medium and electronic equipment
CN111897685A (en) Method and device for checking data in power failure, storage medium and electronic equipment
CN109542671B (en) Verification data generation method and solid state disk
US8341468B2 (en) Information apparatus
CN113190179B (en) Method for prolonging service life of mechanical hard disk, storage device and system
CN106909484B (en) System and method for simulating bad disk test in storage environment
CN111209146B (en) RAID card aging test method and system
CN109375869A (en) Realize the method and system, storage medium of data reliable read write
JP2001076422A (en) Judgment and test method for replacement processing time of storage device
CN111857573A (en) Intelligent replacement method and system based on RAID (redundant array of independent disks) fault member disk
CN111666042A (en) Method and device for verifying position of optical disc

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