To isolate the folder that's causing disk space issue, follow this KB article.
If the disk space issue is caused by /opt/trend/imss/temp folder, you can move that folder to a bigger partition to prevent the disk space issue from happening in the future.
To change IMSVA's temp directory location:
- Go to /var/app_data:
cd /var/app_data
- Create temp folder:
mkdir temp
- Open imss.ini to change the directory of temp directory used by IMSVA:
vi /opt/trend/imss/config/imss.ini
- Look for temp_dir and change the value to /var/app_data/temp. It should look like the following:
temp_dir=/var/app_data/temp
- Save and exit vi by pressing the "ESC" key, and then typing "/wq!".
- Restart IMSS service for the change to take effect:
S99IMSS restart
To modify the cronjob cleaning up temp directory:
- Edit cronjob script:
vi /var/spool/cron/root
- Change the temp directory. It should look like the following:
Find /var/app_data/temp/scan -mtime +2 -exec rm{}\;
- Save and exit vi by pressing the "ESC" key, and then typing "/wq!".