HP StorageWorks 2300 Family Modular Smart Array CLI reference guide (500912-002, July 2010)

68
expand volume
Description Expands a standard or master 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 show cli-parameters. 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 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 syntax, see Command syntax.
Example Expand volume V1 by 100 GB:
# expand volume size 100GB V1
Success: expanded volume V1
See also expand master-volume
expand vdisk
show vdisks
show volumes