Inspect the file system.
If a problem is suspected in the file system, use the fsck command to inspect the file system.When the fsck command is executed, it will check the file system for abnormalities, and if any abnormalities are found, it will display a return value depending on the nature of the problem.If no abnormality is found, the number of files contained on the disk, the number of blocks in use, and the number of available blocks will be displayed.If the command is executed with no arguments, all devices described in /etc/fstab will be scanned, and if the command is executed with a device name specified as an argument, only the specified device will be scanned.Caution.Since disk access while the check is in progress may destroy the system, it is safe to unmount any volume that can be unmounted when executing the fsck command, and to run it in single-user mode if it contains a volume on which / is placed.
2020.09.24
Disk and device managementLinuxTips(RedHat)_en