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/lvarch

Related terms

Taught in

References

Certification courses