| Previous | Next |
| STATUS_VOLMGR_VOLUME_LENGTH_INVALID | STATUS_VOLMGR_VOLUME_NOT_MIRRORED |
STATUS_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE
STATUS_VOLMGR_VOLUME_LENGTH_NOT_SECTOR_SIZE_MULTIPLE identifies a precise arithmetic error: the requested volume length cannot be represented as an integral number of sectors on the target disk. A volume boundary must end on a sector boundary, even when the requested capacity was entered in decimal or GiB units.
This differs from general sector-alignment errors because the rejected value is the volume length itself. Correcting only the start offset will not make a nonintegral length valid.
What to calculate
- Obtain the target disk's logical-sector size and divide the requested volume length by it.
- Trace conversions from user-facing units, API structures, and JSON/XML configuration to the final byte count.
- Apply any rounding only before a new layout is created; never truncate or extend an existing volume boundary without a supported data-migration plan.
Microsoft: DRIVE_LAYOUT_INFORMATION_EX
Microsoft: Volume Manager error codes
Looking for a different code? Search another status or error code.
