f3 is a simple tool that tests flash cards capacity and performance to see if they live up to claimed specifications. It fills the device with pseudorandom data and then checks if it returns the same on reading.
sudo apt install f3
sudo f3probe --destructive --time-ops <device>
f3fix –last-sec=16477878 <device>
: comando sugerido si el dispositivo es un fake (varía el parámetro last-sec). Crea una partición «segura» en el dispositivo.docker run -it –rm –device <device> peron/f3 <f3-command> [<f3-options>] <device>
docker run -it –rm –device /dev/sdb peron/f3 f3probe --destructive --time-ops /dev/sdb