Method and device for testing super-capacity volume of storage system, and storage medium
A storage system and testing method technology, applied in the directions of faulty hardware testing method, error detection/correction, detection of faulty computer hardware, etc. problems, to achieve the effect of shortening test execution time, simple structure, and reliable design principle
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] Such as figure 1 As shown, the technical solution of the present invention provides a method for testing an ultra-large capacity volume of a storage system, comprising the following steps:
[0039] S1: Query the sector information of the large-capacity volume through the storage command, and sort the sector block addresses of the large-capacity volume in the memory to generate an address string;
[0040] S2: Map the large-capacity volume to the host, and trigger the write operation to the volume on the host side;
[0041] S3: Detect the offset between the write pointer and the read pointer, and when the offset between the write pointer and the read pointer is equal to the preset offset, the read pointer starts a read operation;
[0042] S4: Compare the content written in each sector block with the preset write source code. If the comparison is consistent, the read pointer points to the next block address and continue to read and compare. If they are inconsistent, stop ...
Embodiment 2
[0044] Such as figure 2 As shown, the technical solution of the present invention provides a method for testing an ultra-large capacity volume of a storage system, comprising the following steps:
[0045] S1: Query the sector information of the large-capacity volume through the storage command, sort the sector block addresses of the large-capacity volume in memory to generate an address string; for example, generate an address string of 0x000001-0xFFFFFF;
[0046] S2: Map the large-capacity volume to the host, and trigger the write operation to the volume on the host side;
[0047] It should be noted that before performing this step, one or more addresses need to be selected from the address string as 0x000001 as the initial address of the LBA and put into the memory; preset write source code; define write pointer and read pointer; define between write and read pointers The offset between; assuming a single process reads and writes, select an initial address, and initialize ...
Embodiment 3
[0057] The technical solution of the present invention provides an electronic device, which may include: a processor, a communication interface, a memory, and a bus, wherein the processor, the communication interface, and the memory complete the mutual communication through the bus. Communication. The bus can be used for information transfer between electronic devices and sensors. The processor can call the logical instructions in the memory to perform the following method: query the sector information of the large-capacity volume through the storage command, sort the sector block addresses of the large-capacity volume in the memory to generate an address string; map the large-capacity volume to The host triggers the write operation to the volume on the host side; detects the offset between the write pointer and the read pointer, and when the offset between the write pointer and the read pointer is equal to the preset offset, the read pointer starts the read operation; Every ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com