Resizing storage (IBM Cloud Pak for AIOps on Linux)
Learn about increasing the logical storage volumes on an existing installation of IBM Cloud Pak® for AIOps on Linux®.
Note: Do not attempt to manually increase the size of your persistent volume claims (PVCs). PVC capacity limits are not relevant for deployments of IBM Cloud Pak for AIOps on Linux. Capacity is only limited by the size of your logical storage volumes.
Use your preferred method to monitor your disk usage. If you become close to running out of disk space, use the following steps to increase the volume sizes on your Linux cluster nodes as necessary:
-
Export environment variables.
export DRIVE_NAME=<drive_name> export NEW_SIZE=<new_size>Where
<drive_name>is the name of the disk drive that was specified for IBM Cloud Pak for AIOps application storage when you set up local storage in Configuring local volumes.<new_size>is the new increased size for the volume, in Gigabytes (G).
For example:
export DRIVE_NAME="/dev/vdb" export NEW_SIZE="199G"
-
Extend the logical volume.
export APP_DMPATH=$(lvs --noheadings -o dmpath aiops | sed -e 's/^[[:space:]]*//') lvextend -L "${NEW_SIZE}" "{APP_DMPATH}" -
Grow the file system.
xfs_growfs "${STORAGE_PATH}"