LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   which errors are critical for integrity of ext[234] file system? (http://www.linuxquestions.org/questions/linux-server-73/which-errors-are-critical-for-integrity-of-ext%5B234%5D-file-system-940318/)

m4rtin 04-17-2012 04:14 PM

which errors are critical for integrity of ext[234] file system?
 
I was playing with dd "conv=noerror" option. It continues reading the input file(for example HDD/SSD partition) even in case there are read errors. Which errors are critical for integrity of ext[234] file system? As I understand, Linux views the file system as a common set of objects- superblock(maintains and describes the state of the file system), inode(unique identifier for all the file system objects and contains necessary metadata), dentry(glues together inode number and file name), and file(bunch of bytes arranged in a certain order). Am I correct that if the main superblock is damaged, the spare one is used by fsck? In addition, am I correct that if sectors which hold content of a file(for example .avi movie) are damaged, then only this file is corrupted but file system itself is in good shape?

macemoneta 04-19-2012 01:10 AM

Your assumptions are correct.


All times are GMT -5. The time now is 04:38 AM.