CN107256723A - A kind of method of testing and device for storing product - Google Patents

A kind of method of testing and device for storing product Download PDF

Info

Publication number
CN107256723A
CN107256723A CN201710401066.5A CN201710401066A CN107256723A CN 107256723 A CN107256723 A CN 107256723A CN 201710401066 A CN201710401066 A CN 201710401066A CN 107256723 A CN107256723 A CN 107256723A
Authority
CN
China
Prior art keywords
volume
hard disk
disk
storage pool
mapping relations
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710401066.5A
Other languages
Chinese (zh)
Inventor
李玲侠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201710401066.5A priority Critical patent/CN107256723A/en
Publication of CN107256723A publication Critical patent/CN107256723A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of method of testing and device for storing product, and the method for testing includes creating storage pool;According to target hard disk quantity, Logical HEA is set up;Target hard disk is set to managed disk;Volume is created in the storage pool;Set up the mapping relations of the volume and the Logical HEA;According to the mapping relations, test is written and read to the managed disk.The method of testing of the embodiment of the present invention can be realized by script, so that fast construction test environment, saves and build time and efforts, effectively increase testing efficiency;And by automatically configuring storage pool and mapping relations, can at any time be adjusted according to testing requirement, with very high flexibility and practicality.

Description

A kind of method of testing and device for storing product
Technical field
The present invention relates to technical field of measurement and test, more particularly to a kind of method of testing and device for storing product.
Background technology
Storage product includes hard disk or disk array being commonly used etc..Wherein, disk array is generally by multiple disks An array is constituted, is used as single disk, data are stored in different disks by it in segmented fashion, data are accessed When, the associative disk in array is acted together, significantly lowers the access time of data, while there is more preferably space availability ratio.
The caching of storage product is its key components, and the performance of caching is very big to the performance impact for storing product, So during daily test is cached, caching performance test is the important test of relation product quality.At present, implementing slow , it is necessary to build test environment for storage product to be measured when depositing performance test, the build process of test environment often expends a lot Time and efforts, be unfavorable for test quick progress, have a strong impact on testing efficiency.
Therefore, the testing efficiency of storage product how is improved, is that the technology of those skilled in the art's urgent need to resolve is asked Topic.
The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of method of testing for storing product And device, for solving the problem of storage product test efficiency is low in the prior art.
In order to achieve the above objects and other related objects, according to the first aspect of the invention, the embodiment of the present invention provides one The method of testing of storage product is planted, this method comprises the following steps:
Create storage pool;
According to target hard disk quantity, Logical HEA is set up;
Target hard disk is set to managed disk;
Volume is created in the storage pool;
Set up the mapping relations of the volume and the Logical HEA;
According to the mapping relations, test is written and read to the managed disk.
Alternatively, the establishment storage pool includes:
Storage pool is divided into by multiple growth data blocks with preset data block capacity;
Disk size threshold value is set, for exceeding the disk size when the disk size threshold value used in the storage pool Alert during threshold value.
Alternatively, it is described according to target hard disk quantity, Logical HEA is set up, including:
Default target hard disk quantity is obtained, and sets up the corresponding Logical HEA of default target hard disk;Or,
Scan each hard disk connectivity port and determine target hard disk quantity, and set up the corresponding Logical HEA of the target hard disk of scanning.
Alternatively, it is described that target hard disk is added in the storage pool, as managed disk, including:
Candidate's hard disk is set from the target hard disk;
Candidate's hard disk is added in the storage pool in RAID0 modes, managed disk is used as.
Alternatively, when volume identification number is less than or equal to default volume quantity, volume is created in the storage pool, including:
Obtain current the first return mark for creating volume;
If first return is designated success flag, establishment success message is sent, the establishment success message is carried The current volume identification number for creating volume;
Unsuccessfully identified if first return is designated, send establishment failed message, the establishment failed message is carried The current volume identification number for creating volume.
Alternatively, when mapping relations identification number is less than or equal to volume quantity, the volume and the Logical HEA are set up Mapping relations, including:
Obtain the mapping relations currently set up second returns to mark;
If second return is designated success flag, mapping success message is sent, the mapping success message is carried Current mapping relations identification number;
Unsuccessfully identified if second return is designated, send mapping failed message, the establishment failed message is carried Current mapping relations identification number.
Alternatively, it is described that test is written and read to the managed disk according to the mapping relations, including:
Test is written and read to each managed disk with the very first time, reference test is obtained;
From the reference test, the second time corresponding test data above is removed, target detection result is obtained.
According to the second aspect of the invention, the embodiment of the present invention also provides a kind of test device for storing product, the survey Trial assembly put including:
Storage pool creation module, for creating storage pool;
Logical HEA sets up module, for according to target hard disk quantity, setting up Logical HEA;
Disk array creation module, for target hard disk to be added in the storage pool, is used as managed disk;
Creation module is rolled up, for creating volume in the storage pool;
Host map module, the mapping relations for setting up the volume and the Logical HEA;
Test module, for according to the mapping relations, test to be written and read to the managed disk.
Alternatively, the disk array creation module is used for,
Candidate's hard disk is set from the target hard disk;
Candidate's hard disk is added in the storage pool in RAID0 modes, managed disk is used as.
Alternatively, when will work as volume identification number less than or equal to default volume quantity, the volume creation module is used for,
Obtain current the first return mark for creating volume;
If first return is designated success flag, establishment success message is sent, the establishment success message is carried The current volume identification number for creating volume;
Unsuccessfully identified if first return is designated, send establishment failed message, the establishment failed message is carried The current volume identification number for creating volume.
As described above, the method for testing and device of the storage product of the present invention, have the advantages that:The test side Method includes creating storage pool;According to target hard disk quantity, Logical HEA is set up;Target hard disk is set to managed disk;Institute State and volume is created in storage pool;Set up the mapping relations of the volume and the Logical HEA;According to the mapping relations, to it is described by Pipe disk is written and read test.The method of testing of the embodiment of the present invention can be realized by script, so that fast construction test wrapper Border, saves and builds time and efforts, effectively increases testing efficiency;And by automatically configuring storage pool and mapping relations, Can at any time it be adjusted according to testing requirement, with very high flexibility and practicality.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of method of testing for storing product provided in an embodiment of the present invention.
Fig. 2 is a kind of schematic flow sheet of storage pool creation method provided in an embodiment of the present invention.
Fig. 3 is a kind of schematic flow sheet of managed disk method to set up provided in an embodiment of the present invention.
Fig. 4 is a kind of schematic flow sheet of volume creation method provided in an embodiment of the present invention.
Fig. 5 is a kind of schematic flow sheet of mapping relations creation method provided in an embodiment of the present invention.
Fig. 6 is a kind of schematic flow sheet of readwrite tests method provided in an embodiment of the present invention.
Fig. 7 is a kind of structural representation of test device for storing product provided in an embodiment of the present invention.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the present invention, below in conjunction with of the invention real The accompanying drawing in example is applied, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described implementation Example only a part of embodiment of the invention, rather than whole embodiments.Based on the embodiment in the present invention, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to protection of the present invention Scope.
Fig. 1 is referred to Fig. 7.It should be noted that the diagram provided in the present embodiment only illustrates this in a schematic way The basic conception of invention, only display is with relevant component in the present invention rather than according to package count during actual implement in illustrating then Mesh, shape and size are drawn, and kenel, quantity and the ratio of each component can be a kind of random change during its actual implementation, and its Assembly layout kenel may also be increasingly complex.The present invention stores the method for testing of product in implementing, can apply to storage array Test, and be particularly applicable to test storage product caching performance.
It is a kind of schematic flow sheet of method of testing for storing product provided in an embodiment of the present invention referring to Fig. 1.Such as Fig. 1 Shown, the method for testing includes:
Step S101:Create storage pool.
In embodiments of the present invention, the storage pool is the set of multiple disks, is realized by creating storage pool to storage The management of multiple disks in product.Disk can be added or be reduced in the storage pool
It is a kind of schematic flow sheet of storage pool creation method provided in an embodiment of the present invention referring to Fig. 2.As shown in Fig. 2 the party Method comprises the following steps:
Step S1011:Storage pool is divided into by multiple growth data blocks with preset data block capacity.
According to default data block capacity, storage pool is divided into multiple growth data blocks.The data block capacity can be pre- First be set to 1024MB, certainly in the specific implementation, the data block capacity may be arranged as other numerical value such as 256MB, 512MB and 2048MB etc..All hard disks in storage pool described further all can according to the data block capacity size, point For multiple growth data blocks.
Step S1012:Disk size threshold value is set, described in exceeding when the disk size of use in the storage pool Alert during disk size threshold value.
The disk size threshold value can be storage capacity value or memory capacity percentage.If the disk size threshold It is worth for storage capacity value, then when when being more than or equal to the disk size threshold value using disk size, being sent in storage pool Warning message.If the disk size threshold value be memory capacity percentage, when in storage pool using disk size with When the ratio of storage pool size is more than or equal to the disk size threshold value, alert.By setting the disk to hold Threshold value is measured, the service condition in storage pool can be monitored.
Step S102:According to target hard disk quantity, Logical HEA is set up.
After the completion of storage pool establishment, the target hard disk in storage pool and Logical HEA can be set up corresponding relation, this Sample is conducted interviews by Logical HEA to the target hard disk in storage pool.Wherein, the target hard disk can be understood as storage pool In all hard disks.
Under the first performance, default target hard disk quantity can be obtained, and set up default target hard disk pair The Logical HEA answered.By obtaining default target hard disk quantity, so that the corresponding relation of target hard disk and Logical HEA is set up, The target hard disk quantity for example preset in storage pool is 4, then sets up the Logical HEA corresponding to 4 target hard disks in storage pool.
Under second of performance, each hard disk connectivity port can be scanned and determine target hard disk quantity, and foundation is swept The corresponding Logical HEA of target hard disk retouched.By scanning each hard disk connectivity port, determine what hard disk connectivity port was connected The quantity of all hard disks, so as to set up the Logical HEA of all target hard disks scanned.
Step S103:Target hard disk is set to managed disk.
It is a kind of schematic flow sheet of managed disk method to set up provided in an embodiment of the present invention referring to Fig. 3.Such as Fig. 3 institutes Show, this method includes:
Step S1031:Candidate's hard disk is set from the target hard disk.
Target hard disks all in storage pool can be selected as candidate's hard disk, or part in storage pool can be selected Target hard disk is used as candidate's hard disk.
Step S1032:Candidate's hard disk is added in the storage pool in RAID0 modes, managed disk is used as.
Candidate's hard disk RAID0 modes are added in storage pool, so, by the modes of RAID 0 continuous data It is distributed on multiple candidate's hard disks and accesses, system has the execution that request of data just can be by multiple candidate's hard disks parallel, Mei Gehou Disk is selected to perform the part request of data for belonging to its own.All candidate's hard disks are as managed disk, in follow-up test During be written and read access operation.
Step S104:Volume is created in the storage pool.
It is a kind of schematic flow sheet of volume creation method provided in an embodiment of the present invention referring to Fig. 4.As shown in figure 4, when volume When identification number is less than or equal to default volume quantity, the embodiment of the present invention shows that circulation creates the process of volume, wherein, the volume Identification number can be understood as the label corresponding to each volume, such as 1,2,3, respectively the corresponding first volume, volume Two and volume three; The volume quantity can be understood as the quantity for needing to set up volume, and the volume quantity can be default numerical value, for example, set volume number Measure as 10, then set up 10 volumes.The volume creation method of the embodiment of the present invention includes:
Step S1041:Obtain current the first return mark for creating volume.
One first can be returned after the completion of volume operation is created and returns to mark, described first, which returns to mark, is used to describe volume wound Build and whether succeed.In an exemplary implementation, the first return mark can be numeral 0 or 1, if described first returns to mark Know for 0, then mark volume is created successfully, if described first returns and be designated 1, mark volume establishment fails.
Step S1042:If first return is designated success flag, establishment success message, the establishment are sent Success message carries the current volume identification number for creating volume.
First obtained according to step S1041 returns to mark, if first return is designated success flag, sends Create success message.The current volume identification number for creating volume is carried in the establishment success message, to represent the volume identification number Corresponding volume is created successfully.
Step S1043:Unsuccessfully identified if first return is designated, send establishment failed message, the establishment Failed message carries the current volume identification number for creating volume.
First obtained according to step S1041 returns to mark, unsuccessfully identifies, sends if first return is designated Create failed message.The current volume identification number for creating volume is carried in the establishment failed message, to represent the volume identification number Corresponding volume creates failure.
Step S105:Set up the mapping relations of the volume and the Logical HEA.
By setting up the mapping relations of volume and Logical HEA, the input-output operation of Logical HEA is able to access that corresponding Volume.
It is a kind of schematic flow sheet of mapping relations creation method provided in an embodiment of the present invention referring to Fig. 5.Such as Fig. 5 institutes Show, when mapping relations identification number is less than or equal to volume quantity, set up the mapping relations of the volume and the Logical HEA, its In, the mapping relations identification number identifies the mapping relations of a volume and Logical HEA, and such as mapping relations identification number is 1, then Represent that the first volume establishes mapping relations with Logical HEA, mapping relations identification number is 2, then it represents that volume Two is built with Logical HEA Mapping relations have been found, it is necessary to set up the mapping relations of all volume and Logical HEA.The mapping relations of the embodiment of the present invention are set up Method includes:
Step S1051:Obtain the mapping relations currently set up second returns to mark.
By the title and volume identification number of Logical HEA, the mapping relations of Logical HEA and respective roll can be set up.Reflect Penetrate relation to set up after the completion of operation, the second return mark can be returned to, described second, which returns to mark, is used to describe current volume and logic Whether main frame has been successfully established mapping relations.In one exemplary embodiment, the second return mark can be 0 or 1, such as Really described second return is designated 0, then identity map relation is successfully established, if second return is designated 1, mark is reflected Penetrate relation and set up failure.
Step S1052:If second return is designated success flag, mapping success message, the mapping are sent Success message carries current mapping relations identification number.
Second returned according to step S1051 returns to mark, if second return is designated success flag, sends Success message is mapped, the mapping success message carries current mapping relations identification number.If such as first volume and logic master The mapping relations of machine are successfully established, then mapping relations identification number 1 are carried in the mapping success message, if volume Two is with patrolling The mapping relations for collecting main frame are successfully established, then carry mapping relations identification number 2 in the mapping success message.
Step S1053:Unsuccessfully identified if second return is designated, send mapping failed message, the mapping Failed message carries current mapping relations identification number.
Second returned according to step S1052 returns to mark, unsuccessfully identifies, sends if second return is designated Map failed message.The mapping failed message carries current mapping relations identification number.If for example set up volume three with The mapping relations failure of Logical HEA, then carry mapping relations identification number 3 in the mapping failed message, mark volume three with The mapping relations of Logical HEA set up failure.
Step S106:According to the mapping relations, test is written and read to the managed disk.
It is successfully established by step S105 after mapping relations, survey can be written and read to managed disk by Logical HEA Examination, so as to assess the performance of storage product.
It is a kind of schematic flow sheet of readwrite tests method provided in an embodiment of the present invention referring to Fig. 6.As shown in fig. 6, should Method includes:
Step S1061:Operation is written and read to each managed disk with the very first time, reference test is obtained.
Operation is written and read to each managed disk, the duration of read-write operation is the very first time, the very first time It could be arranged to 10 minutes, by being written and read operation to managed disk, obtain reference test.
Step S1062:From the reference test, the second time corresponding test data above is removed, is obtained Target detection result.
From reference result, the second time corresponding test data come in time sequencing above is removed, wherein, it is described Second time can be 60 seconds, so as to obtain target detection result.Due to storing the test result of product in the test incipient stage It is inaccurate, easily brings measurement error, the precision of test is can effectively ensure that by removing the test data of the second time.
In addition, it is necessary to explanation be storage product described by the embodiment of the present invention method of testing can with script or The application program for being stored in storage medium is realized, so as to realize that the automatic of test environment is built.
From the description of above-described embodiment, a kind of method of testing for storing product provided in an embodiment of the present invention is described Method of testing includes creating storage pool;According to target hard disk quantity, Logical HEA is set up;Target hard disk is set to managed magnetic Disk;Volume is created in the storage pool;Set up the mapping relations of the volume and the Logical HEA;According to the mapping relations, Test is written and read to the managed disk.The method of testing of the embodiment of the present invention can be realized by script, so as to quickly take Test environment is built, saves and builds time and efforts, testing efficiency is effectively increased;And by automatically configuring storage pool and reflecting Relation is penetrated, can at any time be adjusted according to testing requirement, with very high flexibility and practicality.
The description of embodiment of the method more than, it is apparent to those skilled in the art that the present invention can Realized by the mode of software plus required general hardware platform, naturally it is also possible to by hardware, but in many cases the former It is more preferably embodiment.Understood based on such, technical scheme substantially makes tribute to prior art in other words The part offered can be embodied in the form of software product, and the computer software product is stored in a storage medium, bag Some instructions are included to cause a computer equipment(Can be personal computer, server, or network equipment etc.)Perform The all or part of step of each embodiment methods described of the invention.And foregoing storage medium includes:Read-only storage (ROM), random access memory(RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Method of testing embodiment with the storage product that the present invention is provided is corresponding, and present invention also offers one kind storage production The test device of product.
It is a kind of structural representation of test device for storing product provided in an embodiment of the present invention, such as Fig. 7 referring to Fig. 7 Shown, the test device includes:
Storage pool creation module 11, for creating storage pool;
Logical HEA sets up module 12, for according to target hard disk quantity, setting up Logical HEA;
Disk array creation module 13, for target hard disk to be added in the storage pool, is used as managed disk;
Creation module 14 is rolled up, for creating volume in the storage pool;
Host map module 15, the mapping relations for setting up the volume and the Logical HEA;
Test module 16, for according to the mapping relations, test to be written and read to the managed disk.
Alternatively, the storage pool creation module 11, is additionally operable to set up growth data block with preset data block capacity;
Disk size threshold value is set, for exceeding the disk size threshold value when the disk size used in the storage pool When alert.
Alternatively, the Logical HEA sets up module 12, is additionally operable to obtain default target hard disk quantity, and set up default The corresponding Logical HEA of target hard disk;Or, scan each hard disk connectivity port and determine target hard disk quantity, and set up scanning The corresponding Logical HEA of target hard disk.
Alternatively, disk array creation module 13, is additionally operable to from the target hard disk set candidate's hard disk;Waited described Select hard disk to be added in RAID0 modes in the storage pool, be used as managed disk.
Alternatively, the volume creation module 14, is additionally operable to, when volume identification number is less than or equal to default volume quantity, obtain Current the first return mark for creating volume;If first return is designated success flag, establishment success message, institute are sent State and create the volume identification number that success message carries current establishment volume;Or, unsuccessfully identified if first return is designated, Establishment failed message is then sent, the establishment failed message carries the current volume identification number for creating volume.
Alternatively, the Host map module 15, is additionally operable to, when mapping relations identification number is less than or equal to volume quantity, obtain The second of the mapping relations currently set up are taken to return to mark;If second return is designated success flag, mapping is sent Success message, the mapping success message carries current mapping relations identification number;Or, if second return is designated Failure is identified, then sends mapping failed message, the establishment failed message carries current mapping relations identification number.
Alternatively, the test module 16, is additionally operable to be written and read test to each managed disk with the very first time, obtains Reference test;From the reference test, the second time corresponding test data above is removed, target survey is obtained Test result.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device or For system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, related part is referring to method The part explanation of embodiment.Apparatus and system embodiment described above is only schematical, wherein the conduct The unit that separating component illustrates can be or may not be it is physically separate, the part shown as unit can be or Person may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can root Some or all of module therein is factually selected to realize the purpose of this embodiment scheme the need for border.Ordinary skill Personnel are without creative efforts, you can to understand and implement.
It should be noted that herein, the relational terms of such as " first " and " second " or the like are used merely to one Individual entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operate it Between there is any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to Cover including for nonexcludability, so that process, method, article or equipment including a series of key elements not only include those Key element, but also other key elements including being not expressly set out, or also include for this process, method, article or set Standby intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that Also there is other identical element in the process including the key element, method, article or equipment.
Described above is only the embodiment of the present invention, is made skilled artisans appreciate that or realizing this hair It is bright.A variety of modifications to these embodiments will be apparent to one skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (10)

1. a kind of method of testing for storing product, it is characterised in that comprise the following steps:
Create storage pool;
According to target hard disk quantity, Logical HEA is set up;
Target hard disk is set to managed disk;
Volume is created in the storage pool;
Set up the mapping relations of the volume and the Logical HEA;
According to the mapping relations, test is written and read to the managed disk.
2. the method for testing of storage product according to claim 1, it is characterised in that the establishment storage pool includes:
Storage pool is divided into by multiple growth data blocks with preset data block capacity;
Disk size threshold value is set, for exceeding the disk size when the disk size threshold value used in the storage pool Alert during threshold value.
3. the method for testing of storage product according to claim 1, it is characterised in that described according to target hard disk quantity, Logical HEA is set up, including:
Default target hard disk quantity is obtained, and sets up the corresponding Logical HEA of default target hard disk;Or,
Scan each hard disk connectivity port and determine target hard disk quantity, and set up the corresponding Logical HEA of the target hard disk of scanning.
4. the method for testing of storage product according to claim 1, it is characterised in that described that target hard disk is added to institute State in storage pool, as managed disk, including:
Candidate's hard disk is set from the target hard disk;
Candidate's hard disk is added in the storage pool in RAID0 modes, managed disk is used as.
5. the method for testing of storage product according to claim 1, it is characterised in that when volume identification number is less than or equal in advance If volume quantity when, in the storage pool create volume, including:
Obtain current the first return mark for creating volume;
If first return is designated success flag, establishment success message is sent, the establishment success message is carried The current volume identification number for creating volume;
Unsuccessfully identified if first return is designated, send establishment failed message, the establishment failed message is carried The current volume identification number for creating volume.
6. the method for testing of storage product according to claim 1, it is characterised in that be less than when mapping relations identification number or During equal to volume quantity, the mapping relations of the volume and the Logical HEA are set up, including:
Obtain the mapping relations currently set up second returns to mark;
If second return is designated success flag, mapping success message is sent, the mapping success message is carried Current mapping relations identification number;
Unsuccessfully identified if second return is designated, send mapping failed message, the establishment failed message is carried Current mapping relations identification number.
7. the method for testing of storage product according to claim 1, it is characterised in that described according to the mapping relations, Test is written and read to the managed disk, including:
Test is written and read to each managed disk with the very first time, reference test is obtained;
From the reference test, the second time corresponding test data above is removed, target detection result is obtained.
8. a kind of test device for storing product, it is characterised in that including:
Storage pool creation module, for creating storage pool;
Logical HEA sets up module, for according to target hard disk quantity, setting up Logical HEA;
Disk array creation module, for target hard disk to be added in the storage pool, is used as managed disk;
Creation module is rolled up, for creating volume in the storage pool;
Host map module, the mapping relations for setting up the volume and the Logical HEA;
Test module, for according to the mapping relations, test to be written and read to the managed disk.
9. the test device of storage product according to claim 8, it is characterised in that the disk array creation module is used In,
Candidate's hard disk is set from the target hard disk;
Candidate's hard disk is added in the storage pool in RAID0 modes, managed disk is used as.
10. the test device of storage product according to claim 8, it is characterised in that volume identification number will be worked as and be less than or wait When default volume quantity, the volume creation module is used for,
Obtain current the first return mark for creating volume;
If first return is designated success flag, establishment success message is sent, the establishment success message is carried The current volume identification number for creating volume;
Unsuccessfully identified if first return is designated, send establishment failed message, the establishment failed message is carried The current volume identification number for creating volume.
CN201710401066.5A 2017-05-31 2017-05-31 A kind of method of testing and device for storing product Pending CN107256723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710401066.5A CN107256723A (en) 2017-05-31 2017-05-31 A kind of method of testing and device for storing product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710401066.5A CN107256723A (en) 2017-05-31 2017-05-31 A kind of method of testing and device for storing product

Publications (1)

Publication Number Publication Date
CN107256723A true CN107256723A (en) 2017-10-17

Family

ID=60028229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710401066.5A Pending CN107256723A (en) 2017-05-31 2017-05-31 A kind of method of testing and device for storing product

Country Status (1)

Country Link
CN (1) CN107256723A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763008A (en) * 2018-05-31 2018-11-06 郑州云海信息技术有限公司 A kind of server storage hard disk performance batch testing system, server and method
CN108804169A (en) * 2018-06-14 2018-11-13 郑州云海信息技术有限公司 A kind of creation method and relevant apparatus of configurable resource
CN108984353A (en) * 2018-06-22 2018-12-11 郑州云海信息技术有限公司 Method based on Vdbench construction hot spot data test data layering
CN111324311A (en) * 2020-02-28 2020-06-23 苏州浪潮智能科技有限公司 LUN partitioning method and equipment
WO2023061266A1 (en) * 2021-10-15 2023-04-20 阿里云计算有限公司 Logical volume construction method and apparatus, and device, readable storage medium and program product

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233705B1 (en) * 1996-12-27 2001-05-15 Canon Kabushiki Kaisha Test method for data storage characteristics of memory
CN101788889A (en) * 2010-03-03 2010-07-28 浪潮(北京)电子信息产业有限公司 Memory virtualization system and method
CN105975211A (en) * 2016-04-28 2016-09-28 浪潮(北京)电子信息产业有限公司 Method and system for improving IO performance on basis of K1 system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6233705B1 (en) * 1996-12-27 2001-05-15 Canon Kabushiki Kaisha Test method for data storage characteristics of memory
CN101788889A (en) * 2010-03-03 2010-07-28 浪潮(北京)电子信息产业有限公司 Memory virtualization system and method
CN105975211A (en) * 2016-04-28 2016-09-28 浪潮(北京)电子信息产业有限公司 Method and system for improving IO performance on basis of K1 system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763008A (en) * 2018-05-31 2018-11-06 郑州云海信息技术有限公司 A kind of server storage hard disk performance batch testing system, server and method
CN108804169A (en) * 2018-06-14 2018-11-13 郑州云海信息技术有限公司 A kind of creation method and relevant apparatus of configurable resource
CN108984353A (en) * 2018-06-22 2018-12-11 郑州云海信息技术有限公司 Method based on Vdbench construction hot spot data test data layering
CN111324311A (en) * 2020-02-28 2020-06-23 苏州浪潮智能科技有限公司 LUN partitioning method and equipment
CN111324311B (en) * 2020-02-28 2021-09-14 苏州浪潮智能科技有限公司 LUN partitioning method and equipment
US11977762B2 (en) 2020-02-28 2024-05-07 Inspur Suzhou Intelligent Technology Co., Ltd. LUN division method and device
WO2023061266A1 (en) * 2021-10-15 2023-04-20 阿里云计算有限公司 Logical volume construction method and apparatus, and device, readable storage medium and program product

Similar Documents

Publication Publication Date Title
CN107256723A (en) A kind of method of testing and device for storing product
JP4421230B2 (en) Performance information analysis method
CN103746829B (en) A kind of failure sensory perceptual system and its method based on cluster
CN109542342B (en) Metadata management and data reconstruction method, equipment and storage medium
CN109684140A (en) A kind of slow disk detection method, device, equipment and computer readable storage medium
CN106526376A (en) Simulation test system and simulation test method
CN102833281B (en) It is a kind of distributed from the implementation method counted up, apparatus and system
CN105302697B (en) A kind of running state monitoring method and system of density data model database
CN102075368A (en) Method, device and system for diagnosing service failure
CN104410671B (en) A kind of snapshot grasping means and data supervising device
CN107577545A (en) A kind of failed disk detection and restorative procedure and device
US9503341B2 (en) Dynamic discovery of applications, external dependencies, and relationships
CN106484313B (en) Data information backup method, data back up method and device
CN108073486A (en) The Forecasting Methodology and device of a kind of hard disk failure
CN109558299A (en) Business monitoring and the method, apparatus of early warning, equipment and storage medium
CN104216664B (en) Network volume creation method, date storage method, storage device and storage system
CN111949427A (en) Database-based fault monitoring method, device and equipment
CN108667740A (en) The method, apparatus and system of flow control
CN108959003A (en) A kind of realization multi-memory method for testing pressure, system, equipment and computer readable storage medium
CN112068979B (en) Service fault determination method and device
CN106021046A (en) Hard disk performance comparison method, device and server
CN109298979A (en) Hard disc failure processing method and device
CN109656771A (en) A kind of method, system and the server of JBOD storage equipment test
CN110825542B (en) Method, device and system for detecting fault disc in distributed system
CN109582513A (en) A kind of JBOD test method and system based on generic server

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171017

RJ01 Rejection of invention patent application after publication