...
Verify the current size of the /data mount point:
Code Block language bash theme RDark df -h /data
The system output should resemble the following:
Verify the new disk size:
Code Block language bash theme RDark fdisk -l | grep /dev/sdd
The system output should resemble the following:
Use fdisk to create a new partition for the new size:
Code Block language bash theme RDark fdisk /dev/sdd
- Press p to print the partition table and ensure there are no existing partitions.
- Press n to create a new primary partition.
- Press p for primary.
- Press 1 for the partition number
- Press Enter twice
- Press t to change the system's partition ID.
- Type 8e to change the Hex Code of the partition for Linux LVM.
- Press w to write the changes to the partition table.
- Press p to print the partition table and ensure there are no existing partitions.
Reboot the system:
Code Block language bash theme RDark reboot
When the system is available again, ensure the new partition is created:
Code Block language bash theme RDark fdisk -l | grep /dev/sdd
The system output should resemble the following:
Stop the application by running app-util.sh and selecting option 2 (stop all)
Create a new LVM Physical Volume (PV):
Code Block language bash theme RDark pvcreate /dev/sdd1
Extend the LVM Volume Group (VG):
Code Block language bash theme RDark vgextend vg_data /dev/sdd1
Extend the LVM logical volume (LV):
Code Block language bash theme RDark lvextend -l +100%FREE /dev/vg_data/lv_data
Identify the /data file system type (for CentOS 7.2+ based appliances the type is xfs):
Code Block language bash theme RDark cat /etc/fstab | grep /data
The system output should resemble the following:
Resize the file system. Select the correct command below for your file system type:
Code Block language bash theme RDark title For ext4 resize2fs /dev/vg_data/lv_data
Code Block language bash theme RDark title For xfs xfs_growfs /dev/vg_data/lv_data
The system output should resemble the following:Display the new size of the /data mount point:
Code Block language bash theme RDark df -h /data
The system output should resemble the following:
- Update the Store configuration file (see below).
...