摘要:
A method for a source storage device to send a source file and a clone file of the source file to a backup storage device. The source storage device sends a data block to the backup storage device to be stored as a target file. Then, the source storage device determines that the source file is associated with the clone file by searching a cloning recorder with a source file ID of the source file. Based upon the determining, the source storage device sends a clone creating request including the source file ID to the backup storage device to instruct the backup storage device to create a clone file of the target file. Thus, the method is capable of replicating the clone file of the file without sending a large number of mapping data.
摘要:
A storage system, a memory management method, and a management node are provided. The storage system includes a management node, one or more first storage devices, and one or more second storage devices. The management node is configured to create a memory pool to provide a service for storing data. Performance of the first storage device is higher than that of the second storage device, at least one of the one or more first storage devices is located in a first storage node, and at least one of the one or more second storage devices is located in a second storage node. The management node is further configured to control the data to be migrated between the first storage device and the second storage device in the memory pool. The memory pool is created based on storage devices with different performance, and these storage devices with the different performance are located in different storage nodes, thereby implementing a cross-node memory pool that integrates storage devices with different performance.
摘要:
Embodiments of this application disclose a Hamming weight calculation method based on an operation apparatus. The operation apparatus in this application includes a controller and a first operation unit, the controller is in signal connection with the first operation unit, the first operation unit includes a first memory and a first transistor, a drain of the first transistor is connected to a negative electrode of the first memory, and a source of the first transistor is grounded. The Hamming weight calculation method is performed by the controller. Specifically, the controller sets an initial resistance state of the first memory to a low resistance state; determines a first gate voltage of the first transistor based on first bit data in an input first binary sequence, and control an on-off state of the first transistor based on the first gate voltage; controls a target resistance state of the first memory based on the on-off state of the first transistor; and determines a Hamming weight of the first bit data based on a first output current on the source of the first transistor.
摘要:
In an active-active system, if write lock permission is granted to a second storage array, a first storage array sends to-be-written data and a lock revocation request together to a lock server; the lock server sends the lock revocation request carrying the to-be-written data to a second lock server; after storing the to-be-written data, the second lock server sends a lock revocation success message to the lock server; the lock server gives the write lock permission to the first storage array; and the first storage array obtains the write lock permission and stores the to-be-written data. By using the method, to-be-written data is stored in two storage arrays with relatively few procedures.
摘要:
The present invention discloses an SMB service fault processing method, including: generating, by a first storage device, a file handle according to a first file open instruction sent by a host, and sending the file handle to a second storage device; saving, by the second storage device, the file handle as a backup handle; activating, by the second storage device, an IP address of the first storage device according to fault information sent by the first storage device, and establishing a communication connection to the host; and determining, by the second storage device according to a handle identifier in a second file open instruction sent by the host, a file handle corresponding to the handle identifier, opening a file according to the file handle, and sending an operation result to the host. The present invention further provides a host and a storage array that can implement the foregoing method. In the present invention, when a storage device that processes an SMB service is faulty, the SMB service may be taken over by a secondary storage device, so that the SMB service is executed without interruption.
摘要:
Embodiments of the present invention provide an array controller, including a communications interface and a processor. The communications interface is configured to communicate with a solid state disk. The processor is configured to receive information about a logical block sent by the solid state disk, where the information about the logical block includes a size of the logical block and indication information of the logical block, and the logical block includes one or more blocks. The processor is further configured to send multiple write data requests to the solid state disk, where each write data request carries target data, each write data request is used to instruct the solid state disk to write the target data into the logical block indicated by the indication information of the logical block, and a sum of lengths of the target data carried in the multiple write data requests is equal to the size of the logical block. The logical block may be filled after the solid state disk writes each piece of target data to the logical block, which can reduce write amplification when the solid state disk performs a garbage collection operation.
摘要:
In an active-active system, if write lock permission is granted to a second storage array, a first storage array sends to-be-written data and a lock revocation request together to a lock server; the lock server sends the lock revocation request carrying the to-be-written data to a second lock server; after storing the to-be-written data, the second lock server sends a lock revocation success message to the lock server; the lock server gives the write lock permission to the first storage array; and the first storage array obtains the write lock permission and stores the to-be-written data. By using the method, to-be-written data is stored in two storage arrays with relatively few procedures.