GNU+Linux command memo

Test storage with ext filesystem for bad blocks

Vérifier l’existence de blocs défectueux sur un disque dur de stockage avec système de fichiers ext2 / ext3 / ext4.

# e2fsck -k -c -v /dev/$device (2) (3)
1 Can also be called fsck.ext4 for instance…
2 -k : keep track of bad blocks
-c : use external badblock command to find new ones
-v : verbose, write more info in the terminal to help human tracking where the process is, and getting less nervous…