| Previous | Next |
| kIOReturnNoChannels | kIOReturnPortExists |
kIOReturnNoSpace
Space has to be identified
kIOReturnNoSpace means there is no space for the requested data or allocation, but the exact resource is family-specific. It can concern media capacity, a device-managed queue or address range, an allocation window, or a lower storage layer. It should not automatically be translated to “the Mac disk is full,” because the affected space may be inside a driver or peripheral rather than the host filesystem.
Before freeing unrelated files or changing quotas, identify the component that returned the status and the resource it was trying to allocate. The context of the call—transfer, buffer mapping, media write, or configuration—determines both the correct measurement and the safe remediation.
How to diagnose
- Log the requested byte count, target device, operation type, and any device-specific capacity information.
- For storage media, query available capacity and distinguish the volume, partition, and underlying medium.
- For mapping or DMA-related paths, inspect alignment and buffer constraints as well as raw size.
- Avoid treating
kIOReturnNoResourcesas identical: that status can refer to non-space resources such as descriptors or controller capacity.
References
- Apple IOReturn.h reference
- Apple IOKit Fundamentals: Architectural Overview
- Apple Disk Arbitration Programming Guide
Looking for a different code? Search another status or error code.