GNU+Linux command memo

Test and repair ext storage filesystem

Vérifier, réparer et nettoyer un système de fichier ext (ext2, ext3, ext4)

# e2fsck -pfv /dev/<device> (1) (2) (3)
1 As root
2 Can also be called fsck.ext4 for instance…
3 -p : preen, automatically repair simple problems
-f : force, check even if filesystem is marked as clean
-v : verbose, write more info in the terminal to help human tracking where the process is, and getting less nervous…