Which command provides a summary of the available and used inodes on mounted file systems?

Prepare for the LPIC-2 Certification Test with our study tools, including flashcards and multiple choice questions with hints and explanations. Get ready to pass your exam!

The command that provides a summary of the available and used inodes on mounted file systems is "df -i." This command specifically focuses on inodes, which are data structures used to store information about files and directories on a filesystem.

Inodes contain metadata about files, such as ownership, permissions, and file type, but not the file name or its content. The “df -i” command outputs the inode usage statistics, including the total number of inodes, how many are in use, how many are free, and the percentage of inodes used across all mounted filesystems. This information is crucial for system administrators to monitor inode usage, especially on systems where a large number of small files might exhaust the available inodes, leading to issues even when there is disk space left.

The other commands do not specifically provide information about inodes. For example, "df -h" reports disk space usage in a human-readable format, while "df -T" shows the filesystem type along with space information. The command "du -h" is used for estimating file space usage in a human-readable format, which does not relate to inode information at all. Thus, "df -i" is the correct command for assessing inode availability and

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy