Google interview question

Finding the size and validating a filesystem.