The application discloses a block storage volume
rollback method and device and a storage medium, and relates to the technical field of computer storage. The method comprises the following steps: after starting the instruction of rolling back the state of the current
active volume to the target snapshot, a temporary snapshot corresponding to the state of the current
active volume is created; a difference data block
list is generated according to the target snapshot and the temporary snapshot, the
data content corresponding to the difference data block is read from the target snapshot, and the current
active volume is written back. While maintaining the functions of keeping the storage volume online and continuously
processing business read-write requests, the application carries out targeted data writing back, avoids the influence of storage performance response caused by
full data replication, can guarantee the continuity of business read-write, realizes the isolation of
rollback read-write and business read-write by using the past
timestamp, avoids the risk of data conflict and inconsistency, and does not need to delete any snapshot after the
rollback target snapshot, thereby providing reliable support for the flexible switching of users between different historical states.