Patent attributes
A storage system is configured to comprise a processor in operable communication with a storage device and a metadata journal comprising metadata configured to store information associated with a change to be made to information stored on the storage device. While the storage system is booted up and responsive to I/O requests from a host, a scan is performed of a first portion of metadata that is loaded into storage system memory during the bootup, to check for existence of a metadata inconsistency condition comprising at least one of: (a) dirty tree (DT) entries in the metadata associated with an invalid logical unit (LU) index; (b) hash tree (HT) entries in the metadata which do not have corresponding DT bits; and (c) DT bits set without having a corresponding HT entry. Based on the results of the first scan, a determination is made about whether a first metadata inconsistency condition exists.