CPC G06F 16/128 (2019.01) [G06F 3/062 (2013.01); G06F 3/0643 (2013.01); G06F 3/067 (2013.01); G06F 3/0685 (2013.01)] | 17 Claims |
1. A method comprising:
receiving a request to generate a hybrid snapshot of a distributed file system, wherein the request to generate the hybrid snapshot indicates a request to generate a data-full snapshot for a first storage resource and a data-less snapshot for a second storage resource, wherein the first storage resource corresponds to a first portion of a namespace of the distributed file system and comprises first metadata and first data, and the second storage resource corresponds to a second portion of the namespace of the distributed file system and comprises second metadata corresponding to second data, and wherein the first data is different from the second data;
identifying, by a processing device, the first storage resource of the distributed file system and the second storage resource of the distributed file system based on the request, wherein the first metadata is different from the second metadata, and the first data is different from the second data; and
generating, by the processing device, the hybrid snapshot of the distributed file system, wherein the hybrid snapshot comprises both the data-full snapshot and the data-less snapshot, the data-full snapshot comprising the first metadata and the first data, and the data-less snapshot comprising the second metadata without the second data, and wherein the hybrid snapshot comprises less data than a data-full snapshot of a combination of the first storage resource and the second storage resource.
|