expandvdisksize
You can use the expandvdisksize command to expand the size of a VDisk by a given capacity.
Syntax

>>- svctask -- -- expandvdisksize -- -- -size -- disk_size ----->
>-- --+---------------------------------+-- --+------------+---->
'- -mdisk --+- mdisk_id_list ---+-' '- -fmtdisk -'
'- mdisk_name_list -'
>-- --+- vdisk_name -+-----------------------------------------><
'- vdisk_id ---'
Parameters
- -size disk_size
- Specifies the capacity by which the virtual disk is to be expanded.
It is used in conjunction with the units value. The smallest granularity
of bytes is 512. All capacities are rounded up to this value. However, an
entire extent will be reserved even if only partially used. The default capacity
is in MB.
- -mdisk mdisk_id_list | mdisk_name_list
- Optionally specifies the list of one or more MDisks to be used as the
stripe set. The extents that are used to expand the vdisk come from the specified
list of MDisks. All MDisks in the list must be part of the same MDisk group.
- -fmtdisk
- Optionally specifies that the VDisk should be formatted before use.
Using this parameter will format (all zeros) the new extents that have been
added to the VDisk as a result of the expand.
- vdisk_name | vdisk_id
- Specifies the virtual disk to modify, either by ID or by
name.
Description
This command expands the capacity allocated to the particular virtual disk
by the given amount. The default capacity is in MB.
When a VDisk is expanded, the policy may change. Its mode will become
striped even if it was previously sequential or image mode. See the svctask mkvdisk command for details of the virtualization policies.
This command will complete asynchronously if the fmtdisk argument is selected.
Possible failures
- CMMVC5786E The action failed because the cluster is not in a stable state.
- CMMVC5808E The action failed because the managed disk (MDisk) does not
exist.
- CMMVC5835E The virtual disk (VDisk) was not expanded because an object
that was specified in the command does not exist.
- CMMVC5837E The action failed because the virtual disk (VDisk) is part
of a FlashCopy mapping.
- CMMVC5838E The action failed because the virtual disk (VDisk) is part
of a Remote Copy mapping.
- CMMVC5848E The action failed because the virtual disk (VDisk) does not
exist or it is being deleted.
- CMMVC5853E The action failed because there was a problem with the group.
- CMMVC5856E The action failed because the virtual disk (VDisk) does not
belong to the specified managed disk (MDisk) group.
- CMMVC5857E The action failed because the managed disk (MDisk) does not
exist or it is not a member of the managed disk (MDisk) group.
- CMMVC5858E The action failed because the virtual disk (VDisk) is in the
wrong mode, the managed disk (MDisk) is in the wrong mode, or both are in
the wrong mode.
- CMMVC5860E The action failed because there were not enough extents in
the managed disk (MDisk) group.
- CMMVC5861E The action failed because there were not enough extents on
the managed disk (MDisk).
- CMMVC5862E The action failed because the virtual disk (VDisk) is being
formatted.
- CMMVC5998W The virtualized storage capacity exceeds the amount that you
are licensed to use.
Examples
An invocation example
svctask expandvdisksize -size 2048 -unit b -mdisk
mdisk0:mdisk1 -fmtdisk vdisk1
The resulting output
No feedback