Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Verify the current size of the /data mount point:

    Code Block
    languagebash
    themeRDark
    df -h /data

    The system output should resemble the following:

  2. Verify the new disk size:

    Code Block
    languagebash
    themeRDark
    fdisk -l | grep /dev/sdd

    The system output should resemble the following:

  3. Use fdisk to create a new partition for the new size:

    Code Block
    languagebash
    themeRDark
    fdisk /dev/sdd


    1. Press p to print the partition table and ensure there are no existing partitions. 
    2. Press n to create a new primary partition.
    3. Press p for primary.
    4. Press 1 for the partition number
    5. Press Enter twice
    6. Press t to change the system's partition ID.
    7. Type 8e to change the Hex Code of the partition for Linux LVM.
    8. Press w to write the changes to the partition table.


  4. Reboot the system:

    Code Block
    languagebash
    themeRDark
    reboot


  5. When the system is available again, ensure the new partition is created:

    Code Block
    languagebash
    themeRDark
    fdisk -l | grep /dev/sdd

     The system output should resemble  the following:

  6. Stop the application by running app-util.sh and selecting option 2 (stop all)

  7. Create a new LVM Physical Volume (PV):

    Code Block
    languagebash
    themeRDark
    pvcreate /dev/sdd1



  8. Extend the LVM Volume Group (VG):

    Code Block
    languagebash
    themeRDark
    vgextend vg_data /dev/sdd1



  9. Extend the LVM logical volume (LV):

    Code Block
    languagebash
    themeRDark
    lvextend -l +100%FREE /dev/vg_data/lv_data



  10. Identify the /data file system type (for CentOS 7.2+ based appliances the type is xfs): 

    Code Block
    languagebash
    themeRDark
    cat /etc/fstab | grep /data

     The system output should resemble the following:



  11. Resize the file system. Select the correct command below for your file system type:

    Code Block
    languagebash
    themeRDark
    titleFor ext4
    resize2fs /dev/vg_data/lv_data


    Code Block
    languagebash
    themeRDark
    titleFor xfs
    xfs_growfs /dev/vg_data/lv_data


    The system output should resemble the following:


  12. Display the new size of the /data mount point:

    Code Block
    languagebash
    themeRDark
    df -h /data

    The system output should resemble the following:


  13. Update the Store configuration file (see below).

...