CN107480020A - A kind of method to the virtual volume test of storage system - Google Patents
A kind of method to the virtual volume test of storage system Download PDFInfo
- Publication number
- CN107480020A CN107480020A CN201710681171.9A CN201710681171A CN107480020A CN 107480020 A CN107480020 A CN 107480020A CN 201710681171 A CN201710681171 A CN 201710681171A CN 107480020 A CN107480020 A CN 107480020A
- Authority
- CN
- China
- Prior art keywords
- virtual volume
- storage system
- test
- dskx
- lrun
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2289—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
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)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The present invention relates to memory test field, and in particular to a kind of method to the virtual volume test of storage system.By of the present invention to storage system virtual volume method of testing, whole virtual volume may not necessarily all be tested, but IO read-writes are carried out to virtual volume by sampling by a certain percentage, in the case where ensureing that test is completely covered, the time of virtual volume test is greatlyd save, effectively increases testing efficiency.
Description
Technical field
The present invention relates to memory test field, and in particular to a kind of method to the virtual volume test of storage system.Pass through
It is of the present invention to storage system virtual volume method of testing, it may not be necessary to whole virtual volume all test, but by by
Certain proportion sampling carries out IO read-writes to virtual volume, in the case where ensureing that test is completely covered, greatlys save virtual volume survey
The time of examination, effectively increase testing efficiency.
Background technology
As the extensive use and popularization of internet, people are increasing to the demand of server, to server performance
Requirement also more and more higher.It is also more and more to the demand of server storage system in the case where application system is constantly expanded,
Therefore the detection to server storage system is also essential.
Server storage system has maximum Volume Space to limit, and the test to server storage system needs maximum to memory
Capacity volume carries out IO tests, to ensure the availability of maximum capacity volume.Current most common detection mode is to use testing tool
From first LBA (logical block addresses, a kind of general mechanism for describing block where data in storage device) with incremental suitable
A last LBA arrive in sequence read-write, but under normal circumstances, the capacity of the maximum volume of server storage system be all tens T in addition on
Hundred T, can so take a long time could cover whole volume, therefore the testing efficiency of storage system is low.
For such case, a kind of method to the virtual volume test of storage system of the present application, by by a certain percentage
Sampling carries out IO read-writes to virtual volume, in the case where ensureing that test is completely covered, greatlys save the time of virtual volume test,
Effectively increase testing efficiency.
The content of the invention
A kind of method of testing that subregion is extracted to virtual volume and carries out IO read-writes of the present application, passes through lrun_DskX
DskX instruments are called, sampling proportion, sample distribution, sampfe order are set, IO is carried out in sampling region so as to realize, are ensureing to survey
Testing efficiency is effectively improved on the premise of examination quality.
Specifically, a kind of method to the virtual volume test of storage system is claimed in the application, it is characterised in that this method
Specifically comprise the following steps:
(1) the configuration testing environment on server host;
(2) configuration exempts from password login to storage system on server host;
(3) run lrun_DskX and relevant parameter is set so as to realize the sample testing to virtual volume.
As described above to the method for the virtual volume test of storage system, it is further characterized in that, runs lrun_DskX and set
Relevant parameter includes specifying the virtual file label for carrying out IO readwrite tests.
As described above to the method for the virtual volume test of storage system, it is further characterized in that, runs lrun_DskX and set
Relevant parameter includes nomination sample ratio.
As described above to the method for the virtual volume test of storage system, it is further characterized in that, runs lrun_DskX and set
Relevant parameter includes the hop count for specifying the distribution of sample.
As described above to the method for the virtual volume test of storage system, it is further characterized in that, runs lrun_DskX and set
Relevant parameter includes specifying sample read-write order.
Embodiment
The overall step of the present invention tested virtual volume is as follows:
(1) the configuration testing environment on server host;
(2) configuration exempts from password login to storage system on server host;
(3) run lrun_DskX and relevant parameter is set so as to realize the sample testing to virtual volume.
Below by taking Linux server as an example, by one embodiment to the method for the present invention to virtual volume test
It is described in detail:
1st, test environment is installed and configured:
(1) svctools environment is copied on Linux main frames and adds execution authority
(2) .profile files are established under/root catalogues, preserves and exits after input herein below
(3)/etc/hosts files add herein below
(IP1/IP2 corresponds to the service IP of storage control in .profile files respectively)
IP1 node1 node1
IP2 node2 node2
(4) .profile files are run to confirm to load successfully
#./root/.profile
2, password login is exempted from configuration:
(1) ssh-keygen-t rsa are run on server, be able to can be generated under/root/.ssh catalogues id_rsa and
Id_rsa.pub files.
Copy id_rsa.pub files to storage system /upgrade catalogues.
#ssh-keygen-t rsa
#scp id_rsa.pub superuser@<The management IP of storage system>:/upgrade
(2) configured in storage system:
>chuser-keyfile/upgrade/id_rsa.pub superuser
3rd, lrun_DskX is run at Linux server end.
Illustration for parameter:
The volume that one capacity of mapping is 1T is identified as dm-2 to main frame on main frame;
Lrun_DskX -- hdisks=dm-2 -- vmap_percent=1 -- num_vmap_segments=16
-- vmap_order=" 0 15 14 13 12 11 10 987654321 "
Parameter setting implication is as follows:
--hdisks:Receive IO virtual volume, virtual volume is dm-2 in this example.
--vmap_percent:Sampling proportion, only the 1% of whole volume in this example, i.e. 10G spaces can receive IO, its
His 990G is not carried out IO.
--num_vmap_segments:The distribution of sample, whole volume is equally divided into 16 sections in this example, from each section
The capacity for extracting 1% forms whole sample.The size of each small sample is 625M (10G/16) in this example, each two sample
Between be spaced 61.875G (990G/16), so as to realize the whole volume of sample covering.
--vmap_order:Sequentially, IO order is in this example for sample read-write:First most start sample, be last afterwards
Sample, IO read-writes are then carried out to sample with the order of descending.
Pass through parameter setting above, you can realize and extract subregion and cover whole volume section, ensure test quality
While improve testing efficiency.
It should be evident that illustrated above is only the specific embodiment of the present invention, for the common skill in this area
For art personnel, on the premise of not paying creative work, other technical schemes can also be obtained according to the embodiment,
Belong to the scope of protection of the invention.
After technical solutions according to the invention can also be adjusted, it is applied in different server or computer,
Method simple possible and obvious technical effects, it can be applied in practice extensively.
Claims (5)
- A kind of 1. method to the virtual volume test of storage system, it is characterised in that this method specifically comprises the following steps:(1) the configuration testing environment on server host;(2) configuration exempts from password login to storage system on server host;(3) run lrun_DskX and relevant parameter is set so as to realize the sample testing to virtual volume.
- 2. being further characterized in that as claimed in claim 1 to the method for the virtual volume test of storage system, lrun_DskX is run And relevant parameter is set to include specifying the virtual file label for carrying out IO readwrite tests.
- 3. being further characterized in that as claimed in claim 2 to the method for the virtual volume test of storage system, lrun_DskX is run And relevant parameter is set to include nomination sample ratio.
- 4. being further characterized in that as claimed in claim 3 to the method for the virtual volume test of storage system, lrun_DskX is run And relevant parameter is set to include the hop count for specifying the distribution of sample.
- 5. being further characterized in that as claimed in claim 4 to the method for the virtual volume test of storage system, lrun_DskX is run And relevant parameter is set to include specifying sample read-write order.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710681171.9A CN107480020A (en) | 2017-08-10 | 2017-08-10 | A kind of method to the virtual volume test of storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710681171.9A CN107480020A (en) | 2017-08-10 | 2017-08-10 | A kind of method to the virtual volume test of storage system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107480020A true CN107480020A (en) | 2017-12-15 |
Family
ID=60599204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710681171.9A Pending CN107480020A (en) | 2017-08-10 | 2017-08-10 | A kind of method to the virtual volume test of storage system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107480020A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558264A (en) * | 2018-12-12 | 2019-04-02 | 浪潮(北京)电子信息产业有限公司 | A kind of volume information method of calibration, system and the associated component of virtual volume |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102097133A (en) * | 2010-12-31 | 2011-06-15 | 中国人民解放军装备指挥技术学院 | System and method for testing reliability of mass storage system |
CN103646669A (en) * | 2013-11-29 | 2014-03-19 | 北京奇虎科技有限公司 | Method and device for detecting reliability of removable storage device |
CN104575621A (en) * | 2013-10-21 | 2015-04-29 | 鸿富锦精密工业(深圳)有限公司 | Memory device testing method and system |
CN106598794A (en) * | 2016-12-15 | 2017-04-26 | 郑州云海信息技术有限公司 | Testing system and method for storage system hard disk |
-
2017
- 2017-08-10 CN CN201710681171.9A patent/CN107480020A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102097133A (en) * | 2010-12-31 | 2011-06-15 | 中国人民解放军装备指挥技术学院 | System and method for testing reliability of mass storage system |
CN104575621A (en) * | 2013-10-21 | 2015-04-29 | 鸿富锦精密工业(深圳)有限公司 | Memory device testing method and system |
CN103646669A (en) * | 2013-11-29 | 2014-03-19 | 北京奇虎科技有限公司 | Method and device for detecting reliability of removable storage device |
CN106598794A (en) * | 2016-12-15 | 2017-04-26 | 郑州云海信息技术有限公司 | Testing system and method for storage system hard disk |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558264A (en) * | 2018-12-12 | 2019-04-02 | 浪潮(北京)电子信息产业有限公司 | A kind of volume information method of calibration, system and the associated component of virtual volume |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA2937863C (en) | Method and system for comparing different versions of a cloud based application in a production environment using segregated backend systems | |
US9665420B2 (en) | Causal engine and correlation engine based log analyzer | |
US8701192B1 (en) | Behavior based signatures | |
US9465685B2 (en) | Identifying solutions to application execution problems in distributed computing environments | |
CN104954189A (en) | Automatic server cluster detecting method and system | |
CN110247933B (en) | Method and device for realizing firewall policy | |
US20150278523A1 (en) | Method and system for testing cloud based applications and services in a production environment using segregated backend systems | |
CN113168473A (en) | Network utilization-based network security vulnerability classification and repair | |
CN109672722B (en) | Data deployment method and device, computer storage medium and electronic equipment | |
CN102413010B (en) | Testing environment deployment method and device | |
Benson et al. | Gaining insight into as-level outages through analysis of internet background radiation | |
CN103218276A (en) | Method and system for multi-node incremental backup | |
US7924829B2 (en) | Technique for enabling network statistics on software partitions | |
US8140671B2 (en) | Apparatus and method for sampling security events based on contents of the security events | |
US9854042B2 (en) | Automated assessment report generation | |
CN107480020A (en) | A kind of method to the virtual volume test of storage system | |
US20160328200A1 (en) | Testing screens of a multi-screen device | |
US10210127B2 (en) | Storage system cabling analysis | |
US10445746B2 (en) | Method for checking compliance of payment application in virtualized environment | |
CN110020665A (en) | A kind of microbial biomass modal data analysis method being compatible with different flight mass spectrometers | |
CN111654405A (en) | Method, device, equipment and storage medium for fault node of communication link | |
US10452464B1 (en) | Automatic human configuration error detection for reoccurring events | |
CN107317723A (en) | Data processing method and server | |
US11429871B2 (en) | Detection of data offloading through instrumentation analysis | |
US11895177B2 (en) | State extractor for middlebox management system |
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: 20171215 |
|
RJ01 | Rejection of invention patent application after publication |