Detecting inconsistencies in hierarchical organization directories
First Claim
1. A system, comprising:
- a processor; and
a storage device communicatively coupled to the processor, wherein the storage device comprises an inconsistency detection and reconstruction tool to;
create a database including a first plurality of records including metadata associated with respective hierarchical organization directories located between a root directory and user directories in a file system, and including a second plurality of records including metadata associated with respective policy and configuration data files in the file system;
in response to successful validation of the integrity of the metadata in the database, perform a consistency check using the metadata in the database to determine whether a respective hierarchical organization directory is present in the file system outside of an orphaned objects directory for each of the first plurality of records and to determine whether a respective policy and configuration data file is present in the file system outside of the orphaned objects directory for each of the second plurality of records;
in response to a determination that no hierarchical organization directory corresponding to one of the records of the first plurality of records is present in the file system outside of the orphaned object directory, create or restore a corresponding hierarchical organization directory, for the one of the records, in the file system outside of the orphaned object directory; and
in response to a determination that no policy and configuration data file is present for a given record of the second plurality of records, create or restore a corresponding policy and configuration data file for the given record of the second plurality of records using the metadata.
2 Assignments
0 Petitions
Accused Products
Abstract
In one example, a system is described in which a storage device, communicatively coupled to a processor, includes an inconsistency detection and reconstruction tool. The inconsistency detection and reconstruction tool may create a database including metadata associated with hierarchical organization directories and policy and configuration data files in a file system. Further, the inconsistency detection and reconstruction tool may perform consistency check of one or more of the hierarchical organization directories, the policy and configuration data files and the metadata to detect inconsistencies. Furthermore, the inconsistency detection and reconstruction tool may reconstruct one or more of the hierarchical organization directories, the policy and configuration data files and the metadata based on the outcome of the consistency check.
35 Citations
17 Claims
-
1. A system, comprising:
-
a processor; and a storage device communicatively coupled to the processor, wherein the storage device comprises an inconsistency detection and reconstruction tool to; create a database including a first plurality of records including metadata associated with respective hierarchical organization directories located between a root directory and user directories in a file system, and including a second plurality of records including metadata associated with respective policy and configuration data files in the file system; in response to successful validation of the integrity of the metadata in the database, perform a consistency check using the metadata in the database to determine whether a respective hierarchical organization directory is present in the file system outside of an orphaned objects directory for each of the first plurality of records and to determine whether a respective policy and configuration data file is present in the file system outside of the orphaned objects directory for each of the second plurality of records; in response to a determination that no hierarchical organization directory corresponding to one of the records of the first plurality of records is present in the file system outside of the orphaned object directory, create or restore a corresponding hierarchical organization directory, for the one of the records, in the file system outside of the orphaned object directory; and in response to a determination that no policy and configuration data file is present for a given record of the second plurality of records, create or restore a corresponding policy and configuration data file for the given record of the second plurality of records using the metadata. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method, comprising:
-
creating a database including a first plurality of records including metadata associated with respective hierarchical organization directories located between a root directory and user directories in a file system and including a second plurality of records including metadata associated with respective policy and configuration data files in the file system; validating integrity of the metadata in the database; in response to the validating being successful, performing a consistency check using the metadata in the database to determine, for each of the first plurality of records, whether a respective hierarchical organization directory is present in the file system outside of an orphaned objects directory; in response to a determination that no hierarchical organization directory corresponding to one of the records of the first plurality of records is present in the file system outside of the orphaned object directory, creating or restoring a hierarchical organization directory for the one of the records in the file system outside of the orphaned object directory, and in response to a determination that no policy and configuration data file corresponding to a given one of the records of the second plurality of records is present in the file system outside of the orphaned object directory, creating or restoring a policy and configuration data file for the given one of the records in the file system, outside of the orphaned object directory, using the metadata in the database. - View Dependent Claims (9, 10, 11)
-
-
12. A non-transitory machine-readable storage medium comprising instructions executable by a processor to:
-
create a database including a first plurality of records including metadata associated with respective hierarchical organization directories located between a root directory and user directories in a file system, and including a second plurality of records including metadata associated with respective policy and configuration data files in the file system; in response to successful validation of the integrity of the metadata in the database, perform, using the metadata in the database, a consistency check to determine whether a respective hierarchical organization directory is present in the file system outside of an orphaned objects directory for each of the first plurality of records and to determine whether a respective policy and configuration data file is present in the file system outside of the orphaned objects directory for each of the second plurality of records; and create or restore, in the file system outside of the orphaned object directory, at least one hierarchical organization directory or at least one policy and configuration data file based on at least one of the records of the database and the outcome of the consistency check. - View Dependent Claims (13, 14, 15, 16, 17)
-
Specification