SNAPSHOT PROCESSING METHOD AND RELATED DEVICE

    公开(公告)号:EP3200079A4

    公开(公告)日:2017-11-15

    申请号:EP15875121

    申请日:2015-12-21

    发明人: CHEN LEI LI XIAOHUA

    IPC分类号: G06F11/14 G06F3/06

    摘要: A snapshot processing method and a related device are disclosed. The method includes: receiving a snapshot request command, where the snapshot request command includes an ID of the LUN (S101); determining the LUN according to the ID of the LUN, and setting a snapshot status of the LUN to a preparation state, where the preparation state indicates that a primary storage device enters a preparation phase of performing snapshot processing on the LUN (S102); sending a first snapshot command to a mirror storage device, where the first snapshot command includes the ID of the LUN, and the first snapshot command is used to notify the mirror storage device that the LUN is in the preparation state (S103); receiving a response message, sent by the mirror storage device, of the first snapshot command, where the response message is used to notify the primary storage device that a mirrored LUN is in the preparation state (S104); and performing snapshot processing on the LUN (S105). By means of the solution, in a snapshot process, an I/O interface does not need to be blocked or suspended, so that data consistency between a primary storage device and a mirror storage device is ensured, and a rate of a snapshot operation is improved.

    METHOD FOR WRITING MULTIPLE COPIES INTO STORAGE DEVICE, AND STORAGE DEVICE

    公开(公告)号:EP3249540A4

    公开(公告)日:2018-01-24

    申请号:EP16748608

    申请日:2016-01-27

    IPC分类号: G06F12/08 G06F3/06

    摘要: Disclosed are a method for writing multiple copies into a storage device, and a storage device. The storage device includes a controller and at least two logical storage units. The method is executed by the controller and includes: receiving a first write data request that includes an ID of a to-be-accessed first logical storage unit, target data, and an LBA of the first logical storage unit and that is sent by a host (S101); determining that data stored in storage space corresponding to the LBA of the first logical storage unit is not accessed by another data access request that has a resource conflict with the first write data request (S102); writing the target data into the storage space corresponding to the LBA of the first logical storage unit (S103); generating a second write data request that includes an ID of a second logical storage unit, the target data, and an LBA of the second logical storage unit (S104); and writing the target data into storage space corresponding to the LBA of the second logical storage unit (S105). This improves an access response capability of a system.