ENOSPC: no space left on device

The disk or inode table filled up mid-operation.

62 issues · 4 open · 58 resolved (94%) · first seen Sep 15, 2025

First response · local

What to do now

Most likely: The operating system rejected a file or directory operation.

  1. Read the first path in the error and verify that it exists and belongs to the expected user.
  2. Check disk space, permissions, symlinks and whether another process holds the target.
  3. Reproduce with the smallest affected path before changing project-wide permissions.

These are conservative triage steps, not an official Anthropic fix. Use the issue and workaround evidence below before making a destructive configuration change.

Is this getting better or worse?

This class of problem is holding steady. 22 new reports in the last 90 days vs 29 in the 90 before — -24%. The open backlog peaked at 16 in 2026-06 and sits at 4 today.

0 4 8 12 16 2025-092026-012026-052026-08
2025-09 — First reports2026-06 — Peak backlog (16 open)

Derived by counting each matching issue from its creation date until it closed. First-party computation over the anthropics/claude-code tracker — the trend is not published anywhere upstream.

Which builds report this

35 of these reports name the Claude Code build they were running, spanning 23 releases. Heaviest reporters:

Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.

Do these get fixed?

Median time to close is 31 days across 58 closures. Of the 58 closures with a recorded reason, 10% were closed as completed and 52 as not-planned or duplicate. The most recent completed fix landed in 2026-08.

Workarounds reported by the community

22 of these issues post a workaround someone says worked. The highest-engagement ones:

Task runner reports ENOSPC on subprocess output despite disk having free space
…rsation (new UUID) does NOT durably fix it, contrary to the workaround mentioned here. A new session works for the first command or two (builtins like pass), then the next external process ( , , ) hits ENOSPC — and this…
Found in the thread of #63909 · still open
Bash tool aborts with "temp filesystem ... is full (0MB free)" / ENOSPC when disk is NOT full (macOS)
…on a volume with abundant real free space and no snapshots. Workarounds observed - Redirecting a command's output to a file under and reading that file avoids it 100% of the time. - Restarting the CLI also clears it, sug…
Found in the description of #65915 · resolved
[BUG] Cowork VM disk full on session start - ENOSPC blocks all Bash commands
…that still work: Read, Write, Edit, Glob, Grep, MCP tools. Workaround Built a full 22-slide PptxGenJS presentation by writing scripts to the mounted Mac folder and executing them via ( ). This works but is significantly…
Found in the description of #37581 · resolved
[BUG] Startup crash in Docker: ENOSPC from settings file watcher
…Terminal/Shell Terminal.app (macOS) Additional Information Workaround - Deleting the settings file(s) lets claude start successfully. This is a bit heavy-handed but confirms watching config files is non-essential to cor…
Found in the description of #7624 · resolved
[Bug] Spurious ENOSPC errors in task output capture with racing cleanup deletes
…making the CLI largely unusable until a lucky clean window. Workaround that reliably dodges it: redirect all command output to a file outside the tasks dir (e.g. cmd ~/out.txt 2 &1; true) and read that file, or otherwise…
Found in the description of #65067 · resolved

Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.

Matching issues 1–62

Ranked by community engagement (reactions weighted over comments).

Related aggregations

  1. ENOENT: no such file or directory

    1,200 issues
  2. EISDIR: illegal operation on a directory

    495 issues
  3. EACCES / EPERM: permission denied

    415 issues
  4. ENOTEMPTY: directory not empty

    88 issues
  5. EEXIST: file already exists

    138 issues
  6. EBUSY: resource busy or locked

    127 issues