fsck
The family of tools that check and repair a file system that is not mounted.
In more detail
e2fsck handles ext4, while XFS is repaired with xfs_repair instead. resize2fs requires a fresh e2fsck -f before shrinking an ext4 file system.
Example
e2fsck -f /dev/vgapp/lvarchRelated terms
- ext4 — The default filesystem on many Linux distributions, a journaling filesystem that stores files in blocks tracked by inodes.
- XFS — The default file system of RHEL, built for large files and volumes, which can grow while mounted but can never shrink.
Taught in
- Recovering Root And Changing The Boot Loader — Red Hat Certified System Administrator (EX200) Exam Prep
- Mount By UUID Or Label, For Good — Red Hat Certified System Administrator (EX200) Exam Prep
- Extend A Logical Volume And Its File System — Red Hat Certified System Administrator (EX200) Exam Prep
- VFAT, ext4 And XFS: Create, Mount, Use — Red Hat Certified System Administrator (EX200) Exam Prep
- Drill: The Machine That Will Not Boot — Red Hat Certified System Administrator (EX200) Exam Prep
- The Upload That Ran: Mount Options, Swap And Network Shares — CompTIA Linux+ (XK0-006) Exam Prep
- What Changed Last Night? Integrity, Scans, Benchmarks And Secure Deletion — CompTIA Linux+ (XK0-006) Exam Prep
- No Space Left, Says The Disk With Room To Spare: Inodes, Held Files, Corruption And Repair — CompTIA Linux+ (XK0-006) Exam Prep
- Ninety Minutes, Five Domains: The Full Mock And The Week Before The Exam — CompTIA Linux+ (XK0-006) Exam Prep
- File System Integrity: Measure, Check, Repair — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep