CN109165132A - The method, apparatus and system that a kind of pair of storage equipment is tested - Google Patents

The method, apparatus and system that a kind of pair of storage equipment is tested Download PDF

Info

Publication number
CN109165132A
CN109165132A CN201810990160.3A CN201810990160A CN109165132A CN 109165132 A CN109165132 A CN 109165132A CN 201810990160 A CN201810990160 A CN 201810990160A CN 109165132 A CN109165132 A CN 109165132A
Authority
CN
China
Prior art keywords
file
storage
storage equipment
equipment
space volume
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
CN201810990160.3A
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 CN201810990160.3A priority Critical patent/CN109165132A/en
Publication of CN109165132A publication Critical patent/CN109165132A/en
Pending legal-status Critical Current

Links

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/26Functional testing

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)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present application discloses a kind of method and device tested storage equipment, it is tested for the data de-duplication function to storage equipment, this method comprises: being stored in the first file to storage equipment, obtain storage equipment first has used storage space volume;Triggering storage opening of device data de-duplication function is stored in the second file to storage equipment, and the second file is identical as the content of the first file;Obtain storage equipment second has used storage space volume;If first has used storage space volume to use storage space volume identical with second, it is determined that the data de-duplication function of storing equipment is effective.

Description

The method, apparatus and system that a kind of pair of storage equipment is tested
Technical field
This application involves field of computer technology, and in particular to it is a kind of to the method, apparatus tested of storage equipment and System.
Background technique
As the continuous upgrading of storage equipment updates, data de-duplication can generally be had the function of by storing in equipment, to Promote the utilization rate of memory space.Using data de-duplication function, then the identical data block of content is not necessarily in storage equipment It repeats to store, the identical database of multiple contents only takes up the memory space of a data block, reaches memory space several times saving Effect.But data de-duplication function can not intuitively be shown, whether storage equipment has carried out data de-duplication, Whether the effect of data de-duplication is consistent with nominal theoretical value, is tested in the prior art there is no method this.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of method, apparatus and system tested storage equipment, with reality Now the data de-duplication function of storage equipment is tested.
To solve the above problems, technical solution provided by the embodiments of the present application is as follows:
The method that a kind of pair of storage equipment is tested, which comprises
It is stored in the first file to storage equipment, obtain the storage equipment first has used storage space volume;
The storage opening of device data de-duplication function is triggered, is stored in the second file to the storage equipment, it is described Second file is identical as the content of first file;
Obtain the storage equipment second has used storage space volume;
If described first has used storage space volume to use storage space volume identical with described second, it is determined that described The data de-duplication function of storing equipment is effective.
In one possible implementation, the method also includes:
After being stored in the first file to storage equipment, the MD5 value of first file is obtained;
After being stored in the second file to storage equipment, the MD5 value of second file is obtained;
If described second has used storage space volume to use storage space volume identical and described first with described first The MD5 value of file is identical as the MD5 value of second file, it is determined that the data de-duplication function of the storage equipment has Effect.
In one possible implementation, the method also includes:
Before being stored in the first file to storage equipment, the memory space of the storage equipment is divided.
In one possible implementation, the method also includes:
Obtain the storage compression ratio of first file.
The device that a kind of pair of storage equipment is tested, described device include:
First deposit unit obtains the first of the storage equipment with depositing for being stored in the first file to storage equipment Store up spatial content;
Second deposit unit, for triggering the storage opening of device data de-duplication function, to the storage equipment It is stored in the second file, second file is identical as the content of first file;
First acquisition unit, second for obtaining the storage equipment has used storage space volume;
First determination unit, if held with memory space with storage space volume with described second for described first It measures identical, it is determined that the data de-duplication function of the storage equipment is effective.
In one possible implementation, described device further include:
Second acquisition unit, for obtaining the MD5 value of first file after being stored in the first file to storage equipment;
Third acquiring unit, for obtaining the MD5 value of second file after being stored in the second file to storage equipment;
Second determination unit, if held with memory space with storage space volume with described first for described second The MD5 value for measuring identical and described first file is identical as the MD5 value of second file, it is determined that the repetition of the storage equipment It is effective that data delete function.
In one possible implementation, described device further include:
Division unit, for before being stored in the first file to storage equipment, dividing the memory space of the storage equipment.
In one possible implementation, described device further include:
4th acquiring unit, for obtaining the storage compression ratio of first file.
The system that a kind of pair of storage equipment is tested, the system comprises:
Testing service device and storage equipment;
The testing service device is a kind of above-mentioned device tested storage equipment.
In one possible implementation, the storage equipment is disk array.
It can be seen that the embodiment of the present application has the following beneficial effects:
After the embodiment of the present application is stored in the first file to storage equipment, records the first of current storage devices and used storage empty Between capacity, open storage equipment data de-duplication function, then to storage equipment be stored in the second file, the second file and first The content of file is identical, and record current storage devices second has used storage space volume, if first used memory space with Second has used memory space identical, then represents after being stored in the second file, stores the no again with storage space volume of equipment Increase, it was demonstrated that the data de-duplication function of storing equipment is effective, to realize the data de-duplication function to storage equipment It can be carried out test.
Detailed description of the invention
Fig. 1 is the block schematic illustration of exemplary application scene provided by the embodiments of the present application;
Fig. 2 is a kind of method flow diagram tested storage equipment provided by the embodiments of the present application;
Fig. 3 is another method flow diagram tested storage equipment provided by the embodiments of the present application;
Fig. 4 is a kind of schematic device tested storage equipment provided by the embodiments of the present application;
Fig. 5 is a kind of system schematic tested storage equipment provided by the embodiments of the present application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real Mode is applied to be described in further detail the embodiment of the present application.
In the prior art, generally storage equipment can have the function of data de-duplication, using data de-duplication function, Then the identical data block of content stores in storage equipment without repeating, and the identical database of multiple contents only takes up a data The memory space of block achievees the effect that memory space several times saving.But data de-duplication function can not intuitively be shown Come, whether storage equipment has carried out data de-duplication, and whether the effect of data de-duplication is consistent with nominal theoretical value, This is tested there is no method in the prior art.
Based on this, the embodiment of the present application provides a kind of method, apparatus and system tested storage equipment, passes through Identical file, the comparison deposit occupied storage space volume of file, to realize to storage equipment are stored in storage equipment Data de-duplication function is tested.Furthermore it is also possible to compare the MD5 (MD5Message-Digest of deposit file Algorithm, MD5 Message Digest 5) come prove deposit same file after, storing data pointed by same file is consistent 's.
Before illustrating the method, apparatus and system provided by the embodiments of the present application tested storage equipment, first The application scenarios of the embodiment of the present application are illustrated.
Referring to Fig. 1, which is the block schematic illustration of exemplary application scene provided by the embodiments of the present application.Wherein, this Shen It please provide the method tested of storage equipment 20 can be applied in testing service device 10 of embodiment.
Testing service device 10 can be stored in the first file to storage equipment 20, and obtain the first of storage equipment 20 with depositing Store up spatial content;The triggering storage equipment 20 of testing service device 10 opens data de-duplication function, to storage equipment 20 deposit the Two files, the second file are identical as the content of the first file;The second of the acquisition storage equipment 20 of testing service device 10 has used storage Spatial content;If first has used storage space volume to use storage space volume identical with second, it is determined that storage equipment 20 Data de-duplication function it is effective.
It will be understood by those skilled in the art that block schematic illustration shown in FIG. 1 is only that presently filed embodiment can be An example being wherein achieved.The scope of application of embodiment of the present invention is not limited by any aspect of the frame.
It should be noted that the testing service device 10 in the embodiment of the present application can be existing, researching and developing or incite somebody to action Come an example research and develop, that the equipment tested storage equipment can be provided a user.Presently filed embodiment exists It is unrestricted in this respect.Storage equipment 20 can be it is existing, researching and developing or in the future research and development, for storing information Equipment, can also by it is any type of wiredly and/or wirelessly connection (for example, Wi-Fi, LAN, honeycomb, coaxial cable Deng) realize and interact with testing service device 10, including but not limited to: hard disks that are existing, researching and developing or researching and developing in the future store Array etc..
The technical solution of the embodiment of the present application for ease of understanding, below in conjunction with attached drawing to provided by the embodiments of the present application aobvious Show that the method tested storage equipment is described in detail.
Referring to fig. 2, which is a kind of method flow diagram tested storage equipment provided by the embodiments of the present application, such as Shown in Fig. 2, this method may include:
Step 201: being stored in the first file to storage equipment, obtain storage equipment first has used storage space volume.
Before testing begins, the data de-duplication function of triggering storage equipment first is needed to close, to prevent to depositing When storing up equipment the first file of deposit, the first file is identical as the content of alternative document, so that the first file is repeated data and deletes function It can delete.Therefore, the embodiment of the present application needs to set in the case where the data de-duplication function of storing equipment is closed to storage Then the first file of standby deposit obtains the first of current storage devices and has used storage space volume.It is understood that first Storage space volume needed for being greater than or equal to the first file with storage space volume, if storage equipment is being stored in the first file With storage space volume be before zero, then first be equal to the first file with storage space volume needed for memory space hold Amount;If storing equipment is greater than zero with storage space volume before being stored in the first file, first is held with memory space Storage space volume needed for amount is greater than the first file.
In some possible implementations of the embodiment of the present application, before being stored in the first file to storage equipment, may be used also To divide the memory space of storage equipment.
Namely one section of memory space is divided in storage equipment dedicated for carrying out the test of data de-duplication function.Example Such as storing equipment is disk array, and the total capacity of the disk array is 20T, and the memory space that can mark off 1T is tested.
If dividing the memory space of storage equipment in advance, store equipment first can be referred to storage space volume First in the memory space that storage equipment is divided has used storage space volume.
In addition, the storage compression of the first file can also be obtained in some possible implementations of the embodiment of the present application Rate, to realize the test of the data compression function to storage equipment.For example, the actual size of the first file is A, the first file exists Storing occupied storage space volume in equipment is B, then the storage compression ratio of the first file can be B/A.In practical application In, some storage equipment can compress the data being stored in, then obtain storage compression ratio to save storage space volume The data compression function of storage equipment can be tested.
Step 202: triggering storage opening of device data de-duplication function, to storage equipment be stored in the second file, second File is identical as the content of the first file.
Data de-duplication function is tested in order to realize, then after being stored in the first file, storage can be triggered and set It is standby to open data de-duplication function, then the second file is stored in storage equipment.
Second file is identical as the substantive content of the first file, the path of the first file and the second file deposit storage equipment Can be different, the filename of the first file and the second file can be the same or different.For example, the file into storage equipment Folder A is stored in the first file, and the file B into storage equipment is stored in the second file, and file A and file B, which needs to be in, to be deposited In the same memory space for storing up equipment.
Step 203: obtain storage equipment second has used storage space volume.
After being stored in the second file, obtain storage equipment at this time second has used storage space volume, is based on above description, If dividing the memory space of storage equipment in advance, stores the second of equipment and can be referred to storage space volume and set in storage Second in the standby memory space divided has used storage space volume.
Step 204: if first has used storage space volume to use storage space volume identical with second, it is determined that storage The data de-duplication function of equipment is effective.
If second has used storage space volume to use storage space volume identical with first, the second file of deposit is proved Afterwards, occupied storage space volume does not increase, illustrates that the data de-duplication function of storing equipment is effective, whereas if the Two, which are greater than first with storage space volume, has used storage space volume, then after proving the second file of deposit, occupied storage Spatial content increased, and not delete the content of the second file completely, and data de-duplication function is invalid.
When data de-duplication function is effective, new storage space volume is no longer occupied when being stored in the second file, if with Family needs to access the second file, then the occupied memory space of the first file, realization pair can be inquired when accessing the second file The access of file identical with the second file content.
In this way, record current storage devices first has been used after the embodiment of the present application is stored in the first file to storage equipment Storage space volume opens the data de-duplication function of storage equipment, then is stored in the second file, the second file to storage equipment Identical as the content of the first file, record current storage devices second has used storage space volume, if first has used storage Space has used memory space identical with second, then represents after being stored in the second file, store equipment has used storage space volume It is not further added by, it was demonstrated that the data de-duplication function of storing equipment is effective, to realize the repeated data to storage equipment Function is deleted to be tested.
Referring to Fig. 3, which is another method flow diagram tested storage equipment provided by the embodiments of the present application, As shown in figure 3, this method may include:
Step 301: it is stored in the first file to storage equipment, obtain storage equipment first has used storage space volume, and Obtain the MD5 value of the first file.
Step 302: triggering storage opening of device data de-duplication function, to storage equipment be stored in the second file, second File is identical as the content of the first file.
Step 303: obtaining the second of storage equipment and used storage space volume, and obtain the MD5 value of the second file.
In the application implementation, the MD5 value of the first file and the second file can also be obtained, the first file and second are passed through The MD5 value of file, can prove in the first file and the second file while when being stored in, and only retain a content stored, and First file and the second file can correspond to the content of the storage, then pass through the MD5 value of the first file and the second file, with Prove the consistency of data.
In the present embodiment, it is stored in the first file to storage equipment, obtain storage equipment first is held with memory space Amount, triggering storage opening of device data de-duplication function are stored in the second file to storage equipment, obtain the second of storage equipment Use storage space volume same as the previously described embodiments, related description may refer to above-described embodiment, and details are not described herein.
Step 304: if second has used storage space volume to use storage space volume identical and the first file with first MD5 value it is identical as the MD5 value of the second file, it is determined that the data de-duplication function of storing equipment is effective.
If second used storage space volume with first used storage space volume identical and the MD5 value of the first file with The MD5 value of second file is identical, then illustrates the second file vacant new storage space volume in storage, and the second file with First file can be directed toward identical storage content, illustrate that the data de-duplication function of storing equipment is effective, anyway, if the Two are greater than first with the MD5 of storage space volume or the MD5 value of the first file and the second file with storage space volume Value is not identical, then can determine that the data de-duplication function of storage equipment is invalid.
After the embodiment of the present application is stored in the first file to storage equipment, records the first of current storage devices and used storage empty Between the MD5 value of capacity and the first file it is identical, open storage equipment data de-duplication function, then to storage equipment deposit Second file, the second file is identical as the content of the first file, and record current storage devices second has used storage space volume And second file MD5 value it is identical, if first has used memory space to use memory space identical and the first file with second MD5 value it is identical as the MD5 value of the second file, then represent after being stored in the second file, store being held with memory space for equipment Amount be not further added by and same file pointed by storing data be consistent, it was demonstrated that store the data de-duplication function of equipment Effectively, the data de-duplication function of storage equipment is tested to realize.
Below in conjunction with practical application scene to it is provided by the embodiments of the present application to the method tested of storage equipment into Row explanation.
In practical applications, storage equipment can be disk array, and disk array can be the magnetic with two controllers Disk array, disk array can be connected by interchanger with testing service device.Testing service device is installed and to be configured with multipath soft Part records multi-path software title and version;Disk array creates 1 and simplifies RAID (Redundant Arrays of certainly Independent Drives, disk array), it is named as RAID1;It is marked off from RAID1 and carrys out a LUN (Logical Unit Number, logical unit number), it is named as LUN1, and be mapped to testing service device, that is, divides the storage of storage equipment Space;Testing service device carry LUN1, checks LUN total capacity, the setting of the LUN total capacity and LUN1 that view from server end Amount of capacity is equal;It is stored in the first file to LUN1 by testing service device, checks that LUN belongs to from testing service device after deposit Property, it records LUN total capacity and first use storage space volume, the MD5 value of the first file of acquisition;Meanwhile it can be in disk battle array The array pattern administration interface of column checks RAID1 information, and record RAID1 actually uses capacity, the actual use capacity of RAID1 It is equal with the file total capacity copied into;It can be triggered by testing service device and open repeat number in array pattern administration interface According to function is deleted, check that data de-duplication function has turned on;Obtain the storage compression ratio of RAID1;By testing service device to LUN1 deposit the and file, check LUN attribute from testing service device after deposit, record LUN total capacity and second with depositing Spatial content is stored up, the MD5 value of the second file is obtained, if first has used storage space volume with storage space volume and second It is identical, and in LUN1 two files the identical then data de-duplication function of MD5 value it is effective.To which the embodiment of the present application is not limited to Test environment used in storing model, being not limited to can test storage setting.
Referring to fig. 4, which is a kind of schematic device tested storage equipment provided by the embodiments of the present application, such as Shown in Fig. 4, the apparatus may include:
First deposit unit 401, for being stored in the first file to storage equipment, obtain the storage equipment first has been used Storage space volume;
Second deposit unit 402 is set for triggering the storage opening of device data de-duplication function to the storage The second file of standby deposit, second file are identical as the content of first file;
First acquisition unit 403, second for obtaining the storage equipment has used storage space volume;
First determination unit 404, if having used storage space volume to use storage empty with described second for described first Between capacity it is identical, it is determined that it is described storage equipment data de-duplication function it is effective.
In one possible implementation, described device further include:
Second acquisition unit, for obtaining the MD5 value of first file after being stored in the first file to storage equipment;
Third acquiring unit, for obtaining the MD5 value of second file after being stored in the second file to storage equipment;
Second determination unit, if held with memory space with storage space volume with described first for described second The MD5 value for measuring identical and described first file is identical as the MD5 value of second file, it is determined that the repetition of the storage equipment It is effective that data delete function.
In one possible implementation, described device further include:
Division unit, for before being stored in the first file to storage equipment, dividing the memory space of the storage equipment.
In one possible implementation, described device further include:
4th acquiring unit, for obtaining the storage compression ratio of first file.
In this way, record current storage devices first has been used after the embodiment of the present application is stored in the first file to storage equipment Storage space volume opens the data de-duplication function of storage equipment, then is stored in the second file, the second file to storage equipment Identical as the content of the first file, record current storage devices second has used storage space volume, if first has used storage Space has used memory space identical with second, then represents after being stored in the second file, store equipment has used storage space volume It is not further added by, it was demonstrated that the data de-duplication function of storing equipment is effective, to realize the repeated data to storage equipment Function is deleted to be tested.Furthermore it is also possible to compare deposit file MD5 come prove deposit same file after, same file institute The storing data of direction is consistent.
Referring to Fig. 5, which is a kind of system schematic tested storage equipment provided by the embodiments of the present application, such as Shown in Fig. 5, which may include:
Testing service device 501 and storage equipment 502;
Testing service device can be a kind of above-mentioned device tested storage equipment.
It then can be used for being stored in the first file to storage equipment 502 in testing service device 501, obtain storage equipment 502 First has used storage space volume;Triggering storage equipment 502 opens data de-duplication function, to storage equipment 502 deposit the Two files, the second file are identical as the content of the first file;Obtain storage equipment 502 second has used storage space volume;Such as Fruit first has used storage space volume to use storage space volume identical with second, it is determined that the repeated data of storage equipment 502 It is effective to delete function.
In one possible implementation, testing service device 501 can be also used for being stored in first to storage equipment 502 After file, the MD5 value of the first file is obtained;After being stored in the second file to storage equipment 502, the MD5 value of the second file is obtained; If second has used storage space volume to use storage space volume identical and the MD5 value of the first file and the second file with first MD5 value it is identical, it is determined that storage equipment 502 data de-duplication function it is effective.
In one possible implementation, testing service device 501 can be also used for being stored in first to storage equipment 502 Before file, the memory space of storage equipment 502 is divided.
In one possible implementation, testing service device 501 can also obtain the storage compression ratio of the first file.
In one possible implementation, storage equipment 502 is disk array.
In this way, record current storage devices first has been used after the embodiment of the present application is stored in the first file to storage equipment Storage space volume opens the data de-duplication function of storage equipment, then is stored in the second file, the second file to storage equipment Identical as the content of the first file, record current storage devices second has used storage space volume, if first has used storage Space has used memory space identical with second, then represents after being stored in the second file, store equipment has used storage space volume It is not further added by, it was demonstrated that the data de-duplication function of storing equipment is effective, to realize the repeated data to storage equipment Function is deleted to be tested.Furthermore it is also possible to compare deposit file MD5 come prove deposit same file after, same file institute The storing data of direction is consistent.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment emphasis is said Bright is the difference from other embodiments, and the same or similar parts in each embodiment may refer to each other.For reality For applying system or device disclosed in example, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, phase Place is closed referring to method part illustration.
It should be appreciated that in this application, " at least one (item) " refers to one or more, and " multiple " refer to two or two More than a."and/or" indicates may exist three kinds of relationships, for example, " A and/or B " for describing the incidence relation of affiliated partner It can indicate: only exist A, only exist B and exist simultaneously tri- kinds of situations of A and B, wherein A, B can be odd number or plural number.Word Symbol "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or"." at least one of following (a) " or its similar expression, refers to Any combination in these, any combination including individual event (a) or complex item (a).At least one of for example, in a, b or c (a) can indicate: a, b, c, " a and b ", " a and c ", " b and c ", or " a and b and c ", and wherein a, b, c can be individually, can also To be multiple.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of method tested storage equipment, which is characterized in that the described method includes:
It is stored in the first file to storage equipment, obtain the storage equipment first has used storage space volume;
Trigger the storage opening of device data de-duplication function, to the storage equipment be stored in the second file, described second File is identical as the content of first file;
Obtain the storage equipment second has used storage space volume;
If described first has used storage space volume to use storage space volume identical with described second, it is determined that the storage The data de-duplication function of equipment is effective.
2. the method according to claim 1, wherein the method also includes:
After being stored in the first file to storage equipment, the MD5 value of first file is obtained;
After being stored in the second file to storage equipment, the MD5 value of second file is obtained;
If described second has used storage space volume to use storage space volume identical and first file with described first MD5 value it is identical as the MD5 value of second file, it is determined that it is described storage equipment data de-duplication function it is effective.
3. the method according to claim 1, wherein the method also includes:
Before being stored in the first file to storage equipment, the memory space of the storage equipment is divided.
4. the method according to claim 1, wherein the method also includes:
Obtain the storage compression ratio of first file.
5. a kind of to the device tested of storage equipment, which is characterized in that described device includes:
First deposit unit, for being stored in the first file to storage equipment, obtain the storage equipment first has used storage empty Between capacity;
Second deposit unit is stored in for triggering the storage opening of device data de-duplication function to the storage equipment Second file, second file are identical as the content of first file;
First acquisition unit, second for obtaining the storage equipment has used storage space volume;
First determination unit, if having used storage space volume with described second with storage space volume phase for described first Together, it is determined that the data de-duplication function of the storage equipment is effective.
6. device according to claim 5, which is characterized in that described device further include:
Second acquisition unit, for obtaining the MD5 value of first file after being stored in the first file to storage equipment;
Third acquiring unit, for obtaining the MD5 value of second file after being stored in the second file to storage equipment;
Second determination unit, if having used storage space volume with described first with storage space volume phase for described second With and first file MD5 value it is identical as the MD5 value of second file, it is determined that it is described storage equipment repeated data It is effective to delete function.
7. device according to claim 5, which is characterized in that described device further include:
Division unit, for before being stored in the first file to storage equipment, dividing the memory space of the storage equipment.
8. device according to claim 5, which is characterized in that described device further include:
4th acquiring unit, for obtaining the storage compression ratio of first file.
9. a kind of system tested storage equipment, which is characterized in that the system comprises:
Testing service device and storage equipment;
The testing service device is a kind of described in any item devices tested storage equipment of claim 5-8.
10. system according to claim 9, which is characterized in that the storage equipment is disk array.
CN201810990160.3A 2018-08-28 2018-08-28 The method, apparatus and system that a kind of pair of storage equipment is tested Pending CN109165132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810990160.3A CN109165132A (en) 2018-08-28 2018-08-28 The method, apparatus and system that a kind of pair of storage equipment is tested

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810990160.3A CN109165132A (en) 2018-08-28 2018-08-28 The method, apparatus and system that a kind of pair of storage equipment is tested

Publications (1)

Publication Number Publication Date
CN109165132A true CN109165132A (en) 2019-01-08

Family

ID=64893155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810990160.3A Pending CN109165132A (en) 2018-08-28 2018-08-28 The method, apparatus and system that a kind of pair of storage equipment is tested

Country Status (1)

Country Link
CN (1) CN109165132A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782941A (en) * 2019-09-12 2020-02-11 深圳市德名利电子有限公司 Method, device and equipment for testing storage equipment and automatically distributing BIN

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170220593A1 (en) * 2016-01-28 2017-08-03 Dell Software, Inc. Read-only file system for testing de-duplication
CN107329702A (en) * 2017-06-30 2017-11-07 郑州云海信息技术有限公司 It is a kind of to simplify metadata management method and device certainly
CN107577549A (en) * 2017-08-24 2018-01-12 郑州云海信息技术有限公司 It is a kind of to store the method for testing for deleting function again

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170220593A1 (en) * 2016-01-28 2017-08-03 Dell Software, Inc. Read-only file system for testing de-duplication
CN107329702A (en) * 2017-06-30 2017-11-07 郑州云海信息技术有限公司 It is a kind of to simplify metadata management method and device certainly
CN107577549A (en) * 2017-08-24 2018-01-12 郑州云海信息技术有限公司 It is a kind of to store the method for testing for deleting function again

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
武汉-磨渣: ""REDHAT 7.5beta 新推出的VDO功能"", 《公开网址:HTTPS://WWW.CNBLOGS.COM/ZPHJ1987/P/13575434.HTML》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782941A (en) * 2019-09-12 2020-02-11 深圳市德名利电子有限公司 Method, device and equipment for testing storage equipment and automatically distributing BIN
CN110782941B (en) * 2019-09-12 2021-05-04 深圳市德明利技术股份有限公司 Method, device and equipment for testing storage equipment and automatically distributing BIN

Similar Documents

Publication Publication Date Title
US7284104B1 (en) Volume-based incremental backup and recovery of files
Shilane et al. Wan-optimized replication of backup datasets using stream-informed delta compression
US9703640B2 (en) Method and system of performing incremental SQL server database backups
US8793226B1 (en) System and method for estimating duplicate data
US7716445B2 (en) Method and system for storing a sparse file using fill counts
US8825653B1 (en) Characterizing and modeling virtual synthetic backup workloads
CN106021031B (en) A kind of the deletion data reconstruction method and device of BTRFS file system
CN104281533B (en) A kind of method and device of data storage
US20110016083A1 (en) Seeding replication
US9218138B1 (en) Restoring snapshots to consistency groups of mount points
US20170123711A1 (en) Deduplicating data for a data storage system using similarity determinations
CN104462389A (en) Method for implementing distributed file systems on basis of hierarchical storage
US8495010B2 (en) Method and system for adaptive metadata replication
US9047169B1 (en) Resizing snapshot mount points
CN102821111A (en) Real-time synchronizing method for file cloud storage
CN107451138A (en) A kind of distributed file system storage method and system
CN107885616A (en) A kind of mass small documents back-up restoring method based on file system parsing
CN107577549A (en) It is a kind of to store the method for testing for deleting function again
CN105589733B (en) A kind of data processing method and device
US7865673B2 (en) Multiple replication levels with pooled devices
CN104461388A (en) Storage array configuration preservation and arbitration method
CN102483688A (en) Extended data storage system
Djordjevic et al. Ext4 file system in linux environment: Features and performance analysis
CN109165132A (en) The method, apparatus and system that a kind of pair of storage equipment is tested
JP5089130B2 (en) Apparatus and method for file level replication between two or more asymmetric storage sites

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

Application publication date: 20190108