This task provides step-by-step instructions for adding MDisks to MDisk groups using the command-line interface (CLI).
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:
Perform the following steps to add MDisks to MDisk groups:
In our hypothetical scenario, we have two MDisk groups, one with four managed
disks and one with no managed disks. Type the following command:
svcinfo lsmdiskgrp -delim :
This command displays the following:
id:name:status:mdisk_count:vdisk_count:
capacity:extent_size:free_capacity
0:mainmdiskgroup:online:4:0:1093.2GB:32:1093.2GB
1:bkpmdiskgroup:online:0:0:0:32:0
In our hypothetical scenario, the command to add Mdisks to the MDisk group
is:
svctask addmdisk -mdisk mdisk4:mdisk5:mdisk6:mdisk7 bkpmdiskgroup
This command will add four MDisks mdisk4, mdisk5, mdisk6 and
mdisk7 to the MDisk group called bkpmdiskgroup.