我有一个 SDCard,它的 ext4 分区严重损坏,如果我尝试挂载,它会输出:
mount: mount /dev/mmcblk0p8 on /media failed: Stale file handle
这是超级块信息:
tune2fs 1.43.3 (04-Sep-2016)
Filesystem volume name: root
Last mounted on: <not available>
Filesystem UUID: 7014450b-327d-4a3e-a78a-d072ef01a6fe
Filesystem magic number: 0xEF53
Filesystem revision #: 1 (dynamic)
Filesystem features: ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file uninit_bg dir_nlink extra_isize
Filesystem flags: unsigned_directory_hash
Default mount options: user_xattr acl
Filesystem state: not clean with errors
Errors behavior: Continue
Filesystem OS type: Linux
Inode count: 522240
Block count: 2085632
Reserved block count: 104281
Free blocks: 2015490
Free inodes: 522229
First block: 0
Block size: 4096
Fragment size: 4096
Reserved GDT blocks: 509
Blocks per group: 32768
Fragments per group: 32768
Inodes per group: 8160
Inode blocks per group: 510
Flex block group size: 16
Filesystem created: Wed Dec 31 21:02:02 1969
Last mount time: n/a
Last write time: Thu May 18 15:07:55 2017
Mount count: 0
Maximum mount count: -1
Last checked: Wed Dec 31 21:02:02 1969
Check interval: 0 (<none>)
Lifetime writes: 260 MB
Reserved blocks uid: 0 (user root)
Reserved blocks gid: 0 (group root)
First inode: 11
Inode size: 256
Required extra isize: 28
Desired extra isize: 28
Default directory hash: half_md4
Directory Hash Seed: 11e9ced2-8cb0-436b-aaca-16a2cfb7cb32
Journal backup: inode blocks
更多信息:
file -s /dev/mmcblk0p8
/dev/mmcblk0p8: Linux rev 1.0 ext2 filesystem data (mounted or unclean), UUID=7014450b-327d-4a3e-a78a-d072ef01a6fe, volume name "root" (errors) (extents) (large files)
命令 fsck 一次又一次失败:
e2fsck 1.43.3 (04-Sep-2016)
root contains a file system with errors, check forced.
Resize inode not valid. Recreate<y>? yes
我可以尝试更多方法来恢复分区吗?我知道我可以运行 photorec,但我想知道我是否仍然可以修复分区...
更新
dmesg 输出有很多类似这样的消息:
[dom may 14 17:18:28 2017] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900