Native snapshots in distributed file systems
First Claim
Patent Images
1. A method comprising:
- generating, by a processing device, a first writeable sub-volume associated with a first snapshot of a volume distributed across a plurality of storage nodes of a distributed file system;
identifying, by the processing device, a second writeable sub-volume associated with a second snapshot of the volume taken prior to the first snapshot;
marking, by the processing device, the second writeable sub-volume of the distributed file system as read-only;
initiating a reversion to a snapshot revert point of the volume;
identifying a read-only sub-volume associated with the snapshot revert point;
identifying a plurality of read-only sub-volumes associated with snapshots taken more recently than the snapshot revert point;
removing the first writeable sub-volume and the plurality of read-only sub volumes; and
marking the read-only volume associated with the snapshot revert point as writeable.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems are disclosed to initiate a snapshot of a volume distributed across a plurality of storage nodes of a distributed file system. The systems may create in the plurality of storage nodes a writeable sub-volume associated with the volume of the distributed file system. The system may identify a previous writeable sub-volume associated with a previous snapshot and mark the previous writeable sub-volume as read-only.
-
Citations
17 Claims
-
1. A method comprising:
-
generating, by a processing device, a first writeable sub-volume associated with a first snapshot of a volume distributed across a plurality of storage nodes of a distributed file system; identifying, by the processing device, a second writeable sub-volume associated with a second snapshot of the volume taken prior to the first snapshot; marking, by the processing device, the second writeable sub-volume of the distributed file system as read-only; initiating a reversion to a snapshot revert point of the volume; identifying a read-only sub-volume associated with the snapshot revert point; identifying a plurality of read-only sub-volumes associated with snapshots taken more recently than the snapshot revert point; removing the first writeable sub-volume and the plurality of read-only sub volumes; and marking the read-only volume associated with the snapshot revert point as writeable. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system comprising:
-
a memory; and a processing device operatively coupled to the memory, the processing device to; create, by the processing device, a first writeable sub-volume associated with a volume distributed across a plurality of storage nodes of a distributed file system; identify, by the processing device, a second writeable sub-volume associated with a previous snapshot; mark, by the processing device, the second writeable sub-volume of the distributed file system as read-only; receive an instruction to perform a write operation for an object in the volume; determine that the object is in a read-only sub-volume associated with the volume; copy a partition of the object from the read-only sub-volume to the first writeable sub-volume; and perform the write operation on the partition of the object in the first writeable sub-volume. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory machine-readable storage medium storing instructions that cause a processing device to:
-
initiate, by a processing device, a snapshot of a volume distributed across a plurality of storage nodes of a distributed file system; create, by the processing device, a writeable sub-volume associated with the volume of the distributed file system; and mark, by the processing device, the volume of the distributed file system as read-only; receiving an instruction to perform a deletion of an object in the volume; determining that the object exists in a read-only sub-volume associated with the volume; and generating a negative entry for the object in the writeable sub-volume. - View Dependent Claims (16, 17)
-
Specification