October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

ENOSPC With Free Disk Space? Check What the Writer Actually Needs

Free blocks do not guarantee that a Linux process can allocate what it needs. Trace the failing path, identity, inode availability, and backing filesystem.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A Linux process can receive ENOSPC even when df -h shows free blocks: the failed operation may need an inode or directory allocation, may be blocked by a quota or reserved-space policy, or may be writing to a different filesystem than the one you checked. Start by identifying the exact operation, destination path, and filesystem used by the process. The title’s “48 hours” is not independently verified, and without details such as the filesystem, process identity, mount namespace, and quota state, no single cause can be established.

What “free space” does—and does not—tell you

df -h reports block capacity for the filesystem containing the path you give it. Its output does not prove that every kind of allocation is available to a particular process. GNU df can show inode capacity with -i; POSIX also distinguishes space available to unprivileged users from system-reserved space. See the df(1) manual and the POSIX df(1p) specification.

As an Amazon Associate I earn from qualifying purchases.

What to check Why free blocks may not settle the question Useful evidence
Block capacity The path may be on a different filesystem from the one you inspected. df -h /exact/path and mount information for that path.
Inodes and directory allocation Creating a file requires metadata as well as data blocks; inode pressure or a filesystem-specific directory limit may prevent creation. df -i /exact/path, plus filesystem-specific configuration.
Quota and reservation policy A user or group can be unable to allocate space even when the filesystem has capacity available elsewhere. The writer’s UID/GID and quota state; reserved-block configuration where applicable.
Container or overlay backing store A merged container path does not by itself identify the filesystem supplying writable storage. The watcher’s mount namespace and the upper layer’s backing filesystem.
Allocated but untraversed files A pathname traversal can miss storage still allocated to a file held open after unlinking. Confirm that measurements use the same filesystem and namespace, then inspect open files.

These are candidate explanations, not diagnoses. The failing syscall and its complete error can help distinguish them: open(2) documents quota exhaustion as EDQUOT, distinct from a device-space error.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

First, establish what failed and where

Record the failed operation, exact destination, timestamp, full error text, process identity, and container identity if applicable. A message summarized as “no space” can obscure whether the process failed to create a file, extend one, or perform another allocation. Inspect the destination itself rather than assuming the root filesystem or a remembered mountpoint is relevant.

#1 Best Overall
Sandisk 2TB Extreme Portable SSD, Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware, External Solid State Drive, SDSSDE61-2T00-G25
  • Get NVMe solid state performance with up to 1050MB/s read and 1000MB/s write speeds in a portable, high-capacity drive(1) (Based on internal testing; performance may be lower depending on host device & other factors. 1MB=1,000,000 bytes.)
  • Up to 3-meter drop protection and IP65 water and dust resistance mean this tough drive can take a beating(3) (Previously rated for 2-meter drop protection and IP55 rating. Now qualified for the higher, stated specs.)
  • Use the handy carabiner loop to secure it to your belt loop or backpack for extra peace of mind.
  • Help keep private content private with the included password protection featuring 256‐bit AES hardware encryption.(3)
  • Easily manage files and automatically free up space with the SanDisk Memory Zone app.(5). Non-Operating Temperature -20°C to 85°C
df -h /path/to/destination
df -i /path/to/destination
findmnt -T /path/to/destination

findmnt is a suggested operational check; confirm it is installed on the affected system. Compare the results with the process’s view of the path if it runs in a container or a separate mount namespace.

Check the writer’s quota and access to reserved space

Identify the UID and GID under which the watcher runs, and check quota state for that identity and filesystem. Linux documents EDQUOT when a file creation exceeds a user’s block or inode quota in open(2); quota tools can show usage and limits. Filesystem-wide free blocks do not rule out an identity-specific limit.

Rank #2
SSK Portable SSD 250GB External Solid State Hard Drive USB C Up to 1050MB/s
  • Capacity Display Variance: 250GB external ssd often appears as around 232GB on Windows. MacOS can show full 250 GB capacity. This is binary calculation difference and doesn’t affect SSD hard drive actual physical storage
  • 1050 MB/s Speed: Instantly access to your files with blazing-fast 10Gbps external SSD read up to 1050MB/s and write up to 1000MB/s. LED Light indicates USB SSD instant activity
  • Data Security: Solid state drives S.M.A.R.T. health diagnostics​ and adaptive TRIM optimizing data block management ensures consistent write speeds and extends the longevity of the portable SSD
  • USB-C & USB-A Cable: Both cables featuring rapid USB 3.2 Gen2, this USB SSD effortlessly bridges devices, enabling seamless cross-platform file transfers and backup between computers, smartphones, tablets and iPhone
  • Always Fast: No slowdowns for large file transfers. With SLC caching (25% of current available capacity allocated as high-speed cache), this external SSD delivers steady 10Gbps for transfers within the cache capacity

On ext-family filesystems, reserved blocks and the identities allowed to use them can also affect allocation. The ext4(5) manual describes a 5% reserved-space default, along with resuid and resgid controls. That figure is a documented default, not a universal setting: verify the actual filesystem and configuration before relying on it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Look for inode pressure and filesystem-specific limits

If df -i /path/to/destination shows no usable inodes, investigate a large number of small files and the filesystem’s inode behavior. A healthy block-availability figure from df -h does not answer this question; inode information is the relevant view described by df(1).

Rank #3
Kosbees 500 GB External Hard Drives,Portable Hard Drive for Windows,Ultra Slim External HDD Store Compatible with PC, MAC,Laptop,PS4, Xbox one, Xbox 360;Plug and Play Ready
  • 【Plug-and-Play Expandability】 With no software to install, just plug it in and the drive is ready to use in Windows(For Mac,first format the drive and select the ExFat format.
  • 【Fast Data Transfers 】The external hard drives with the USB 3.0 cable to provide super fast transfer speed. The theoretical read speed is as high as 110MB/s-133MB/s, and the write speed is as high as 103MB/s.
  • 【High capacity in a small enclosure 】The small, lightweight design offers up to 500GB capacity, offering ample space for storing large files, multimedia content, and backups with ease. Weighing only 0.35 Lbs, it's easy to carry "
  • 【Wide Compatibility】Supports PS4 5/xbox one/Windows/Linux/Mac and other operating systems, ensuring seamless integration with game consoles,various laptops and desktops .
  • Important Notes for PS/Xbox Gaming Devices: You can play last-gen games (PS4 / Xbox One) directly from an external hard drive. However, to play current-gen games (PS5 / Xbox Series X|S), you must copy them to the console's internal SSD first. The external drive is great for keeping your library on hand, but it can't run the new games.

Also check for allocation constraints specific to the filesystem in use. For example, ext4’s max_dir_size_kb option can cause ENOSPC when a directory exceeds its configured size limit, as documented in ext4(5). Do not assume this option applies to other filesystems or is configured on the affected host.

In a container, identify the writable layer’s backing filesystem

For Docker, another container runtime, or an overlay mount, inspect mount information from the watcher’s mount namespace and determine which filesystem backs its writable upper layer. OverlayFS presents a layered view: the merged directory alone does not establish the upper layer’s available capacity. The Linux kernel OverlayFS documentation describes the layered model; runtime and mount configuration determine the actual backing store.

Rank #4
Sale
Samsung T7 Portable SSD 1TB Titan Gray, USB 3.2 Gen 2, Up to 1,050MB/s | Reliable External Solid State Drive Storage for Gaming, Students, Professionals (MU-PC1T0T/AM)
  • MADE FOR THE MAKERS: Create; Explore; Store; The T7 Portable SSD delivers fast speeds and durable features to back up any endeavor; Build your video editing empire, file your photographs or back up your blogs all in an instant
  • SHARE IDEAS IN A FLASH: Don’t waste a second waiting and spend more time doing; The T7 is embedded with PCIe NVMe technology that brings fast read and write speeds up to 1,050/1,000 MB/s¹, making it almost twice as fast as the T5
  • ALWAYS MAKE THE SAVE: Compact design with massive capacity; With capacities up to 4TB, save exactly what you need to your drive – from large working files to game data and everything in between
  • ADAPTS TO EVERY NEED: Whether using a PC or mobile phone, count on the T7 for extensive compatibility²; It’s a true team player when it comes to heavy-duty application usage or file-saving
  • HI RESOLUTION VIDEO RECORDING: Record Ultra High Resolution (4K 60fs) videos directly onto the T7 Portable SSD with your favorite camera or mobile devices; Supports iPhone 15 Pro Res 4K at 60fps video and more³
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Reconcile differences between df and du

df reports filesystem-level usage, while du estimates space through directory traversal. Before interpreting a mismatch, make sure both commands are examining the same filesystem and namespace. Their measurements answer different questions; see the du(1) manual for its usage-estimation behavior.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If du accounts for much less than df, one testable hypothesis is that a process still has a large file open after it was unlinked. Such storage may remain allocated even though ordinary pathname traversal no longer finds the file. Check for open, deleted files on the host before treating this as the cause; a mismatch alone does not prove it.

Best Value
SSK Portable SSD 500GB External Solid State Hard Drive USB C Up to 1050MB/s
  • Capacity Display Variance: 500GB external ssd often appears as around 465GB on Windows. MacOS can show full 500 GB capacity. This is binary calculation difference and doesn’t affect SSD hard drive actual physical storage
  • 1050 MB/s Speed: Instantly access to your files with blazing-fast 10Gbps external SSD read up to 1050MB/s and write up to 1000MB/s. LED Light indicates USB SSD instant activity
  • Data Security: Solid state drives S.M.A.R.T. health diagnostics​ and adaptive TRIM optimizing data block management ensures consistent write speeds and extends the longevity of the portable SSD
  • USB-C & USB-A Cable: Both cables featuring rapid USB 3.2 Gen2, this USB SSD effortlessly bridges devices, enabling seamless cross-platform file transfers and backup between computers, smartphones, tablets and iPhone
  • Always Fast: No slowdowns for large file transfers. With SLC caching (25% of current available capacity allocated as high-speed cache), this external SSD delivers steady 10Gbps for transfers within the cache capacity

Use evidence to narrow the cause

  • If the exact path’s df -i output shows inode pressure, investigate inode exhaustion and small-file growth.
  • If the writer’s quota is exhausted, identify the applicable user, group, or other configured quota rather than treating filesystem-wide free blocks as available to that writer.
  • If ext4 is in use, verify reserved-block settings, permitted identities, and any configured directory-size limit.
  • If the process runs in a container or separate mount namespace, compare its mount view with the host and identify the writable layer’s backing filesystem.
  • If df and du disagree, first align their path, filesystem, and namespace; then check for allocated files no longer visible by pathname.

Until those checks identify the resource and policy involved, free blocks on one df display are not enough to explain—or dismiss—the watcher’s ENOSPC.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.