Class CIM_DiskPartitionConfigurationService
extends CIM_Service

DiskPartitionConfigurationService provides methods for clients to configure DiskPartitions. The instrumentation MUST NOT instantiate instances of partitions (such as hidden, maintenance, or zero-length partitions) that are not intended for use by applications (filesystems, databases, ...). There are two reasons for this constraint. There are different system-specific ways to indicate whether or not a partition is hidden, in some cases, the starting/ending block information is invalid, but ignored. If these properties are exposed, clients will not have a way to determine which blocks are in use. The other reason is that typically the number of partitions is fixed in the underlying data structures (or grows by large, fixed-size chunks). Common practice is to have a one (or a few) partition per disk with many hidden partitions. Instantiating a lot of hidden partitions clutters up the model without value add. The methods of this service and the properties of DiskPartitionConfigurationCapabilities provide a view of partitions actually in use without requiring clients to understand system-specific details.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_EnabledLogicalElement
   |
   +--CIM_Service
   |
   +--CIM_DiskPartitionConfigurationService

Direct Known Subclasses

Class Qualifiers

NameData TypeValue
DescriptionstringDiskPartitionConfigurationService provides methods for clients to configure DiskPartitions. The instrumentation MUST NOT instantiate instances of partitions (such as hidden, maintenance, or zero-length partitions) that are not intended for use by applications (filesystems, databases, ...). There are two reasons for this constraint. There are different system-specific ways to indicate whether or not a partition is hidden, in some cases, the starting/ending block information is invalid, but ignored. If these properties are exposed, clients will not have a way to determine which blocks are in use. The other reason is that typically the number of partitions is fixed in the underlying data structures (or grows by large, fixed-size chunks). Common practice is to have a one (or a few) partition per disk with many hidden partitions. Instantiating a lot of hidden partitions clutters up the model without value add. The methods of this service and the properties of DiskPartitionConfigurationCapabilities provide a view of partitions actually in use without requiring clients to understand system-specific details.
Experimentalbooleantrue
UMLPackagePathstringCIM::Device::StorageExtents
Versionstring2.10.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
PartitioningSchemesuint16
DescriptionstringDescribes the partitioning schemes supported by the platform. AIX and HP_UX do not allow partitions. Linux allows volumes with and without partitions, Solaris requires Partitions. No more than a single instance of this class MAY be instantiated on a system. If set to 'No partitions allowed' then the methods of this service are not available.
ValueMapstring2, 3, 4
ValuesstringNo partitions allowed, Volumes may be partitioned or treated as whole, Volumes must be partitioned

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
CommunicationStatusuint16CIM_ManagedSystemElement
CreationClassNamestringCIM_Service
DescriptionstringCIM_ManagedElement
DetailedStatusuint16CIM_ManagedSystemElement
ElementNamestringCIM_ManagedElement
EnabledDefaultuint16CIM_EnabledLogicalElement
EnabledStateuint16CIM_EnabledLogicalElement
Generationuint64CIM_ManagedElement
HealthStateuint16CIM_ManagedSystemElement
InstallDatedatetimeCIM_ManagedSystemElement
InstanceIDstringCIM_ManagedElement
NamestringCIM_Service
OperatingStatusuint16CIM_ManagedSystemElement
OtherEnabledStatestringCIM_EnabledLogicalElement
PrimaryOwnerContactstringCIM_Service
PrimaryOwnerNamestringCIM_Service
PrimaryStatusuint16CIM_ManagedSystemElement
RequestedStateuint16CIM_EnabledLogicalElement
StartedbooleanCIM_Service
StartModestringCIM_Service
StatusstringCIM_ManagedSystemElement
SystemCreationClassNamestringCIM_Service
SystemNamestringCIM_Service
TimeOfLastStateChangedatetimeCIM_EnabledLogicalElement
TransitioningToStateuint16CIM_EnabledLogicalElement
AvailableRequestedStatesuint16[]CIM_EnabledLogicalElement
OperationalStatusuint16[]CIM_ManagedSystemElement
StatusDescriptionsstring[]CIM_ManagedSystemElement

Class Methods

Local Class Methods

SetPartitionStyle (uint32)

Method Qualifiers (SetPartitionStyle)

NameData TypeValue
DescriptionstringThis method installs a partition table on an extent of the specified partition style; creating an association between the extent and that capabilities instances referenced as method parameters. As a side effect, the consumable block size of the underlying extent is reduced by the block size of the metadata reserved by the partition table and associated metadata. This size is in the PartitionTableSize property of the associated DiskPartitionConfigurationCapabilities instance.
ValueMapstring0, 1, 2, 3, 4, 5, .., 0x1000, 0x1001, 0x1002, .., 0x8000..
ValuesstringSuccess, Not Supported, Unknown, Timeout, Failed, Invalid Parameter, DMTF Reserved, Extent already has partition table, Requested Extent too large, Style not supported by Service, Method Reserved, Vendor Specific

Method Parameters (SetPartitionStyle)

NameTypeQualifiers
NameData TypeValue
Extent REF CIM_StorageExtent
DescriptionstringA reference to the extent (volume or partition) where this style (partition table) will be installed.
INbooleantrue
PartitionStyle REF CIM_DiskPartitionConfigurationCapabilities
DescriptionstringA reference to the DiskPartitionConfigurationCapabilities instance describing the desired partition style.
INbooleantrue

CreateOrModifyPartition (uint32)

Method Qualifiers (CreateOrModifyPartition)

NameData TypeValue
DescriptionstringThis method creates a new partition if the Partition parameter is null or modifies the partition specified. If the starting and ending address parameters are null, the resulting partition will occupy the entire underlying extent. If the starting address is non-null and the ending address is null, the resulting partition will extend to the end of the underlying extent. If a partition is being created, a LogicalDisk instance is also created BasedOn the partition. The NumberOfBlocks and ComsumableBlocks properties MUST be the same value and MUST be common to the partition and LogicalDisk (since partition metadata is part of the partition table, not part of partitions). The StartingAddress of the LogicalDisk MUST be 0, the ConsumableBlocks of the LogicalDisk and partition MUST be the same, and the difference between the StartingAddress and EndingAddress of the partition and LogicalDisk must be the same - one less than ConsumableBlocks/NumberOfBlocks. The underlying extent MUST be associated to a capabilities class describing the installed partition style (partition table); this association is established using SetPartitionStyle().
ValueMapstring0, 1, 2, 3, 4, 5, .., 0x1000, 0x1001, 0x1002, 0x1003, 0x1004, .., 0x8000..
ValuesstringSuccess, Not Supported, Unknown, Timeout, Failed, Invalid Parameter, DMTF Reserved, Overlap Not Supported, No Available Partitions, Specified partition not on specified extent, Device File Name not valid, LogicalDisk with different DeviceFileName exists, Method Reserved, Vendor Specific

Method Parameters (CreateOrModifyPartition)

NameTypeQualifiers
NameData TypeValue
DeviceFileNamestring
DescriptionstringThe platform-specific special file name to be assigned to the LogicalDisk instance BasedOn the new DiskPartition instance.
INbooleantrue
EndingAddressuint64
DescriptionstringThe ending block number.
INbooleantrue
StartingAddressuint64
DescriptionstringThe starting block number.
INbooleantrue
extent REF CIM_StorageExtent
DescriptionstringA reference to the underlying extent the partition is base on.
INbooleantrue
Partition REF CIM_GenericDiskPartition
DescriptionstringA reference an existing partition instance to modify or null to request a new partition.
INbooleantrue
OUTbooleantrue

Inherited Class Methods

NameReturn TypeClass Origin
ChangeAffectedElementsAssignedSequenceuint32CIM_Service
RequestStateChangeuint32CIM_EnabledLogicalElement
StartServiceuint32CIM_Service
StopServiceuint32CIM_Service