1. A method for verifying consistency of inode to pathname information of a storage system, the method comprising: requesting, by a process executed by a processor of the storage system, an inode associated with a data container that is serviced by the storage system, the processor further executing a file system; determining a type of the requested inode; in response to determining that the type of the requested inode is a file inode, performing verification by (i) comparing a first primary name maintained within a primary name data structure of the file inode with a second primary name maintained by the file system, and (ii) repairing the first primary name within the primary name data structure of the file inode to be consistent with the second primary name maintained by the file system when the first primary name and second primary name do not match; in response to determining that the type of the requested inode is a directory inode, performing the verification by removing all invalid pointers within buffer trees associated with the directory inode and removing all cross links within the buffer trees associated with the directory inode; and returning the requested inode to the process upon completion of the verification.