Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSCluster_Disk
Collapse the table of content
Expand the table of content

MSCluster_Disk class

A dynamic WMI class that represents a disk.

Windows Server 2008 R2 and Windows Server 2008:  

Before Windows Server 2012 this class inherited directly from MSCluster_LogicalElement. Beginning in Windows Server 2012 it inherits from MSCluster_ClusterDisk and does not add any properties of its own.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider("MS_CLUSTER_PROVIDER"), UUID("{CE14ADB3-953E-4243-8001-5AF0AA83FD1A}"), AMENDMENT]
class MSCluster_Disk : MSCluster_ClusterDisk
{
  string   Caption;
  string   Description;
  datetime InstallDate;
  string   Name;
  string   Status;
  uint32   Flags;
  uint32   Characteristics;
  string   Id;
  uint32   Signature;
  string   GptGuid;
  uint32   ScsiPort;
  uint32   ScsiBus;
  uint32   ScsiTargetID;
  uint32   ScsiLUN;
  uint64   Size;
  uint32   Number;
  string   VirtualDiskId;
  string   StoragePoolId;
  string   UniqueId;
  UInt16   UniqueIdFormat;
};

Members

The MSCluster_Disk class has these types of members:

Properties

The MSCluster_Disk class has these properties.

Caption
Data type: string
Access type: Read-only
Qualifiers: MaxLen (64)

Provides a short textual description of the disk.

Inherited from MSCluster_LogicalElement.

Characteristics
Data type: uint32
Access type: Read-only

Provides the characteristics of the disk. For a description of these characteristics, see CLUSCTL_RESOURCE_GET_CHARACTERISTICS.

Inherited from MSCluster_LogicalElement.

Windows Server 2008 R2, Windows Server 2008, and :  

This property is read/write before Windows Server 2012.

Description
Data type: string
Access type: Read-only

Provides a textual description of the disk.

Inherited from MSCluster_LogicalElement.

Flags
Data type: uint32
Access type: Read-only

Provides access to the flags set for the disk. For a description of these flags, see CLUSCTL_RESOURCE_GET_FLAGS.

Inherited from MSCluster_LogicalElement.

Windows Server 2008 R2 and Windows Server 2008:  

This property is read/write before Windows Server 2012.

GptGuid
Data type: string
Access type: Read-only

Provides the GUID for GPT disks. For MBR disks, this property is not populated.

Inherited from MSCluster_ClusterDisk.

Id
Data type: string
Access type: Read-only
Qualifiers: Key

Provides the ID of the disk. For virtual disks, the property value is "Space Id". For non-virtual disks, the property value contains the same value as either the GptGuid property (for GPT disks) or the Signature property (for MBR disks).

Inherited from MSCluster_ClusterDisk.

InstallDate
Data type: datetime
Access type: Read-only
Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5")

Indicates when the disk was installed. A lack of a value does not indicate that the element is not installed.

Inherited from MSCluster_LogicalElement.

Name
Data type: string
Access type: Read-only
Qualifiers: MaxLen (256)

Defines the label by which the disk is known.

Inherited from MSCluster_LogicalElement.

Number
Data type: uint32
Access type: Read-only

The disk number on the node hosting the disk.

Inherited from MSCluster_ClusterDisk.

Windows Server 2008 R2 and Windows Server 2008:  

This property is not supported before Windows Server 2012.

ScsiBus
Data type: uint32
Access type: Read-only

Provides the SCSI bus of the disk.

Inherited from MSCluster_ClusterDisk.

ScsiLUN
Data type: uint32
Access type: Read-only

Provides the SCSI LUN of the disk.

Inherited from MSCluster_ClusterDisk.

ScsiPort
Data type: uint32
Access type: Read-only

Provides the SCSI port number of the disk.

Inherited from MSCluster_ClusterDisk.

ScsiTargetID
Data type: uint32
Access type: Read-only

Provides the SCSI target ID of the disk.

Inherited from MSCluster_ClusterDisk.

Signature
Data type: uint32
Access type: Read-only

Provides the signature for MBR disks. For GPT disks, this property is not populated.

Inherited from MSCluster_ClusterDisk.

Size
Data type: uint64
Access type: Read-only

The physical size of the disk.")

Inherited from MSCluster_ClusterDisk.

Windows Server 2008 R2 and Windows Server 2008:  

This property is not supported before Windows Server 2012.

Status
Data type: string
Access type: Read-only
Qualifiers: MaxLen (10)

Indicates the current status of the disk.

Inherited from MSCluster_LogicalElement.

Values include the following:

"OK"

"Error"

"Degraded"

"Unknown"

"Pred Fail"

"Starting"

"Stopping"

"Service"

"Stressed"

"NonRecover"

"No Contact"

"Lost Comm"

StoragePoolId
Data type: string
Access type: Read-only

Provides the storage pool ID for MBR disks. For GPT disks, this property is not populated.

Inherited from MSCluster_ClusterDisk.

UniqueId
Data type: string
Access type: Read-only

UniqueId of a disk contains the VPD Page 0x83 information that uniquely identifies this disk. The following types are accepted (in order of precedence): 8 - SCSI Name String; 3 - FCPH Name; 2 - EUI64, 1 - Vendor Id, 0 - Vendor Specific. If the disk is an exposed VirtualDisk, UniqueId is used map the association between the two objects.

Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, and Windows Server 2008:  

This method is not supported before Windows Server 2016 Technical Preview.

UniqueIdFormat
Data type: UInt16
Access type: Read-only

Indicates what VPD Page 0x83 descriptor type was used to populate the UniqueId field.

Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 R2, and Windows Server 2008:  

This method is not supported before Windows Server 2016 Technical Preview.

Vendor Specific (0)
Vendor Id (1)
EUI64 (2)
FCPH Name (3)
SCSI Name String (8)
VirtualDiskId
Data type: string
Access type: Read-only

The id of the virtual disk.

Inherited from MSCluster_ClusterDisk.

Windows Server 2008 R2 and Windows Server 2008:  

This property is not supported before Windows Server 2012.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Namespace

Root\MSCluster

MOF

ClusWmi.mof

DLL

ClusWMI.dll

See also

MSCluster_ClusterDisk
Failover Cluster Provider Reference

 

 

Show:
© 2015 Microsoft