| Previous | Next |
| VDS_E_FORMAT_NOT_SUPPORTED | VDS_E_VDISK_NOT_OPEN |
VDS_E_COMPRESSION_NOT_SUPPORTED
VDS format APIs can request compression when creating a file system. IVdsVolumeMF2::FormatEx exposes bEnableCompression, while format-support metadata includes capability flags describing file-system behavior. Microsoft notes that the compression parameter is ignored when the file system is not NTFS for that API path, and VDS also publishes a specific compression-not-supported HRESULT.
Why this state matters
The right diagnostic is to pair the requested file-system type with its advertised format-support flags and the exact format method used. Do not treat compression as an independent volume attribute that can always be enabled after choosing any file system. A provisioning layer should validate this option before starting the asynchronous format so the error does not appear after destructive work has begun.
Diagnostic focus
- Log the requested file-system type, revision, allocation-unit size, and compression option.
- Query
VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP.ulFlagsfor the chosen format target. - Disable compression or select a file system that advertises the required capability instead of blindly retrying.
- If format succeeded with a compression warning, preserve that result separately from this precondition/error status.
Technical references
IVdsVolumeMF2::FormatEx · IVdsVolumeMF3::FormatEx2 · QueryFileSystemFormatSupport · VDS_FILE_SYSTEM_FORMAT_SUPPORT_FLAG · VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP
Looking for a different code? Search another status or error code.
