| Previous | Next |
| STATUS_VHD_MISSING_CHANGE_TRACKING_INFORMATION | STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE |
STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA
STATUS_VHD_RESIZE_WOULD_TRUNCATE_DATA is a safety refusal for a proposed shrink. The provider determined that reducing the virtual disk to the requested size could remove user data at virtual offsets beyond the new boundary.
It differs from STATUS_VHD_COULD_NOT_COMPUTE_MINIMUM_VIRTUAL_SIZE, where the provider cannot establish a safe lower bound, and from STATUS_VHD_ALREADY_AT_OR_BELOW_MINIMUM_VIRTUAL_SIZE, where the current or requested size has already reached that bound. This status says the requested target is unsafe.
Shrink in the correct order
- Back up the virtual disk and reduce or reorganize guest partitions and filesystems with guest-aware tooling before changing the VHDX size.
- Inspect the VHDX MinimumSize and confirm the target is not below it before issuing a shrink operation.
- Do not treat host free space, compaction or sparse-file holes as evidence that a lower virtual capacity is safe.
References
Looking for a different code? Search another status or error code.