>>- svctask -- -- mkmdiskgrp -- --+-------------------------+---> '- -name -- new_name_arg -' >-- --+---------------------------------+-- --------------------> '- -mdisk --+- mdisk_id_list ---+-' '- mdisk_name_list -' >-- -ext -- extent_size ---------------------------------------><
This command creates a new group, assigning the name (if given). The ID of the new group is returned if the command is successful.
Optionally, you can specify a list of managed disks that will be added to this group. These managed disks cannot belong to another group, and they must have a mode of unmanaged. Use the svcinfo lsmdiskcandidate command to get a list of suitable candidates.
Each managed disk that is a member of this group will be split into extents. The storage available on these disks will be added to a pool of extents available in this group. When a virtual disk is created from this group, free extents from the pool will be used, in accordance with the policy chosen when creating the virtual disk.
All managed disks subsequently added to this group will be split into extents of the same size as assigned to the group.
When choosing an extent size, take into account the amount of storage you want to virtualize in this group. The system maintains a mapping of extents between virtual disks and managed disks. The SAN Volume Controller can only manage a finite number of extents (4 194 304). One cluster can virtualize the following number of extents:
| Note: When an image mode VDisk is created, the MDisk group will increase in capacity by the size of the image mode VDisk (not the MDisk capacity) as the image mode VDisk may be smaller than the MDisk itself. If an extent is migrated from the image mode VDisk or MDisk to elsewhere in the group then the VDisk becomes a striped VDisk (for example, no longer image mode) and at this point the available capacity may increase, as the extra capacity available on the MDisk (for example, that which was not part of the image mode VDisk) becomes available. |
An invocation example
svctask mkmdiskgrp -mdisk mdisk13 -ext 512
The resulting output
MDisk Group, id [1], successfully created