Table of Contents
< All Topics
Print

Upgrade ES failed

Issue Description

When user imports the upgrade packege, ES manager prompts "Parameter verification failed. The remaining space of disk is not sufficient".


Error/Warning Information

file


Handling Process

To solve this, we need to expand the virtual disk size and extend the partitions of (/ , /sf, /ac, /data) from ES backend.


Root Cause

Some older version of ES template has smaller partition size. User may have deployed the ES Manager using small disk capacity.


Solution

Important: Take a snapshot before performing any modifications!

  1. Expand the virtual disk size on the virtual platform, in our case we increase the disk size on HCI.
    file

  2. From the backend of ES manager, we can see that the disk size had expanded.
    Before:
    file
    After:
    file

  3. Now that the disk had been expanded, we need to extend the following logical volume.
    file
    Note: The above directory available size must be higher than the size of package x3.

  4. Create a new partition using fdisk command by following the example shown below.
    file
    Assign the remaining space on /dev/sda to the newly created /dev/sda3

  5. Refresh the partition and create a physical volume using command partprobe and pvcreate as shown below.
    file

  6. View the volume group name using the command vgdisplay.
    file

  7. Extend the physical volume vda3 on the volume group centos using the command vgextend.
    file

  8. Extend the free space on volume group to the specific partitions using the commnd lvextend and xfs_growfs.
    file
    Note:
    a)Use lvextend -L +20G to extend specific size.
    Example: lvextend -L +20G /dev/centos/data
    b)Use lvextend -l +100%FREE to extend the entire remaining space.
    Example: lvextend -l +100%FREE /dev/centos/data

  9. The following partition size had been extended successfully, available space are more than (package size x3).
    file