Tagged articles
du
46 articles · Page 1 of 1
This article explains why df reports high disk usage while du shows much less, revealing that deleted files held open by processes consume space, and demonstrates how to identify and release these ghost files using lsof and /proc/pid/fd/ without restarting services.
Linuxdfdisk space
0 likes · 5 min read

When a Linux server reports a full disk, the article explains three possible causes—actual space exhaustion, inode depletion, or deleted files still held by processes—and walks through eight essential commands, from df and du to lsof, ncdu, iostat, and journalctl, to diagnose and safely resolve the issue.
Linuxdfdisk space
0 likes · 21 min read

This article explains why disk‑full issues cripple Linux servers, outlines the concepts of filesystem, LVM and inode space, and provides a step‑by‑step, layered method using df, du, find, lsof and logrotate to locate and safely free space, handle deleted‑but‑open files, clean logs, manage databases, temporary caches, Docker resources, and LVM volumes, and finally set up monitoring and preventive measures.
InodeLVMLinux
0 likes · 30 min read

When a Linux server reports a full disk, this guide walks you through eight essential commands to diagnose whether the issue is actual space exhaustion, inode depletion, lingering deleted files, or I/O bottlenecks, and provides a systematic cleanup workflow for production environments.
Linuxdfdisk space
0 likes · 19 min read

When a Linux server or desktop warns of insufficient disk space, this guide walks you through diagnosing usage with df and du, pinpointing oversized files using find and ncdu, safely removing them with soft‑delete and trash‑cli, and setting up monitoring to prevent future emergencies.
Linuxdfdisk space
0 likes · 11 min read


UbuntuMar 1, 2026 · Fundamentals
This guide explains Linux's unified directory tree, core directories, how to inspect disk usage with df, du, and lsblk, the process of mounting and automating mounts via /etc/fstab, practical cleanup commands, and an introduction to LVM for flexible volume management.
Disk ManagementFilesystemLVM
0 likes · 5 min read

This guide shows several efficient Linux commands—du, find, ls, and ncdu—to locate large files, sort results, and safely remove unnecessary data, helping you manage disk space before it runs out.
Linuxcommand-linedisk space
0 likes · 5 min read

A senior cloud operations engineer receives a P1 alert for a web‑gateway server nearing 100% /var disk usage, then systematically logs in, diagnoses the log‑file bloat with df, du, and tail, truncates the offending debug log, and implements post‑mortem fixes to prevent recurrence.
Cloud OperationsLinuxP1 incident
0 likes · 10 min read

Learn how to efficiently locate and manage large files on Linux using powerful commands such as du, find, ls, and the visual tool ncdu, with step-by-step examples, sorting techniques, and practical tips for cleaning up disk space.
Linuxdisk spacedu
0 likes · 5 min read

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.
LinuxOperationsdf
0 likes · 4 min read

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.
Linuxcommand-linedf
0 likes · 4 min read

When a Linux server triggers a disk‑space alert, you can pinpoint the offending directories or files by using df to view overall usage, du (with depth or max‑depth) or find to list large items, and lsof +L1 to detect deleted files still holding space, then optionally adjust reserved space with tune2fs.
Linuxdfdisk space
0 likes · 5 min read

This guide walks through a real‑world deployment issue where one node failed to start due to a full disk, showing how to verify overall and per‑directory disk usage with df and du commands, interpret their output, and locate large files or directories.
LinuxOperationsdf
0 likes · 3 min read

This guide explains how to use the Linux df and du commands to check overall disk space, view partition types, inspect inode information, and determine the size of specific files or directories, with examples and options for human‑readable output.
Linuxdfdisk usage
0 likes · 4 min read

This guide explains practical commands like du, find, and lsof to locate large directories or deleted files consuming disk space, and shows how to adjust reserved filesystem space with tune2fs to reclaim lost capacity.
LinuxOperationsdisk space
0 likes · 5 min read

This guide explains how to use Linux commands like df, du, find, lsof, and tune2fs to locate large directories, uncover deleted files that still occupy space, and adjust reserved root space, enabling you to resolve unexpected disk‑usage alerts efficiently.
LinuxServer Operationsdisk space
0 likes · 4 min read

This guide walks you through key Linux commands such as top, free, iostat, netstat, df, and du, explaining each output field, how to interpret system load, memory usage, CPU statistics, network connections, and disk space to quickly diagnose production issues.
LinuxSystem Monitoringdf
0 likes · 6 min read

This guide shows how to use df, du, find, and lsof commands to locate large directories, files, and deleted-but-open files that consume disk space, and explains how to adjust reserved filesystem space on Linux.
FilesystemLinuxOperations
0 likes · 4 min read

This guide explains how to diagnose unexpected disk usage on Linux servers by using df to view overall usage, du and find to pinpoint large directories or files, and lsof to uncover deleted files that still hold space, plus how to adjust reserved space with tune2fs.
dfdisk spacedu
0 likes · 5 min read

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.
Linuxcommand-linedu
0 likes · 3 min read

Learn step‑by‑step Linux techniques to locate hidden disk consumers—using df, du, find, lsof, and tune2fs—to resolve mismatched usage reports, delete lingering open files, and adjust reserved space, ensuring your server’s storage stays under control.
Disk ManagementLinuxServer Operations
0 likes · 6 min read

This guide explains how to locate large directories or files consuming disk space on Linux servers using commands like df, du, find, and lsof, and shows how to free space occupied by deleted files or adjust reserved root space with tune2fs.
LinuxServer Operationsdisk space
0 likes · 5 min read

This guide shows Linux administrators how to use df, du, find, lsof, and tune2fs commands to locate large directories, uncover hidden space consumed by deleted files, and adjust filesystem reserved space, with step‑by‑step examples and screenshots.
Linuxdisk spacedu
0 likes · 5 min read

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.
Server Operationsdfdisk usage
0 likes · 4 min read

When a Linux server raises a disk‑space alarm, this guide shows step‑by‑step how to locate the offending directories or files using df, du, find, lsof and tune2fs, and explains why reported usage may differ from summed directory sizes.
Operationsdufind
0 likes · 4 min read

This guide explains how to locate large directories and files consuming disk space on Linux servers using commands like df, du, find, lsof, and tune2fs, and offers tips for handling hidden or deleted file usage.
Linuxdisk usagedu
0 likes · 4 min read

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.
FilesystemLinuxdu
0 likes · 5 min read

This article explains why the Linux commands du and df often return mismatched root partition sizes, detailing five underlying reasons such as deleted open files, reserved space, hidden files, mounted directories, and the fundamental differences between how du and df calculate disk usage.
Filesystemdfdisk usage
0 likes · 4 min read

This guide explains why ls -lh shows only the directory entry size, introduces the du command for real disk usage, details its most useful options, and provides step‑by‑step examples for measuring directory sizes on a Linux system.
FilesystemLinuxbash
0 likes · 8 min read

Learn step-by-step Linux techniques—including df, du, find, and lsof commands—to pinpoint large directories or files, filter results, handle hidden space consumption, and adjust reserved filesystem space, ensuring you can efficiently resolve unexpected disk usage issues on your servers.
LinuxOperationsdf
0 likes · 4 min read

Learn how to quickly check available disk space on Linux servers using five built‑in commands—df, du, ls, stat, and fdisk—plus handy GUI tools, with practical options and examples to help you clean up storage efficiently.
Linuxdfdisk usage
0 likes · 5 min read

This guide explains how to diagnose unexpected disk usage on Linux by using df, du, find, and lsof commands, demonstrates efficient ways to locate large directories or deleted files, and shows how to adjust reserved space with tune2fs to reclaim lost storage.
LinuxOperationsdisk space
0 likes · 5 min read

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.
Linuxdfdisk space
0 likes · 5 min read

This guide explains why the ls command shows a fixed 4 KB size for directories, introduces the du (disk usage) utility, and provides step‑by‑step examples for obtaining total, per‑directory, per‑file, and cumulative size information using various du options.
Linuxcommand-linedirectory size
0 likes · 8 min read

This article analyzes why the Linux commands du and df often report inconsistent disk usage, detailing the underlying file system structures, inode and block allocation, how each tool gathers statistics, and the impact of mounted partitions and deleted-but‑still‑referenced files.
LinuxStoragecommand-line
0 likes · 11 min read

The article explains why Linux’s du and df commands often report inconsistent disk usage, detailing the underlying file‑system structures such as inodes, block maps, and superblocks, the processes of file creation and deletion, and how mounted partitions, open file handles, and stat calls affect each tool’s calculations.
InodeLinuxdf
0 likes · 12 min read

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.
InodeLinuxVFS
0 likes · 11 min read

The article explains why a large log file appears to occupy several gigabytes with `ls` yet only a few megabytes with `du`, covering file deletion semantics, open file handles, the difference between apparent size and disk usage, and how sparse files cause this discrepancy.
Filesystemduls
0 likes · 12 min read

This guide introduces key Linux commands such as ls, stat, df, du, and fdisk, explains their most useful options, shows how to interpret their output, and provides practical tips for analyzing disk usage and safely reclaiming space on servers.
dfdisk usagedu
0 likes · 5 min read

This guide introduces key Linux commands—such as uptime, who, uname, du, df, free, pmap, vmstat, ifconfig, ip, netstat, top, and pstree—to help you quickly assess system status, resource usage, and process relationships, enabling effective troubleshooting and maintenance.
LinuxSystem Monitoringdf
0 likes · 11 min read

Learn three practical Linux command-line techniques—using ls, find, and du—to quickly identify the largest files or directories on your system, complete with example commands for listing top files, filtering by size ranges, and displaying human‑readable disk usage.
dufile-managementfind
0 likes · 5 min read

This guide explains essential Linux storage commands—including fdisk, df, du, mount, umount—covers automatic mounting via /etc/fstab, details disk partitioning with fdisk, and demonstrates how to format partitions using mkfs, providing practical examples for each operation.
LinuxMountStorage
0 likes · 12 min read

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.
ApacheLinuxdf
0 likes · 5 min read


ITPUBMay 29, 2017 · Operations
This article explains why the Linux commands df and du often report different disk usage figures, detailing three main causes—reserved space, phantom (deleted) files, and data present before mounting—and provides concrete commands and steps to identify and resolve each discrepancy.
FilesystemOperationsdf
0 likes · 4 min read

When managing Linux servers, the du and df commands often show mismatched disk usage figures, and this article explains the three main reasons—reserved space, phantom files, and uncounted data during mount operations—and how to diagnose and resolve each discrepancy.
Operationsdfdisk-usage
0 likes · 5 min read

When managing Linux servers, the df and du commands often show mismatched disk usage figures, and this article explains the three main causes—reserved space, phantom files, and uncounted data—along with how to identify and resolve each discrepancy.
Linuxdfdisk usage
0 likes · 5 min read
