I am not sure why script is required to remove old kernel files from /boot partition of On-Prem. If there is indeed the issue - manual removal of such files is fine.
Saying that - it is important to understand reason of /boot got full and address it properly. Therefore I highly recommend to open case to Support for such kind of issue and get appropriate solution.
PS. If in the case you can share list of files which occupy the disk it would be helpful for the fast resolution.
------------------------------
Marat Makhlin
Imperva
On-Prem Technical Lead
------------------------------
Original Message:
Sent: 04-01-2024 11:57
From: Kovit Thakral
Subject: Free space on partition /var on MX is running low
Can you share the script?
------------------------------
Kovit Thakral
Solution Consoltant
Transition Systems & Networks (Thailand) Co. Ltd
Phasi Charoen
Original Message:
Sent: 01-27-2024 00:57
From: Angfe Landagan
Subject: Free space on partition /var on MX is running low
Update on this case.
Support provided me the necessary script to remove old kernel versions. I was able to reduced the /boot partition size on both MX and GW disks.
Imperva all the way :-)
------------------------------
[Leangf]
Original Message:
Sent: 12-19-2023 22:42
From: Angfe Landagan
Subject: Free space on partition /var on MX is running low
Hi,
I had the same issue but this time its the /var/boot folder which i cannot do an upgrade to v14.7.0.50 from 14.6 (EOL).
Any suggestion on what other logs to check or a script to determine those folders that are consuming the disk space?
Thank you.
Angfe
------------------------------
[Leangf]
Original Message:
Sent: 04-27-2021 07:08
From: Gerard Auld
Subject: Free space on partition /var on MX is running low
Hi Chintan,
This link should help... Imperva Documentation Portal
Gateway
- Delete unused large files
- Mainly old logs (ex. /opt/SecureSphere/etc/logs/GatewayLog/GatewayLog_[date].html )
- Crash files in /var/crash/imperva/
- Upgrade files in /var/securesphere/upgrades/ – purge old upgrade directories
- On VMs, Increase disk size
- In DAM, refine "Audit archive" & purge settings to act more frequently
Let me know if this answers your question.
Thanks,