6.19 Expand Partition

expand partition <partition_name> <size>

Expand an existing partition.

This command does not add a partition, but expands the existing partition. There must be free space contiguously following this partition in order to expand it.

nlvm [nlvm_options] expand partition <partition_name> <size>
Command Options
partition_name

Mandatory. Specify the node name (such as sdc1.1) of the partition to be expanded. This must be the first command option.

Example

sdc1.1
size=<value[K|M|G|T]|max>

Mandatory. Specify the amount of space to add to the existing partition.

Examples

size=20G
size=200.45G
Command Example
nlvm expand partition sdc1.1 size=20G

Expand the /dev/sdc1.1 partition by adding the next 20 GB of contiguous free unpartitioned space. For example, if the original partition is 20 GB, the expanded size is 40 GB.