What does HRESULT 0x80042595 (VDS_E_DISK_NOT_OFFLINE) mean?

 
Previous Next
VDS_E_FS_NOT_DETERMINED VDS_E_FAILED_TO_ONLINE_DISK

VDS_E_DISK_NOT_OFFLINE

VDS_E_DISK_NOT_OFFLINE indicates a state mismatch: the caller attempted an online transition or another operation requiring an offline disk, but VDS reports the disk as already online. The built-in description is historically worded around this condition.

Re-read state instead of repeating the transition

  • Query disk status and flags immediately before online/offline changes.
  • Serialize competing storage-management clients that can change disk state.
  • Refresh VDS after SAN policy, hot-plug or provider notifications.

This result is often harmless in an idempotent “ensure online” workflow, but the caller must still verify read-only flags and health. Do not treat online status as proof that volumes are mounted or usable. If the intended operation actually required the disk offline, identify which component brought it online before forcing another transition.

IVdsDiskOnline · Online · Disk properties


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