expandvolume
Use the expandvolume command to expand the size of a HyperSwap® volume by a specified capacity.
Syntax
Parameters
- -size expand_size
- (Required) Specifies the capacity by which the volume is expanded. This value is used with the value of the -unit parameter.
- -unit b | kb | mb | gb | tb | pb
- (Optional) Specifies the unit for the -size parameter. The default value is megabytes (MB).
- volume_id | volume_name
- (Required) Specifies the volume to modify, either by ID or by name.
Description
Restricted users cannot use this command.
Note: You can expand the size of HyperSwap volumes provided:
- All copies of the volume are synchronized.
- All copies of the volume are thin or compressed.
- There are no mirrored copies.
- The volume is not in a consistency group. To expand the volume, you must remove the active-active relationship for the volume from the remote copy consistency group. The active-active relationship can be added back to the consistency group after the volume is expanded.
An invocation example to increase the volume5 capacity by 10 GB
expandvolume -size 10 -unit gb volume5
The resulting output:
No feedback
