Resizing partitions in Appliance

This documentation only applies to Appliance partitions that use Logical Volume Manager (LVM). See the #checking-the-appliance-for-lvm-usage section of this documentation to verify whether your Appliance uses LVM.

Starting with version 6.30.23.4, Appliance contains a script that supports:

  • Adding a new disk.

  • Resizing an existing disk if the appliance is a VM.

Allocate the new space to any partition of Appliance.

If Appliance uses non-volatile memory express (NVMe) disks, you can only add a new disk.

The following path contains the script:

/opt/bin/expand_partition.sh

Checking Appliance for LVM usage

Run the following command in the command-line interface (CLI) to verify whether LVM is used:

sudo vgs -v

For an appliance with LVM enabled, the command should return an output similar to the following:

VG #PV #LV #SN Attr VSize VFree
nxt 2 8 0 wz--n- 98.82g 0

Running the script

Execute the script from the CLI by running the following command:

sudo /opt/bin/expand_partition.sh

The script guides you through the partition resizing process.

Last updated