| Previous | Next |
| VDS_E_LUN_NOT_READY | VDS_E_LUN_FAILED |
VDS_E_LUN_OFFLINE
This HRESULT maps directly to the LUN object state model. VDS_LS_OFFLINE means the logical unit is unavailable. VDS does not allow IVdsLun::Shrink to alter its end boundary while the LUN is in that state, because the operation requires a coherent provider and host view of the storage object.
Why this state matters
Offline LUN state is not the same as an offline Windows disk, an inaccessible filesystem, or one failed MPIO path. Those are related but separate layers. Start with VDS_LUN_PROP.status and the storage subsystem/provider reason for the LUN being offline, then inspect host paths and disks.
Diagnostic focus
- Confirm the LUN status itself is OFFLINE and identify who or what changed that state.
- Check subsystem/controller and path availability before attempting to bring the LUN online.
- Do not use a host disk-online command as proof that the hardware-provider LUN is online; verify both object layers.
- After the LUN is available, refresh capacity and layout data before recalculating and retrying shrink.
Technical references
VDS_LUN_STATUS · IVdsLun · IVdsLun::Shrink · VDS_PATH_INFO · MS-VDS error codes
Looking for a different code? Search another status or error code.