Skip to main content

How to Expand Disk Space on Endpoint Protector On-Prem Appliance

The procedures and instructions provided in this document are intended for use by experienced administrators. Proceeding with these steps is done entirely at your own risk. Netwrix is not responsible for any data loss, system instability, or other issues that may arise from following these instructions. Ensure that you have a complete backup of your system before making any changes.

Overview

This article describes how to boot the Endpoint Protector (EPP) On-Prem appliance into single-user (recovery) mode and safely expand disk space after increasing the virtual disk size.

These instructions apply only to on-premises EPP appliances.


Instructions

  1. Shut down and increase the disk size.

    • In your VM manager, shut down the EPP virtual machine.
    • Increase the disk space (for example, from 100 GB to 200 GB).
    • Reboot the EPP appliance.
    • While it reboots, press the Esc key to open the GRUB boot menu, and select Advanced options for Ubuntu.

    GRUB boot menu screenshot

  2. Choose the first entry labeled (recovery mode).

    Recovery mode selection screenshot

  3. Press Enter when prompted.

    Boot confirmation screenshot

  4. Identify the last partition.

    Run the following command to list available partitions:

    fdisk -l

    Review the output and identify the last partition (typically /dev/sda3 or /dev/sda5, depending on the server version).

    Partition listing screenshot

    NOTE: The last partition may vary depending on your environment.

  5. Stop Endpoint Protector services.

    Stop all EPP-related services before resizing:

    service nginx stop
    service cron stop
    service mysql stop
    service php-fpm stop
    service alt-php56-fpm stop
    service eppcloudsync stop
    service awslogs stop
    service syslog-ng stop
    pkill -f run_workers.php

    NOTE: If a service is not running, proceed to the next command.

  6. Unmount the identified partition.

    umount /dev/sda3

    or

    umount /dev/sda5
  7. Resize the partition.

    Open the partition manager:

    parted /dev/sda

    Parted utility screenshot

    • Type p to display the current partition table and sizes.
      Partition table output
    • Resize the last partition to the maximum available space:
      resizepart 3 100%

      NOTE: If prompted about available space, type fix to continue.

    • Run p again to verify the new partition size:
      p
      New partition size screenshot
    • Exit the partition manager:
      quit
    • Refresh the kernel partition table:
      partprobe
  8. Check the file system.

    Run a forced file system check (replace sda3 with your actual partition if needed):

    e2fsck -f /dev/sda3

    Filesystem check screenshot

  9. Resize the file system.

    resize2fs /dev/sda3

    Filesystem resize screenshot

  10. Remount and verify disk size.

    mount -a
    df -h

    Disk usage check screenshot

  11. Restart the appliance.

    reboot

    After restart, verify that the disk space increase is reflected in your EPP appliance.