Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]
Defines the set of valid types for a LUN.
Syntax
typedef enum _VDS_LUN_TYPE {
VDS_LT_UNKNOWN = 0,
VDS_LT_DEFAULT = 1,
VDS_LT_FAULT_TOLERANT = 2,
VDS_LT_NON_FAULT_TOLERANT = 3,
VDS_LT_SIMPLE = 10,
VDS_LT_SPAN = 11,
VDS_LT_STRIPE = 12,
VDS_LT_MIRROR = 13,
VDS_LT_PARITY = 14,
VDS_LT_RAID2 = 15,
VDS_LT_RAID3 = 16,
VDS_LT_RAID4 = 17,
VDS_LT_RAID5 = 18,
VDS_LT_RAID6 = 19,
VDS_LT_RAID01 = 20,
VDS_LT_RAID03 = 21,
VDS_LT_RAID05 = 22,
VDS_LT_RAID10 = 23,
VDS_LT_RAID15 = 24,
VDS_LT_RAID30 = 25,
VDS_LT_RAID50 = 26,
VDS_LT_RAID51 = 27,
VDS_LT_RAID53 = 28,
VDS_LT_RAID60 = 29,
VDS_LT_RAID61 = 30
} VDS_LUN_TYPE, *PVDS_LUN_TYPE;
Constants
VDS_LT_UNKNOWNValue: 0 This value is reserved. |
VDS_LT_DEFAULTValue: 1 The LUN type is default automagic—the provider configures the LUN automatically based on hints. This value is used as an input parameter only; it is not returned by queries. |
VDS_LT_FAULT_TOLERANTValue: 2 The LUN type is fault tolerant automagic—the provider configures the LUN automatically based on hints, but with the requirement that the resulting LUN is fault tolerant. This value is used as an input parameter only; it is not returned by queries. |
VDS_LT_NON_FAULT_TOLERANTValue: 3 The LUN type is non-fault tolerant automagic—the provider configures the LUN automatically based on hints, but with the requirement that the resulting LUN is non-fault tolerant. This value is used as an input parameter only; it is not returned by queries. |
VDS_LT_SIMPLEValue: 10 The LUN type is simple—it is composed of extents from exactly one drive. |
VDS_LT_SPANValue: 11 The LUN's type is spanned—it is composed of extents from more than one drive. |
VDS_LT_STRIPEValue: 12 The LUN type is striped, which is equivalent to RAID 0. |
VDS_LT_MIRRORValue: 13 The LUN type is mirrored, which is equivalent to RAID 1. |
VDS_LT_PARITYValue: 14 The LUN type is striped with parity, which accounts for RAID levels 3, 4, 5, and 6. |
VDS_LT_RAID2Value: 15 The LUN type is RAID level 2. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID3Value: 16 The LUN type is RAID level 3. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID4Value: 17 The LUN type is RAID level 4. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID5Value: 18 The LUN type is RAID level 5. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID6Value: 19 The LUN type is RAID level 6. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID01Value: 20 The LUN type is RAID level 0+1. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID03Value: 21 The LUN type is RAID level 0+3. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID05Value: 22 The LUN type is RAID level 0+5. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID10Value: 23 The LUN type is RAID level 1+0. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID15Value: 24 The LUN type is RAID level 1+5. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID30Value: 25 The LUN type is RAID level 3+0. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID50Value: 26 The LUN type is RAID level 5+0. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID51Value: 27 The LUN type is RAID level 5+1. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID53Value: 28 The LUN type is RAID level 5+3. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID60Value: 29 The LUN type is RAID level 6+0. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
VDS_LT_RAID61Value: 30 The LUN type is RAID level 6+1. Windows Server 2008, Windows Vista and Windows Server 2003: This value is not supported. |
Remarks
The
IVdsSubSystem::CreateLun method passes a VDS_LUN_TYPE value as a parameter to set a new LUN type, and the VDS_LUN_PROP structure includes a VDS_LUN_TYPE value as a member to indicate an existing LUN type.
If the IVdsSubSystem::CreateLun method returns a VDS_LUN_TYPE value that the caller does not recognize, the caller should display the LUN type as unknown. The caller should not attempt to map the unrecognized LUN type to another LUN type.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | vds.h |
See also
IVdsHwProviderStoragePools::CreateLunInStoragePool
IVdsSubSystem2::CreateLun2