US 7,552,146 B1
Method and apparatus for offline and online consistency checking of aggregates and flexible volumes
Andy C. Kahn, San Francisco, Calif. (US); John K. Edwards, Sunnyvale, Calif. (US); and Nitin Muppalaneni, Santa Clara, Calif. (US)
Assigned to Network Appliance, Inc., Sunnyvale, Calif. (US)
Filed on Apr. 28, 2005, as Appl. No. 11/117,212.
Int. Cl. G06F 17/30 (2006.01)
U.S. Cl. 707—202  [707/100] 28 Claims
OG exemplary drawing
 
1. A method to check consistency of an aggregate capable of supporting flexible volumes, the method comprising:
identifying an inode having a flexible volume type present in the aggregate;
storing the inode in an inode scan list in response to the identifying;
determining whether the inode is identified in a metadata directory of the aggregate;
storing the inode in a discovered list if the inode is identified in the metadata directory; and
performing a consistency check on the flexible volume associated with the inode if the inode is in the inode scan list and in the discovered list.