Increase the GravityZone disk size
If your disk runs out of space, you can extend it by using the Logical Volume Manager (LVM). You can check if LVM is installed by using the lvdisplay
shell command.
To increase the GravityZone disk size you must:
Create a snapshot of the GravityZone Virtual Appliance.
Shut down the virtual appliance and add the new hard drive.
Turn on the machine.
Determine the name of the newly added disk, by using one of the following commands:
dmesg -T | grep
or
lsblk
Use the
lvdisplay
command to identify the Logical Volume Path and Volume Group Name you want to extend.Run the following commands to increase the disk size:
sudo su pvcreate /dev/[disk_name] vgextend [volume_group_name] /dev/[disk_name] lvextend -l +100%FREE /[logical_volume_path] resize2fs [logical_volume_path]