description of the malfunction:
The device that requires data recovery is a NetApp store with a total of 24 disks. The deletion takes several months because the administrator deletes the folder for a long time.
Recoverability Judgment:
Due to the features of the file system in NetApp, WAFL is the "Write Anywhere file layout", or "Write Anywhere" feature, so it is not possible to overwrite the previous data, and it is possible to attempt data recovery.
Data Recovery steps:
1, the analysis of NETAPP data structure, because different models of WAFL file system versions are different and large gap, it is necessary to determine the structure of the node, such as the data block node pointer, or 8 bytes, or 12 bytes. The manual analysis concluded that the version in this case was WAFL7.3.4 and the data block pointer was 8 bytes.
2, after observation, the file system uses BlockSize for 8+1 sector, where the first 4 sectors are data blocks, the latter sector is the block flag, and in some versions, the last sector content is compressed to the last sector of the data sector last, in order to conserve disk capacity.
Block Check sector
3, it is important to analyze the directory structure, which contains the folder, file, and the file system itself meta-information. The structure holds the node of the file, which is unique, the node of the parent folder, and is consistent with the information in the data node.
Directory
4, after the analysis of these important structures, the whole scan is carried out, the node information we need and directory information are scanned out, stored in the database.
5, according to the needs of users, will need to find files or folders in the database, build the directory tree we need, understand the algorithm, according to the requirements of the corresponding program, to provide the root directory, the follow-up is basically the program run out.
How the NETAPP fas2240-4 storage files are deleted one months back