| Previous | Next |
| ERROR_INVALID_OPERATION | ERROR_DEVICE_NOT_AVAILABLE |
ERROR_MEDIA_NOT_AVAILABLE
The medium exists but is not ready for this operation
This state is more specific than an empty pool and different from offline media. The object exists, but a required media resource is unavailable because it is disabled, busy, in transition or otherwise not ready for the requested mount or dismount. DismountNtmsMedia documents this code when one or more media resources needed to complete the operation are not currently available.
Read the logical-media and physical-media state together with pending library requests. Wait for an existing mount, dismount, inventory or eject to finish before retrying. If the object is disabled or located offline, address that explicit state rather than treating the result as a transient drive shortage.
What to inspect
- Inspect side and physical-media state plus current location.
- Check the library request queue for work on the same medium.
- Distinguish busy transition, disabled media and offline location.
References
- Microsoft: releasing and dismounting RSM media
- Microsoft: mounting logical media into drives
- Microsoft: RSM object types, GUIDs and operational state
Looking for a different code? Search another status or error code.
