VDS_LUN_TYPE enumeration (vdshwprv.h)

[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,
  VDS_LT_DEFAULT,
  VDS_LT_FAULT_TOLERANT,
  VDS_LT_NON_FAULT_TOLERANT,
  VDS_LT_SIMPLE,
  VDS_LT_SPAN,
  VDS_LT_STRIPE,
  VDS_LT_MIRROR,
  VDS_LT_PARITY,
  VDS_LT_RAID2,
  VDS_LT_RAID3,
  VDS_LT_RAID4,
  VDS_LT_RAID5,
  VDS_LT_RAID6,
  VDS_LT_RAID01,
  VDS_LT_RAID03,
  VDS_LT_RAID05,
  VDS_LT_RAID10,
  VDS_LT_RAID15,
  VDS_LT_RAID30,
  VDS_LT_RAID50,
  VDS_LT_RAID51,
  VDS_LT_RAID53,
  VDS_LT_RAID60,
  VDS_LT_RAID61
} VDS_LUN_TYPE, *PVDS_LUN_TYPE;

Constants

 
VDS_LT_UNKNOWN
This value is reserved.
VDS_LT_DEFAULT
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_TOLERANT
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_TOLERANT
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_SIMPLE
The LUN type is simple—it is composed of extents from exactly one drive.
VDS_LT_SPAN
The LUN's type is spanned—it is composed of extents from more than one drive.
VDS_LT_STRIPE
The LUN type is striped, which is equivalent to RAID 0.
VDS_LT_MIRROR
The LUN type is mirrored, which is equivalent to RAID 1.
VDS_LT_PARITY
The LUN type is striped with parity, which accounts for RAID levels 3, 4, 5, and 6.
VDS_LT_RAID2
The LUN type is RAID level 2.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID3
The LUN type is RAID level 3.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID4
The LUN type is RAID level 4.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID5
The LUN type is RAID level 5.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID6
The LUN type is RAID level 6.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID01
The LUN type is RAID level 0+1.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID03
The LUN type is RAID level 0+3.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID05
The LUN type is RAID level 0+5.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID10
The LUN type is RAID level 1+0.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID15
The LUN type is RAID level 1+5.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID30
The LUN type is RAID level 3+0.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID50
The LUN type is RAID level 5+0.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID51
The LUN type is RAID level 5+1.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID53
The LUN type is RAID level 5+3.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID60
The LUN type is RAID level 6+0.

Windows Server 2008, Windows Vista and Windows Server 2003:  This value is not supported.
VDS_LT_RAID61
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.

Note  Additional constants might be added to the VDS_LUN_TYPE enumeration in future Windows versions. For this reason, your application must be designed to gracefully handle an unrecognized VDS_LUN_TYPE enumeration constant.
 

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header vdshwprv.h

See also

IVdsHwProviderStoragePools::CreateLunInStoragePool

IVdsSubSystem2::CreateLun2

IVdsSubSystem::CreateLun

VDS Enumerations

VDS_LUN_PROP