Patent ID: 9612766
Date: 2017-04-04
CPC Classifications: G06F

Claim:
1. A method for estimating migration progress, the method comprising: initializing a target file system on a target storage device to which to migrate existing data from a source file system on a source storage device; traversing, by the target storage device, the source file system to identify a root and a plurality of directory entries within the root, wherein each of the plurality of directory entries corresponds to a virtual node, and wherein the root provides an entry point into the source file system; estimating, by the target storage device, an initial amount of data to be migrated to the target file system based on an examination of in-use space at the root of the source file system; while traversing the source file system, identifying, by the target storage device, a virtual node that corresponds to a directory entry of the plurality of directory entries as a mount point for a nested file system; estimating, by the target storage device, an amount of data for the nested file system based on in-use space at the mount point for the nested file system; determining, by the target storage device, an estimated total amount of data to be migrated from the source file system to the target file system based on the initial amount of data to be migrated and the amount of data for the nested file system; and transmitting, to a user device by the target storage device, the estimated total amount of data to be migrated from the source file system to the target file system.