Skip to content

Latest commit

 

History

History
108 lines (74 loc) · 3.68 KB

ns-vds-vds_input_disk.md

File metadata and controls

108 lines (74 loc) · 3.68 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:vds._VDS_INPUT_DISK
VDS_INPUT_DISK (vds.h)
Defines the details of an input disk.
VDS_INPUT_DISK
VDS_INPUT_DISK structure [VDS]
base.vds_input_disk
vds/_VDS_INPUT_DISK
base\vds_input_disk.htm
base
837981e5-8600-4add-85cf-a802615133d3
12/05/2018
VDS_INPUT_DISK, VDS_INPUT_DISK structure [VDS], base.vds_input_disk, vds/_VDS_INPUT_DISK
vds.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
VDS_INPUT_DISK
19H1
_VDS_INPUT_DISK
vds/_VDS_INPUT_DISK
VDS_INPUT_DISK
vds/VDS_INPUT_DISK
c++
APIRef
kbSyntax
HeaderDef
Vds.h
VDS_INPUT_DISK

VDS_INPUT_DISK structure

-description

[Beginning with Windows 8 and Windows Server 2012, the Virtual Disk Service COM interface is superseded by the Windows Storage Management API.]

Defines the details of an input disk.

-struct-fields

-field diskId

The GUID of the disk. This field is required.

-field ullSize

Disk size in bytes. This field is required. The provider policy determines the offset, length, and number of disk extents allocated for an input disk.

-field plexId

When extending a volume, the GUID for the plex to which the disk belongs. VDS ignores this member when creating a volume or repairing a RAID-5 volume.

Note  Callers can extend a volume only by extending all members of all plexes in the same operation.
 

-field memberIdx

The member index of the disk to which the extent belongs. Either specify a memberIdx for all disks or specify it for none. VDS uses disks with the same memberIdx in the order they appear in the array. For example, the first disk in the array is always used first.

Note  Do not specify memberIdx when repairing a RAID-5 volume.
 

-remarks

A disk cannot contribute more than one plex to the same volume; however, a disk can contribute to multiple volumes.

Callers can specify a member index for all disks or use the default member index for all disks. Never mix specified and default member indexes for the disks included in the same array. Avoid using a default member index in conjunction with the IVdsVolume::Extend method, unless the volume has only one plex with only one member.

The IVdsPack::CreateVolume, IVdsVolume::Extend, and IVdsVolumePlex::Repair methods pass this structure as an argument to specify disk input information.

-see-also

IVdsPack::CreateVolume

IVdsVolume::Extend

IVdsVolumePlex::Repair

VDS Structures