dumpe2fs /dev/foo | grep -i superblock
which is useful in the event of a manual recovery attempt. Let us suppose that the dumpe2fs command outputs the line Backup superblock at 163840, Group descriptors at 163841-163841
. We can use this information, and additional knowledge about the file system structure, to attempt to use this superblock backup: /sbin/fsck.ext3 -b 163840 -B 1024 /dev/foo
. Please note that I have assumed a block size of 1024 bytes for this example.dumpe2fs /dev/sda1 | grep -i superblock
來查看 sda1 分區(qū)的 superblock 備份有哪一份是可用的。我們假設(shè) dumpe2fs 輸出了這樣一行:Backup superblock at 163840, Group descriptors at 163841-163841
,通過這條信息,我們就可以嘗試使用這個(gè) superblock 備份:/sbin/fsck.ext3 -b 163840 -B 1024/dev/sda1
。請(qǐng)注意,這里我們假設(shè) block 的大小為 1024 字節(jié)。聯(lián)系客服