Increases the size of a volume.
The new size will not be recognized by hosts currently connected to the volume unless they support file system expansion. Before increasing the volume size, understand how it affects the operating system, file system, or application using the volume, and set the volume offline first if necessary for your environment.
Note: Some operating systems cannot support volumes larger than 2TB. A warning message is displayed when you attempt to grow a volume beyond 2TB. Make sure your operating system will recognize the new, larger volume size.
If you have snapshot space reserved for a volume, increasing the volume size will also increase the snapshot reserve. If a volume is configured for replication, increasing the volume size will also increase the local replication reserve and the replica reserve. Changes to replica space take effect the next time the volume is replicated.
If you attempt to increase the volume to a size greater than the remaining pool capacity as displayed in the GUI or CLI, you will receive an error message that states the actual available space.
Unless you specify the no-snap option, a snapshot will be created for the volume before the volume size is increased.
Format
volume select vol_name size [no-snap] new_size
Variables
|
vol_name |
Name of a volume to increase. |
|
new_size[GB] |
New, larger size for the volume. The size is assumed to be in megabytes unless you specify otherwise. You can specify size with any of the following suffixes: m, mb, MB, g, gb, or GB. |
Example
The following command increases the size of a volume to 200GB:
> volume select voldb size 200gb