How can I check the health of eMMC with linux?
It seems that smartctl can't handle it:
root@om:~# smartctl -a /dev/mmcblk0 smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-63-generic] (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
I guess no type matches eMMC. I see these types with
-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
If you are curious, here is the logbook of my odyssey: https://github.com/guettli/linux-on-emmc/blob/master/README.rst