2.2.4.17.4 SVHDX_META_OPERATION_RESIZE_VIRTUAL_DISK Structure
The SVHDX_META_OPERATION_RESIZE_VIRTUAL_DISK packet is issued by a server as part of a SVHDX_META_OPERATION_START_REQUEST operation, when the meta-operation type indicates a SvhdxMetaOperationTypeResize. The server issues such a request to resize the shared virtual disk.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
NewSize |
|||||||||||||||||||||||||||||||
|
... |
|||||||||||||||||||||||||||||||
|
ExpandOnly |
A |
B |
Reserved |
||||||||||||||||||||||||||||
NewSize (8 bytes): This specifies the new size of the shared virtual disk.
ExpandOnly (1 byte): A Boolean value, where zero represents FALSE and nonzero represents TRUE. A nonzero value indicates that the shared virtual disk size can only expand.
A - AllowUnsafeVirtualSize (1 byte): A Boolean value, where zero represents FALSE and nonzero represents TRUE. A nonzero value indicates that the shared virtual disk size can be less than the data it currently contains.
B - ShrinkToMinimumSafeSize (1 byte): A Boolean value, where zero represents FALSE and nonzero represents TRUE. A nonzero value indicates that the shared virtual disk size can be shrunk to the data it currently contains.
Reserved (1 byte): This value MUST be set to 0 by the client and MUST be ignored by the server.