What does NTSTATUS 0xC000A007 (STATUS_EOF_ON_GHOSTED_RANGE) mean?

 
Previous Next
STATUS_HANDLE_REVOKED STATUS_IPSEC_QUEUE_OVERFLOW

STATUS_EOF_ON_GHOSTED_RANGE

The operation would place end-of-file inside a ghosted range

This status is more restrictive than STATUS_GHOSTED: the proposed size change would leave the logical end of the file on a range the file system marks as ghosted. Public documentation does not expose a generic method for rewriting that internal range state.

Preserve the requested new file size and the range map returned by the owning API. A safe resolution may require materializing, recalling, or otherwise transforming the range through its provider before changing end-of-file. Blind truncation can discard the only reference to data.

What to inspect

  • Record the old and proposed file sizes.
  • Identify the provider or file-system feature that owns the ghosted range.
  • Use the provider-supported materialize or range-conversion operation before retrying.

References


Looking for a different code? Search another status or error code.