Previous Topic: rename (Volume Management)--Rename an Application User VolumeNext Topic: copy (Volume Management)--Copy a Volume


resize (Volume Management)--Resize a Volume.

Resize a volume

Syntax
volume resize <name> size=<size> [--prefill]  
Options
<name>

Name of the existing volume to resize. The format of <name> is the following:

<application>:<volume>

application volume

<application>:<class>.<volume>

singleton class volume

_GLOBAL:<volume>

global volume

_GLOBAL_RO:<volume>

global read-only volume

size=<size>

New volume size, units may be specified (for example, 128M[B], 2G[B]). If units are not specified, it is assumed that the size is in MB.

--prefill

Allocate ALL blocks for the resized volume.

Examples
volume resize my-app:data size=500M

resize an unpartitioned volume

volume resize my-app:MYSQL.boot size=1G

resize application singleton class volume

volume resize my-app:data size=10G

Resize a partitioned volume with one existing partition, to 10GB - the partition will be expanded/shrunk to the full size of the volume

Notes: