Linux Administration/Devices and Filesystems/Integrity
Appearance
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 | edit source]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
ordumpe2fs /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
- To modify ext4 for metadata checksums
- xfs tools (such as xfs_metadump and xfs_info)
Readings
[edit | edit source]Multimedia
[edit | edit source]Activities
[edit | edit source]- Complete the tutorial IBM: Learn Linux, 101: Maintain the integrity of filesystems
- Use sar to collect information about filesystems and inode usage