| Previous | Next |
| VDS_E_VOLUME_TOO_BIG | VDS_E_CLUSTER_SIZE_TOO_BIG |
VDS_E_CLUSTER_SIZE_TOO_SMALL
VDS_E_CLUSTER_SIZE_TOO_SMALL indicates that the allocation-unit size supplied to the VDS format operation is below the supported limit. The unit is bytes, and VDS documents the format input separately from the disk’s sector geometry.
Validate the formatting contract, not free space
This code does not say that the volume is too small; VDS has VDS_E_VOLUME_TOO_SMALL for that condition. A client that conflates the two can waste time resizing partitions when the rejected input is only dwUnitAllocationSize. Rebuild the format request with a supported allocation unit or let the platform choose the default.
What to verify
- Inspect the numeric allocation-unit value before any unit conversion performed by the user interface or configuration parser.
- Match the requested size to the selected NTFS, FAT, FAT32, or UDF format path documented for the VDS method.
- Keep the original value in diagnostics so repeated failures can be compared with the code that constructed the request.
References
Looking for a different code? Search another status or error code.