addmdisk

The addmdisk command adds one or more managed disks to an existing managed disk group.

Syntax

Read syntax diagramSkip visual syntax diagram
>>- svctask -- -- addmdisk -- ---------------------------------->

>-- -mdisk --+- mdisk_id_list ---+-- --+- mdisk_group_id ---+--><
             '- mdisk_name_list -'     '- mdisk_group_name -'   

Parameters

-mdisk mdisk_id_list | mdisk_name_list
(Required) Specifies one or more managed disk IDs or names to add to the group.
mdisk_group_id | mdisk_group_name
(Required) Specifies the ID or name of the managed disk group to add the disks to. When an MDisk is added, the warning threshold for the MDisk group is automatically scaled.

Description

This command adds the managed disks that you specify to the group. 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 group cannot be added to another group until they have been deleted from their current group. You can delete a managed disk from a group under the following circumstances:
  • If the managed disk does not contain any extents in use by a virtual disk
  • If you can first migrate the extents in use onto other free extents within the group.
Note: The first time that you add a new solid-state drive (SSD) to an MDisk group, the SSD is automatically formatted and set to a block size of 512 bytes.

An invocation example

svctask addmdisk -mdisk mdisk13:mdisk14 Group0

The resulting output

No feedback
Library | Support | Terms of use | Feedback
© Copyright IBM Corporation 2003, 2009. All Rights Reserved.