Eu tenho um SDCard que tem uma partição ext4 que foi gravemente danificada, se eu tentar montar, ele gera:
mount: mount /dev/mmcblk0p8 on /media failed: Stale file handle
Esta é a informação do superbloco:
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
Mais informações:
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)
O comando fsck falha o tempo todo com:
e2fsck 1.43.3 (04-Sep-2016)
root contains a file system with errors, check forced.
Resize inode not valid. Recreate<y>? yes
Posso tentar algo mais para recuperar a partição, sei que posso rodar o photorec, mas gostaria de saber se ainda conserto a partição ...
UPDATE
O resultado do dmesg tem muitas mensagens como esta:
[dom may 14 17:18:28 2017] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0x900
Tags ext4 fsck filesystems corruption