Tag

du

1 views collected around this technical thread.

Raymond Ops
Raymond Ops
Jun 17, 2025 · Operations

Diagnosing Disk Space Issues on Linux with df and du Commands

This article walks through troubleshooting a failed deployment caused by a full disk, showing how to use df -h to check overall disk usage and various du options (including --max-depth and -sh) to pinpoint large directories and resolve the issue.

Troubleshootingdfdisk space
0 likes · 4 min read
Diagnosing Disk Space Issues on Linux with df and du Commands
Raymond Ops
Raymond Ops
Jun 6, 2025 · Operations

Master Linux Disk Usage: Using df and du Commands Effectively

This guide explains how to use the Linux df and du commands to inspect disk space, interpret their options such as -h, -k, -i, and -T, view partition usage, directory-specific usage, inode information, and avoid common pitfalls when measuring file sizes.

Disk UsageSystem Administrationcommand-line
0 likes · 4 min read
Master Linux Disk Usage: Using df and du Commands Effectively
Laravel Tech Community
Laravel Tech Community
Nov 7, 2023 · Fundamentals

How to Check File Size in Linux Using ls, du, and stat Commands

This article explains three common Linux commands—ls, du, and stat—for checking file sizes, showing the exact syntax, example usage with a sample file, and how each command displays size information, including human‑readable formats.

command-linedufile size
0 likes · 3 min read
How to Check File Size in Linux Using ls, du, and stat Commands
Efficient Ops
Efficient Ops
Aug 18, 2022 · Operations

How to Quickly Identify Disk Space Hogs on Linux Servers

This guide shows step‑by‑step Linux commands—df, du, find, lsof, and tune2fs—to pinpoint large directories, uncover hidden space used by deleted files, and adjust reserved root space, helping you resolve mysterious disk‑space alerts efficiently.

Disk UsageServer Operationsdf
0 likes · 4 min read
How to Quickly Identify Disk Space Hogs on Linux Servers
Efficient Ops
Efficient Ops
Jan 11, 2022 · Operations

Why Does du Show 9 GB While ls Shows 100 GB? Understanding Linux Sparse Files

This article explains why Linux utilities like du and ls can report dramatically different file sizes, introduces the concept of sparse files, and shows practical commands to identify and correctly handle them on Unix-like systems.

System Administrationdufilesystem
0 likes · 5 min read
Why Does du Show 9 GB While ls Shows 100 GB? Understanding Linux Sparse Files
Efficient Ops
Efficient Ops
Sep 28, 2021 · Operations

How to Quickly Identify Disk Space Hogs on Linux Servers

This guide explains how to use Linux commands such as df, du, find, and lsof to quickly locate directories, files, or deleted resources that are consuming disk space, and shows how to adjust reserved space with tune2fs to recover seemingly missing storage.

dfdisk spacedu
0 likes · 5 min read
How to Quickly Identify Disk Space Hogs on Linux Servers
Efficient Ops
Efficient Ops
Sep 23, 2020 · Fundamentals

Why Deleted Files Still Occupy Disk Space? A Deep Dive into Linux VFS

The article explains why a Linux system may report a full disk even after deleting files, detailing how open file handles keep space occupied, and walks through the virtual file system architecture—including superblocks, inodes, file and dentry objects—while demonstrating diagnostic commands like df, du, lsof, and illustrating link types and file‑process interactions.

InodeVFSdf
0 likes · 11 min read
Why Deleted Files Still Occupy Disk Space? A Deep Dive into Linux VFS
Practical DevOps Architecture
Practical DevOps Architecture
Nov 30, 2017 · Operations

Disk Appears Full on CentOS Server but du Shows Much Less Usage – Root Cause and Fix

A CentOS web server reports 100% disk usage despite du -sh /* showing far less space used, which is caused by Apache/Tomcat logs being cleared while the services are running, and the issue is resolved by restarting the services and properly cleaning old log files.

ApacheTomcatTroubleshooting
0 likes · 5 min read
Disk Appears Full on CentOS Server but du Shows Much Less Usage – Root Cause and Fix