Techub Knowledge Center
TechubKnowledge Center • Illustrated Guides • Troubleshooting

Describe the Linux task or exact error — for example, updates fail or a drive will not mount.

Fix a Linux Problem • Linux & Open Source

Linux Reports No Space Left on Device

Check filesystem blocks, inodes, mounts and retained data before deleting anything.

DifficultyBeginner to intermediate
Time20–45 minutes for checks; installation, backup or recovery can take longer
Guide typeIdentify, act & verify
GoalProtect files and verify the Linux task

Protect the data first. Work only on systems, files and accounts you own or are authorized to manage. Identify the exact distribution, device and path before changes. Keep independent verified backups and required recovery keys. Do not format wanted data, run unexplained privileged commands or apply broad permission resets. A filesystem repair needs its supported unmounted/offline procedure. Plan console access and downtime for remote or service changes.

First — identify the distribution, context and task

Record the distribution/release, desktop or server role, account, target path or device and exact error. These guides label Ubuntu and GNOME examples; other distributions, desktops and app versions use different controls. Use supported instructions for your actual release. Screenshots illustrate sample values and are not evidence of your system state. Read each command and its target before using it.

What you’ll need

Current distribution and application documentation · Authorized ordinary account and elevation only when needed · Private error/time notes · Independent backups and required keys · Correct device/path identity · Console and recovery plan for disruptive changes

Step 1 — Identify the failing operation

Record the exact error, file path and application. A user quota, a full root filesystem, a full separate home filesystem and inode exhaustion are different cases. Stop repeated large writes while diagnosing.

What to look for: The resource and path that actually failed.

What the result means: A full backup destination is not necessarily a full system disk.

Step 2 — Read blocks and inodes

Use df -h for filesystem space and df -i where supported for inode use. Identify the filesystem containing the affected path, using findmnt where available. These views describe mounted filesystems, not every physical drive.

What to look for: Which mounted filesystem is exhausted and how.

What the result means: Free bytes do not help if the filesystem cannot allocate another inode.

Step 3 — Locate the growth safely

Use the desktop Disk Usage Analyzer or a narrowly scoped supported usage tool. Review owned files, logs, Trash, caches, snapshots and application retention. Avoid scanning sensitive or failing storage unnecessarily.

GNOME Disk Usage Analyzer example shows a folder-size tree and ring chart. Inspect the actual large folders before deleting anything; sample sizes do not identify files that are safe to remove.
GNOME Disk Usage Analyzer example shows a folder-size tree and ring chart. Inspect the actual large folders before deleting anything; sample sizes do not identify files that are safe to remove.Image: GNOME / application maintainers · Source · View full-size image

What to look for: A specific growth source and its owner.

What the result means: Hidden, retained or inaccessible data can make file-browser totals differ from filesystem usage.

Step 4 — Review a controlled cleanup

Verify backups and retention needs. Move or remove only approved unwanted data through its owning app. Emptying Trash is permanent through normal recovery. Do not delete package databases, active logs, boot files or backup repositories by hand.

What to look for: A reviewed set of disposable data.

What the result means: Cleanup can remove the only recoverable version if ownership and retention are ignored.

Step 5 — Check unresolved differences

If usage still disagrees, ask the administrator to check open deleted files, reserved blocks, quotas, snapshots and mount state with the filesystem’s supported tools. A service restart may release an open file but can interrupt users; do not restart everything experimentally.

What to look for: The particular remaining allocation.

What the result means: Removing a filename does not always release space held by a running process.

Step 6 — Verify writes and prevention

Recheck the same filesystem’s block/inode availability and test the original app with a small safe write. Check backup jobs and useful alerts. Plan supported capacity expansion if normal growth exceeds available space.

What to look for: The original task works with sustainable headroom.

What the result means: One short cleanup does not solve ongoing uncontrolled growth.

What did you find?
Blocks are fullFind and review the actual retained data.
Inodes are exhaustedIdentify the source of many small files.
A quota is reachedReview that account or application’s allocation.
The filesystem is healthy againTest the task and monitor growth.
Distribution, desktop & application help

Use current official documentation for the exact distribution, release, desktop, filesystem, network manager and application. Ubuntu 26.04 installer examples are not universal Linux menus. GNOME app catalog screenshots illustrate the named app and may show a different version from the one installed.

Production services, encrypted storage, directory-managed users and unusual filesystem layouts need their responsible administrator and supported recovery procedure. Start with the exact error rather than a generic root command. Keep credentials, keys, private logs and backup contents out of public posts.

Parts & supplies — only if needed

Most initial checks use the supported tools already available. Buy a USB drive, backup destination or replacement hardware only when the task requires it, after checking exact hardware, capacity, power and distribution support.

Technical references

Techub’s troubleshooting guides are written in plain language and informed by manufacturer documentation. Features and procedures can vary by model. Before following model-specific steps, check the manufacturer’s latest instructions for your exact device.

Check how much disk space is leftDebian — df(1) — coreutils — Debian trixie — Debian ManpagesDebian — du(1) — coreutils — Debian trixie — Debian ManpagesDisk Usage Analyzer – Apps for GNOME

Still need help?

Need help with a Linux task?

Bring the distribution/release, desktop or server context, exact error and checks already tried. Explain whether wanted data has a usable independent backup. Keep credentials, keys, private paths and diagnostic data out of public screenshots.

Visit Techub Services ↗