From the course: CompTIA Linux+ (XK0-005) Cert Prep

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Troubleshoot storage systems

Troubleshoot storage systems - Linux Tutorial

From the course: CompTIA Linux+ (XK0-005) Cert Prep

Troubleshoot storage systems

- [Lecturer] Troubleshooting storage issue starts with making sure you are not out of space. For this, use the df and du tools. df shows the overall storage space usage of a mounted volume. Type in df -hT and hit Enter. The -h provides human readable sizes and the capital T shows the file system type. du on the other hand can tell you the size of a directory. du is especially good at finding files that take up a lot of space. (keyboard clicking) du requires an argument. Type in du -h ~ and hit Enter. The -h again shows human readable sizes in megabytes, gigabytes, et cetera. If you're experiencing slow disk performance, it may be due to the drive not being able to handle the number of I/O operations that have been requested. You can use the iostat command to analyze this. If it's not installed, install the sysstat package to get it. (keyboard clicking) Type in sudo dnf install -y sysstat and hit Enter. To show…

Contents