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
-
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
Esckey to open the GRUB boot menu, and select Advanced options for Ubuntu.
-
Choose the first entry labeled (recovery mode).
-
Press Enter when prompted.
-
Identify the last partition.
Run the following command to list available partitions:
fdisk -lReview the output and identify the last partition (typically
/dev/sda3or/dev/sda5, depending on the server version).NOTE: The last partition may vary depending on your environment.
-
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.phpNOTE: If a service is not running, proceed to the next command.
-
Unmount the identified partition.
umount /dev/sda3or
umount /dev/sda5 -
Resize the partition.
Open the partition manager:
parted /dev/sda- Type
pto display the current partition table and sizes.
- Resize the last partition to the maximum available space:
resizepart 3 100%NOTE: If prompted about available space, type
fixto continue. - Run
pagain to verify the new partition size:p - Exit the partition manager:
quit - Refresh the kernel partition table:
partprobe
- Type
-
Check the file system.
Run a forced file system check (replace
sda3with your actual partition if needed):e2fsck -f /dev/sda3 -
Resize the file system.
resize2fs /dev/sda3 -
Remount and verify disk size.
mount -a
df -h -
Restart the appliance.
rebootAfter restart, verify that the disk space increase is reflected in your EPP appliance.