Linux umount Error: target is busy (EBUSY)

Open file handles, active working directories, or submounts still reference the mountpoint.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: Linux umount Error Platform: Linux
Common Root Causes:
  • Open file handles, active working directories, or submounts still reference the mountpoint.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Stop services holding open handles or exit shells inside the mountpoint before unmounting.
Safe Diagnostic Command:
lsof +f -- <mountpoint> || fuser -vm <mountpoint>
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Open file handles, active working directories, or submounts still reference the mountpoint. Recommended diagnostic: `lsof +f -- <mountpoint> || fuser -vm <mountpoint>`. Remediation: Stop services holding open handles or exit shells inside the mountpoint before unmounting.

Worked Examples

  • Run `lsof +f -- <mountpoint> || fuser -vm <mountpoint>` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-linux-ebusy-umount-target-busy · Independently verified: 2026-11-25

Related Resources