>>- svctask -- -- rmmdiskgrp -- --+----------+-- ---------------> '- -force -' >--+- mdisk_group_id ---+-------------------------------------->< '- mdisk_group_name -'
This command destroys the specified managed disk group. The force flag is required if there are virtual disks created from this group or if there are managed disks in the group. Otherwise, the command will fail.
Deleting a managed disk group is essentially like destroying a cluster or part of a cluster. The managed disk group is the central point of control of virtualization. Virtual disks are created using extents available in the group, and the mapping between virtual disk extents and managed disk extents is controlled on a group basis. Therefore, deleting a group deletes this mapping, which cannot be subsequently restored.
| Attention: This command partially completes asynchronously. All virtual disks, host mappings, and copy services are deleted before the command returns. The managed disk group delete then completes asynchronously. |
| Attention: Before you issue the command, ensure that you really want to destroy all mapping information. Data held on virtual disks cannot be recovered after the managed disk group has been destroyed. |
In detail, if you specify the force flag, the following actions take place:
| Attention: If you delete all the managed disk groups in your cluster using the force flag, you will be returned to the state you were in just after you added nodes to the cluster. All data held on virtual disks will be lost and unrecoverable. |
An invocation example
svctask rmmdiskgrp -force Group3
The resulting output
No feedback