Check and repair a filesystem.
Section: Storage Partitions and LVM
Check filesystem
bash
bash
sudo fsck -f /dev/sdb1Explanation
Run on unmounted filesystems when possible.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Storage Partitions and LVM