What does HRESULT 0x8004270F (VDS_E_NO_DISK_PATHNAME) mean?

 
Previous Next
VDS_E_MULTIPLE_DISCOVERY_DOMAINS VDS_E_ISCSI_LOGOUT_INCOMPLETE

VDS_E_NO_DISK_PATHNAME

This HRESULT is about VDS object-to-device mapping. A disk can be present in the VDS object model while the service fails to obtain the pathname needed by operations that address the Windows disk device. VDS_DISK_PROP and VDS_DISK_PROP2 expose disk identity, status, flags, size, and partition style; the extended structure also reports a location path and an offline reason.

Why this state matters

The failure is not equivalent to “disk not found.” The VDS object may already have been enumerated. The useful question is whether Plug and Play, the disk class stack, and the VDS cache still agree on the device instance represented by that object. A stale object or an incomplete arrival transition can leave management code with metadata but without a usable device pathname.

Diagnostic focus

  • Log the VDS disk object ID, disk status, flags, device type, and the location path returned by GetProperties2.
  • Correlate the object with the current disk device instance instead of assuming the previously cached pathname is still valid.
  • Use Reenumerate when disks were added or removed, and Refresh when the service view of known objects may be stale.
  • Distinguish pathname retrieval failure from later access-denied or I/O errors that occur after a valid disk device has been opened.

Technical references

VDS_DISK_PROP · VDS_DISK_PROP2 · IVdsDisk3::GetProperties2 · IVdsService::Reenumerate · IVdsService::Refresh


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