MSFT_StorageAttributes class

Represents the storage attributes for a storage pool.

The following syntax is simplified from Managed Object Format (MOF) code.

Syntax

class MSFT_StorageAttributes
{
  String  Id;
  String  StoragePoolId;
  String  TargetServer;
  String  TargetNamespace;
  String  TargetClass;
  String  StoragePoolFriendlyName;
  String  Name;
  String  Description;
  UInt16  DataRedundancyMin;
  UInt16  DataRedundancyMax;
  UInt16  DataRedundancyDefault;
  UInt16  PackageRedundancyMin;
  UInt16  PackageRedundancyMax;
  UInt16  PackageRedundancyDefault;
  UInt16  ExtentStripeLengthMin;
  UInt16  ExtentStripeLengthMax;
  UInt16  ExtentStripeLengthDefault;
  UInt64  UserDataStripeDepthMin;
  UInt64  UserDataStripeDepthMax;
  UInt64  UserDataStripeDepthDefault;
  UInt16  ParityLayout;
  Boolean NoSinglePointOfFailure;
};

Members

The MSFT_StorageAttributes class has these types of members:

Properties

The MSFT_StorageAttributes class has these properties.

DataRedundancyDefault
Data type: UInt16
Access type: Read/write

A user-modifiable value between DataRedundancyMin and DataRedundancyMax which should be the default goal for all virtual disks created after this default has been set. For new concrete pools, the default should be inherited from the primordial pool's capability. In the case of primordial pool, the initial default value is chosen by the storage provider.

DataRedundancyMax
Data type: UInt16
Access type: Read-only

The maximum number of complete copies of data that can be maintained. This property is reported by the storage provider based on the physical configuration of the storage pool.

DataRedundancyMin
Data type: UInt16
Access type: Read-only

The minimum number of complete copies of data that can be maintained. This property is reported by the storage provider based on the physical configuration of the storage pool.

Description
Data type: String
Access type: Read/write

A free-form string that describes the storage attribute's purpose, when a user should consider using it, and any other information that might be relevant.

ExtentStripeLengthDefault
Data type: UInt16
Access type: Read/write

A user-modifiable value between ExtentStripeLengthMin and ExtentStripeLengthMin which should be the default goal for all virtual disks created after this default has been set. For new concrete pools, the default should be inherited from the primordial pool's capability. In the case of primordial pool, the initial default value is chosen by the storage provider.

ExtentStripeLengthMax
Data type: UInt16
Access type: Read-only

The maximum number of columns that a virtual disk can have. This property is reported by the storage provider based on the physical configuration of the storage pool.

ExtentStripeLengthMin
Data type: UInt16
Access type: Read-only

The minimum number of columns that a virtual disk can have. This property is reported by the storage provider based on the physical configuration of the storage pool.

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

The identifier for the storage attribute used by the managing storage provider. Note that the same physical storage attribute may have different identifier values if it is managed by multiple storage providers.

Name
Data type: String
Access type: Read-only

The name of the storage attribute.

NoSinglePointOfFailure
Data type: Boolean
Access type: Read-only

PackageRedundancyDefault
Data type: UInt16
Access type: Read/write

A user-modifiable value between PackageRedundancyMin and PackageRedundancyMax which should be the default goal for all virtual disks created after this default has been set. For new concrete pools, the default should be inherited from the primordial pool's capability. In the case of primordial pool, the initial default value is chosen by the storage provider.

PackageRedundancyMax
Data type: UInt16
Access type: Read-only

The maximum number of physical disk failures can occur before data loss occurs. This property is reported by the storage provider based on the physical configuration of the storage pool.

PackageRedundancyMin
Data type: UInt16
Access type: Read-only

The minimum number of physical disk failures can occur before data loss occurs. This property is reported by the storage provider based on the physical configuration of the storage pool.

ParityLayout
Data type: UInt16
Access type: Read-only

The parity layout for this particular storage attribute. If this property is zero, the storage attribute does not use parity.

ValueMeaning
Non-rotated Parity
1

The storage attribute uses a non-rotated parity layout.

Rotated Parity
2

The storage attribute uses a rotated parity layout.

 

StoragePoolFriendlyName
Data type: String
Access type: Read-only

The friendly name for the storage pool.

StoragePoolId
Data type: String
Access type: Read-only
Qualifiers: Key

The identifier of the storage pool.

TargetClass
Data type: String
Access type: Read-only
Qualifiers: Key

This is the class name of the originating object, for example, TEST_StorageAttributes. This property is set automatically by StorageWMI for all providers.

TargetNamespace
Data type: String
Access type: Read-only
Qualifiers: Key

The namespace of the originating storage object. This property is used for pass through and is automatically set by StorageWMI for all providers.

TargetServer
Data type: String
Access type: Read-only
Qualifiers: Key

The server from which the storage object originated. This property is used for pass through and is automatically set by StorageWMI for all providers.

UserDataStripeDepthDefault
Data type: UInt64
Access type: Read/write

A user-modifiable value between UserDataStripeDepthMin and UserDataStripeDepthMax which should be the default goal for all virtual disks created after this default has been set. For new concrete pools, the default should be inherited from the primordial pool's capability. In the case of primordial pool, the initial default value is chosen by the storage provider.

UserDataStripeDepthMax
Data type: UInt64
Access type: Read-only

The maximum number of bytes per stripe that a virtual disk can have. This property is reported by the storage provider based on the physical configuration of the storage pool.

UserDataStripeDepthMin
Data type: UInt64
Access type: Read-only

The minimum number of bytes per stripe that a virtual disk can have. This property is reported by the storage provider based on the physical configuration of the storage pool.

Remarks

Storage attributes describe the virtual disk redundancy capabilities supported by a particular storage pool. On the primordial pool, these settings represent capabilities supported by the storage subsystem. Examples of supported capabilities include resiliency modes such as RAID types.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Namespace

\\.\Root\Microsoft\Windows\Storage

MOF

Storagewmi.mof (for application developers);
Storagewmi_provider.mof (for provider developers)

 

 

Build date: 11/16/2013

Community Additions

Show:
© 2014 Microsoft