Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VDS_LUN_TYPE enumeration

[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_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;

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

Vds.h;
VdsHwPrv.h (for hardware providers)

See also

VDS Enumerations
VDS_LUN_PROP
IVdsHwProviderStoragePools::CreateLunInStoragePool
IVdsSubSystem::CreateLun
IVdsSubSystem2::CreateLun2

 

 

Show: