File System Checking - Best Practices

view full story

http://ubuntuforums.org – Is there any sense in running fsck -N first or should we just use -y right away and get it all over and done with fast? When we run fsck or e2fsck with the -y option and there are some serious file system problems, it silently unlinks any orphaned files to the lost+found. That's all fine and dandy when there's no big problems, normally no files need to be unlinked and fsck just runs and fixes the file system. When there are some problems, getting files back from the lost+found directory is probably not something most of us really want to spend time doing. They will be identified by inode n (Hardware)