The error occured when I try to access some specific files, for instance using ls in the example below.
Jul 18 10:27:00 ubuntu kernel: [88610.360542] EXT4-fs error (device mmcblk0p1): htree_dirblock_to_tree:958: inode #29558: block 49: comm ls: Directory block failed checksum
I have tried to diagnostic the device without success:
sudo smartctl -H -i /dev/mmcblk0 smartctl 6.5 2016-01-24 r4214 [aarch64-linux-4.4.38-tegra] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org /dev/mmcblk0: Unable to detect device type Please specify device type with the -d option. Use smartctl -h to get a usage summary
And the help goes as follow:
-d TYPE, --device=TYPE Specify device type to one of: ata, scsi, sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbsunplus, marvell, areca,N/E, 3ware,N, hpt,L/M/N, megaraid,N, aacraid,H,L,ID, cciss,N, auto, test
From what I have read, the output of this command would help in knowing how to fix it… but I would also appreciate help on the following steps.
Any advice welcome :)