×

Snapshot deletion in a distributed storage system

  • US 10,430,292 B2
  • Filed: 12/19/2017
  • Issued: 10/01/2019
  • Est. Priority Date: 12/19/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • storing, by a storage manager computer, a hierarchy of snapshots S(i), i=1 to N, N being a number of snapshots, for a storage volume;

    receiving, by the storage manager computer, an instruction to delete a snapshot S(j) in the snapshot;

    updating, by the storage manager computer, the hierarchy to indicate that snapshot S(j) is deleted while retaining reference to S(j) in the hierarchy; and

    transmitting, to a storage node, an instruction to delete the snapshot S(j);

    (a) in response to the instruction to delete the snapshot S(j), mapping segments of a storage device assigned to snapshot S(j) to snapshot S(j+1) in a segment map stored in a memory of the storage node without updating a copy of the segment map stored in the storage device;

    (b) detecting, by the storage node, restarting of the storage node;

    in response to (b);

    loading, by the storage node, the segment map from the storage device into the memory of the storage node;

    requesting, by the storage node, the hierarchy from the storage manager computer;

    determining (c) that the snapshot S(j) is indicated as deleted in the hierarchy; and

    in response to determining (c), again performing (a).

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×