CLI Guide

You cannot remove the last disk group from the only pool in a system that is used in a peer
connection, or a disk group that contains a volume that is used in a replication set.
If you delete a quarantined disk group and its missing disks are later found, the group will
reappear as quarantined or offline and you must delete it again (to clear those disks).
Minimum role manage
Syntax
remove disk-groups
[prompt yes|no]
disk-groups
Parameters
prompt yes|no
Optional. For scripting, this specifies an automatic reply to confirmation prompts:
yes: Allow the command to proceed.
no: Cancel the command.
If this parameter is omitted, you must manually reply to prompts.
disk-groups
A comma-separated list of the names or serial numbers of the disk groups to delete. A name that includes a
space must be enclosed in double quotes.
Examples Remove disk groups dg1 and dg2.
# remove disk-groups dg1,dg2
See also
delete pools
delete vdisks
show disk-groups
show vdisks
remove host-group-members
Description
Removes specified hosts from a host group. You cannot remove all hosts from a group. At least one host
must remain. The hosts are ungrouped but not deleted.
This command has a confirmation prompt in interactive console mode.
Minimum role manage
Syntax
remove host-group-members
hosts hosts
host-group
Parameters
hosts hosts
A comma-separated list of the names of hosts to remove from the host group. A name that includes a space
must be enclosed in double quotes.
host-group
The name of the host group. A name that includes a space must be enclosed in double quotes.
Examples Remove two hosts from a group that contains three hosts.
# remove host-group-members hosts Host2,Host3 HostGroup1
See also
delete host-groups
show host-groups
Alphabetical list of commands 87