
100 Alphabetical list of commands
expand volume
Description
Expands a standard volume. Expansion is restricted to the space available on the vdisk containing
the volume. If insufficient space is available for expansion on the vdisk, first expand the vdisk by
using
expand vdisk
.
To expand a master volume:
1.
Delete all of its snapshots by using
delete all-snapshots
.
2.
Convert it to a standard volume by using
convert master-to-std
.
3.
Expand the standard volume by using
expand volume
.
4.
Convert the expanded volume to a master volume by using
convert std-to-master
.
Syntax
To expand by a specific size:
expand volume
size
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
volume
To expand to the maximum size:
expand volume
size max
volume
Parameters
size
size
[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB]
Specifies the size using the current base, as shown by the
show cli-parameters
command. The unit
can be specified as follows:
•
If base 2 is in use:
B
(bytes),
KiB
(kibibytes),
MiB
(mebibytes), or
GiB
(gibibytes).
•
If base 10 is in use:
B
(bytes),
KB
(kilobytes),
MB
(megabytes), or
GB
(gigabytes).
If no unit is specified, the unit is 512-byte blocks.
size max
Expands the volume to fill the available space on the vdisk.
volume
Name or serial number of the volume to expand. For volume syntax, see
Command syntax
on
page 22.
Example
Expand standard volume
V1
by 100 GB:
# expand volume size 100GB V1
Success: Command completed successfully. - Expansion of volume V1 was
successful. (2012-09-19 10:16:05)
See also
•
expand vdisk
•
show vdisks
•
show volumes
Summary of Contents for P2000 G3
Page 1: ...HP P2000 G3 MSA System CLI Reference Guide Part number 500912 009 First edition February 2014 ...
Page 14: ...14 About this guide ...
Page 30: ...30 Categorical list of commands ...
Page 199: ...HP P2000 G3 MSA System CLI Reference Guide 199 See also set cache parameters show volumes ...
Page 294: ...294 Alphabetical list of commands See also set volume set vdisk ...
Page 498: ...498 XML API basetype properties PROPERTY name mrc version type uint8 0 PROPERTY OBJECT ...
Page 524: ...524 Glossary ...
Page 532: ...532 Index ...