CLI Guide

When set to the default spare capacity, the system will try to replenish spare capacity to be the sum of
the two largest disks in the group.
When default spare capacity has been overridden (via the set vdisk on page 156 adapt-target-
spare-capacity parameter), the system will try to replenish spare capacity to meet the configured
target GiB.
If the actual spare capacity meets the target spare capacity, the new disk capacity will be allocated to
user data.
NOTE: Disk group expansion cannot be stopped and can take days to complete, depending on
disk type, RAID level, and other factors.
Before starting the expansion, ensure no other utilities are running on the disk group. If another operation is in
progress, the expansion cannot start.
Minimum role manage
Syntax
expand vdisk
disks disks
[prompt yes|no]
vdisk
Parameters disks disks
The IDs of the disks to add. For disk syntax, see Command syntax on page 17.
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.
vdisk
The name or serial number of the linear disk group to expand. A name that includes a space must be enclosed
in double quotes.
Examples Expand linear disk group VD1 to include disk 1.11.
# expand vdisk disks 1.11 VD1
Expand a RAID-10 linear disk group named R10 to include an additional mirror pair.
# expand vdisk disks 2.9-10 R10
Expand a RAID-50 linear disk group named R50, which has four 3-disk subgroups, to include an additional
subgroup.
# expand vdisk disks 2.1-2,2.5 R50
Add 10 disks to ADAPT disk group Data3.
# expand disk-group disks 1.1-10 Data3
See also
show disk-groups on page 173
show disks on page 179
show vdisks on page 252
expand volume
Description
Expands a standard or base volume.
Volume sizes are aligned to 4.2 MB (4 MiB) boundaries. When a volume is created or expanded, if the
resulting size would be less than 4.2 MB it will be increased to 4 MB; if the resulting size would be greater
than 4.2 MB it will be decreased to the nearest 4.2 MB boundary.
80 Alphabetical list of commands