CLI Guide

Table Of Contents
NOTE: A disk group can contain a mix of 512-byte native sector size (512n) disks and 512-byte
emulated sector size (512e) disks. For consistent and predictable performance, do not mix disks of
different sector size types (512n, 512e).
To add disks to a disk group to expand its capacity, use the expand disk-group on page 79 command.
Minimum role manage
Syntax
add spares
[disk-group disk-group]
[vdisk vdisk]
disks
Parameters
disk-group disk-group
Optional. The name or serial number of a linear disk group to assign the disks to as dedicated spares. A
name that includes a space must be enclosed in double quotes. If this parameter is omitted, the disks
will be global spares.
vdisk vdisk
Optional. The name or serial number of the linear disk group to assign the disks to as dedicated spares.
A name that includes a space must be enclosed in double quotes. If this parameter is omitted, the
disks will be global spares.
disks
The IDs of the disks to designate as spares. For disk syntax, see Command syntax on page 17.
Examples Designate disk 1.2 as a global spare.
# add spares 1.2
Designate disk 1.3 as a dedicated spare for vdisk VD1.
# add spares vdisk VD1 1.3
Designate disk 1.3 as a dedicated spare for linear disk group dg1
# add spares disk-group dg1 1.3
See also
remove spares on page 92
show disk-groups on page 178
show disks on page 184
show vdisks on page 259
add storage
Description
Provisions disks into disk groups, according to rules defined by the storage-system manufacturer.
In a new system, this command quickly provisions disks in enclosures so that you can proceed with
creating and mapping volumes. In an existing system, this command quickly provisions unused disks in
new and existing enclosures.
If you specify the preview parameter, the command shows some or all of the following reference
information, and not provision storage:
Suggestions to consider before provisioning, if any
A table of disk groups that can be added, if any
A table of ADAPT disk groups that can be expanded, if any
A table of unused disks, if any
Minimum role manage
Syntax
add storage
[enclosure enclosure-IDs]
36 Alphabetical list of commands