Linux Administration/Devices and Filesystems/Integrity

This lesson covers file system integrity. File systems integrity protection capabilities varies depending on filesystem used, ext4 filesystem offers metadata integrity while ZFS offers also full data integrity.

Objectives and Skills edit

Objectives and skills for the integrity portion of Linux+ certification include:[1]

  • Maintain the integrity of file systems
    • Verify the integrity of file systems
    • Monitor free space and inodes
    • Repair simple file system problems
    • The following is a partial list of the used files, terms and utilities:
      • blkid
      • lsblk
      • du
      • df
      • fsck
      • findmnt
      • e2fsck
      • mkfs
      • mke2fs
      • debugfs
      • dumpe2fs: dumpe2fs /dev/sda1 or dumpe2fs /dev/nvme0n1p3 depending on your device
      • tune2fs used to modify file system parameters
        • To modify ext4 for metadata checksums tune2fs -O metadata_csum
        • To disable ext4 metadata checksum: tune2fs -O ^metadata_csum
      • xfs tools (such as xfs_metadump and xfs_info)

Readings edit

Multimedia edit

Activities edit

  1. Complete the tutorial IBM: Learn Linux, 101: Maintain the integrity of filesystems
  2. Use sar to collect information about filesystems and inode usage

Lesson Summary edit

Key Terms edit

References edit