addmdisk

Use the addmdisk command to add one or more managed disks to an existing storage pool..

Syntax

Read syntax diagramSkip visual syntax diagram addmdisk -mdisk mdisk_id_listmdisk_name_list -tiertier0_flashtier1_flashtier_enterprisetier_nearlinetier_scm mdisk_group_idmdisk_group_name

Parameters

-mdisk mdisk_id_list | mdisk_name_list
(Required) Specifies one or more managed disk IDs or names to add to the storage pool.
-tier tier0_flash | tier1_flash | tier_enterprise | tier_nearline | tier_scm
(Optional) Specifies the tier of the MDisk or MDisks being added. Unless otherwise specified, the current tier value that is associated with the MDisk is retained. The values are:
tier0_flash
Specifies a tier0_flash hard disk drive or an external MDisk for the newly discovered or external volume.
tier1_flash
Specifies an tier1_flash (or flash drive) hard disk drive or an external MDisk for the newly discovered or external volume.
tier_enterprise
Specifies a tier_enterprise hard disk drive or an external MDisk for the newly discovered or external volume.
tier_nearline
Specifies a tier_nearline hard disk drive or an external MDisk for the newly discovered or external volume.
tier_scm
Specifies a tier_scm hard disk drive or an external MDisk for the newly discovered or external volume.

The default value for a newly discovered unmanaged MDisk is enterprise. You can change this value by using the chmdisk command.

The tier of external managed disks is not detected automatically and is set to enterprise. If the external managed disk is made up of flash drives or nearline Serial Attached SCSI (SAS) drives and you want to use Easy Tier®, you must either specify the tier when adding the managed disk to the storage pool or use the chmdisk command.

mdisk_group_id | mdisk_group_name
(Required) Specifies the ID or name of the storage pool to add the disks to. When a MDisk is added, the warning threshold for the storage pool is automatically scaled.

Description

This command adds the managed disks that you specify to the storage pool.

If you are adding an MDisk to a pool that uses a provisioning policy, the capabilities of the MDisk must match the capacity savings method that the provisioning policy defines. For example, an MDisk that uses self-compressing drive technology cannot be added to a data reduction pool that defines a provisioning policy that uses compression and deduplication.

Remember: This command cannot be used for child pools.

The disks can be specified in terms of the managed disk ID or the managed disk name. The managed disks must be in unmanaged mode.

Disks that already belong to a storage pool cannot be added to another storage pool until they have been deleted from their current storage pool. You can delete a managed disk from a storage pool under the following circumstances:
  • If the managed disk does not contain any extents in use by a volume.
  • If you can first migrate the extents in use onto other free extents within the storage pool.
Remember: Do not include a MDisk in a storage pool if it can be only used in image mode.

An invocation example

addmdisk -mdisk mdisk13:mdisk14 -tier tier_nearline Group0

The resulting output:

No feedback