What does HRESULT 0x80042574 (VDS_E_SHRINK_SIZE_TOO_BIG) mean?

 
Previous Next
VDS_E_SHRINK_SIZE_LESS_THAN_MIN VDS_E_UNRECOVERABLE_PROVIDER_ERROR

VDS_E_SHRINK_SIZE_TOO_BIG

VDS_E_SHRINK_SIZE_TOO_BIG means the caller asked to remove too many bytes. Shrink first consolidates movable files, then truncates the filesystem and volume; metadata and immovable files limit how far the end of the volume can move.

Reduce the request using current reclaimable-space data

  • Query the maximum reclaimable bytes close to the actual operation.
  • Account for cluster rounding and the minimum remaining filesystem size.
  • Retry only with a smaller desired amount after refreshing volume state.

Total free space is not the same as shrinkable space. Free blocks can be scattered before immovable metadata, page-related files or other structures. Defragmentation or moving data may help, but the application must still honor the asynchronous shrink result and verify the final volume size.

IVdsVolume::Shrink · Detailed shrink · QueryMaxReclaimableBytes


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