The following procedure is applicable to All-in-One DPOD installation. For details about the Store space in a Cell environment, see Setup a Cell Environment. |
DPOD's Big Data Store is located on a dedicated mount point. Occasionally, the disk space allocated for the Store needs to be increased. Reasons for that include an increase in TPS, or a requirement to retain history for longer periods of time. Follow the steps below to increase the Store space.
Note: It is possible to extend the existing data disk (option 1), or add an additional disks (option 2). Since fdisk utility supports disks up to 2TB each, in order to increase the Store space above 2TB, add additional disks (option 2) instead of extending a single data disk (option 1). Choose the option below that is suitable for your environment and requirements.
For physical servers, use the server vendor's RAID management software to extend the existing RAID Disk (LUN) in order to increase the data disk.
Use the VMware vSphere Client in order to edit the DPOD virtual machine settings:
Verify the current size of mount point /data:
df -h /data |
The system output should resemble the following:
Verify the new disk size:
fdisk -l | grep /dev/sdc |
The system output should resemble the following:
Use fdisk to create a new partition for the new size:
fdisk /dev/sdc |
Press w to write the changes to the partition table.
The following warning is valid, the system reboot will fix the issue: |
Reboot the system:
reboot |
When the system is available again, ensure the new partition is available:
fdisk -l | grep /dev/sdc |
The system output should resemble the following (note the new sdcX added):
Create a new LVM Physical Volume (PV):
If the new partition is not sdc2, substitute sdc2 for the right qualifier in all the following commands |
pvcreate /dev/sdc2 |
Extend the LVM Volume Group (VG):
vgextend vg_data /dev/sdc2 |
Extend the LVM Logical Volume (LV):
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):
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:
resize2fs /dev/vg_data/lv_data |
xfs_growfs /dev/vg_data/lv_data |
The system output should resemble the following:
Display the new size of the /data mount point:
df -h /data |
For physical servers, use the server vendor's RAID management software to add new RAID Disk (new LUN), in order to increase the data disk.
Use the VMware vSphere Client in order to edit the DPOD virtual machine settings:
Verify the current size of the /data mount point:
df -h /data |
The system output should resemble the following:
Verify the new disk size:
fdisk -l | grep /dev/sdd |
The system output should resemble the following:
Use fdisk to create a new partition for the new size:
fdisk /dev/sdd |
Reboot the system:
reboot |
When the system is available again, ensure the new partition is created:
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):
pvcreate /dev/sdd1 |
Extend the LVM Volume Group (VG):
vgextend vg_data /dev/sdd1 |
Extend the LVM logical volume (LV):
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):
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:
resize2fs /dev/vg_data/lv_data |
xfs_growfs /dev/vg_data/lv_data |
The system output should resemble the following:
Display the new size of the /data mount point:
df -h /data |
The system output should resemble the following:
Execute the following script to update the Store configuration file with the new file system size:
/app/scripts/update_store_allocation.sh -l 1 |