What does HRESULT 0x8004257D (VDS_E_PARTITION_NON_DATA) mean?

 
Previous Next
VDS_E_VOLUME_NOT_FOUND_IN_PACK VDS_E_CRITICAL_PLEX

VDS_E_PARTITION_NON_DATA

VDS documents several partition categories that are not ordinary data volumes: MSR, LDM metadata, and extended partitions are not volume objects, while OEM/ESP/unknown partitions follow special handling. This HRESULT tells the caller that the selected partition cannot be used by an operation defined for primary or logical data partitions.

Why this state matters

Inspect partition type and the extent classification returned by VDS. Do not use the presence of readable sectors as evidence that a partition is a data partition. An extended partition is a container, MSR is reserved for Windows use, and LDM partitions store dynamic-disk metadata/data roles. Select the underlying logical/data partition or a volume-level object appropriate to the intended operation.

Diagnostic focus

  • Query the partition type and VDS extent type for the target range.
  • Distinguish a primary/logical data partition from extended, MSR, LDM, OEM, and ESP categories.
  • Use the VDS volume object when the intended operation is volume-level rather than partition-level.
  • Do not retype a reserved or metadata partition simply to satisfy a data-partition precondition.

Technical references

IVdsAdvancedDisk · IVdsDisk::QueryExtents · VDS_PARTITION_PROP · Basic and Dynamic Disks · MS-VDS error codes


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