Level 17 Level 19
Level 18

104.2 Maintain the Integrity of Filesystems


15 words 0 ignored

Ready to learn       Ready to review

Ignore words

Check the boxes below to ignore/unignore words, then click save at the bottom. Ignored words will never appear in any learning session.

All None

Ignore?
du
This command is used to estimate file space usage
du -c
Use this flag with du to produce a grant total
du -h
Use this flag for human readable output with du
du -b
Use this flag to display output in Bytes
du --max-depth
Print the total for a directory on if it is N or fewer levels below the command line arguement
dumpe2fs
Obtains file system information. xfs_info does the same thing but for ifs file systems
df
Displays the filesystem usage, but not a breakdwon within the file system
mke2fs
Create an EXT2/3/4 filesystem
tune2fs
Allows you to change the file system parameters such as: maximum mount count, time between checks, add a journal, set desire reserve blocks, obtain file system level. FILE SYSTEM CANNOT BE MOUNTED
fsck
Checks and repairs filesystems
fsck -A
Walks through the /etc/fstab file and try to check all file systems
fsck -a
Option to use fsk to automatically repair all errors
fsck -C
Option to use for displaying completion/progress for fsck
fsck -N
Do not execute fsck, just show what would be done
debugfs
Interactively modify a file system. Features: program provides abilities of tune2fs and dump2fs use this to undelete a file if needed. Do not use on a mounted file system.