addmdisk

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

Syntax

addmdisk -mdisk { mdisk_id_list | mdisk_name_list } [ -tier { ssd | enterprise | nearline } ] { mdisk_group_id | mdisk_group_name }

Parameters

-mdiskmdisk_id_list | mdisk_name_list
(Required) Specifies one or more managed disk IDs or names to add to the storage pool.
-tierssd | enterprise | nearline
(Optional) Specifies the tier of the MDisk or MDisks being added. Unless otherwise specified, the current tier value associated with the MDisk is retained.

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 an 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 there are no MDisks in the storage pool with HyperSwap®, the site of the MDisk being added must be well-defined. If there are MDisks in the storage pool, the site information for an MDisk being added to a storage pool with HyperSwap topology system must match the topology of other MDisks in the storage pool.

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 an Mdisk in an storage pool if it can only be used in image mode.

If the system has I/O groups that are not capable of encryption, you cannot add the MDisk if the MDisk group has an encryption key and the MDisk is not self-encrypting.

An invocation example

addmdisk -mdisk mdisk13:mdisk14 -tier nearline Group0

The resulting output:

No feedback