How to Check and Recover Local File System Disk Space on RSA Governance & Lifecycle
Originally Published: 2014-10-20
Last Modified: 2026-11-11
Article Number
000062452
Applies To
  • Product: RSA Governance & Lifecycle
  • Version: All supported versions
  • Platform: Hardware Appliance, Software Appliance
  • Component: Local File System (non-ASM), Oracle Database (log files, trace files, backup files)
  • Operating System: Linux — Red Hat Enterprise Linux, SUSE Linux Enterprise Server
  • Tools: df, du, find, standard Linux file management commands (mv, rm, gzip)
Issue

Use this article to check local (non-ASM) file system disk space usage on an RSA Governance & Lifecycle appliance and identify files that can safely be removed to recover space.

RSA Support may direct you here as a proactive diagnostic step, or you may use it independently when you observe symptoms such as:

  • The operating system reports: Error: 28: No space left on device
  • JBoss/WildFly server is not starting or not responding
  • The Oracle instance is not starting or not responding (due to log files that cannot be written)
  • Scheduled tasks are not completing (for example, collections, backups)

ℹ️ NOTE — Hardware vs. Software Appliance Scope:

  • Hardware Appliance — has two file systems: a local file system (application files, logs, backups) and an Oracle ASM partition (physical database files). This article covers the local file system only.
  • Software Appliance — has one file system where all files, including database files, reside. This article covers the full local file system.

If you are on a hardware appliance and suspect the Oracle ASM partition is running out of space, see Determining How Much Space Is Used in the Oracle Automatic Storage Management (ASM) Partition on an RSA Governance & Lifecycle Hardware Appliance instead.

 

⚠️ CAUTION: RSA Governance & Lifecycle Hardware Appliance has reached its end of support. It is strongly recommended to migrate to a supported platform. See the Product Version Life Cycle for RSA Governance & Lifecycle page for details.

 

Before proceeding, confirm you have the following:

PrerequisiteDetails
SSH accessSSH access to the RSA Governance & Lifecycle appliance
root accessSome file search and deletion operations require switching to the root account
Appliance type identifiedKnow whether your appliance is a hardware or software appliance before starting — this affects which file systems to check
Tasks
TaskUse WhenCommandsKey Output
Task 1: Check Disk Space UsageProactive check, or when disk space errors or application failures are first reporteddf, du, findIdentifies which file systems, directories, and files are consuming the most space
Task 2: Identify and Remove Files to Free Up SpaceAfter Task 1 confirms critically low disk space and identifies the problem areasLinux file management (mv, rm, gzip)Frees up disk space by removing or compressing eligible files

ℹ️ NOTE: Always complete Task 1 before Task 2 — you must identify which areas are consuming disk space before deciding which files to safely remove. Do not proceed to Task 2 without first reviewing the Task 1 output.

Resolution

Task 1: Check Disk Space Usage

Step 1. Log in to the RSA Governance & Lifecycle appliance via SSH.

Step 2. Run the df command with the -kh flags to display overall disk usage in human-readable format:

df -kh

Example output (Red Hat):

Filesystem                       Size   Used   Avail  Use%   Mounted on
/dev/mapper/VolGroup00-LogVol00   51G    13G    36G    27%     /
/dev/sda1                         99M    13M    82M    13%     /boot
tmpfs                             2.0G     0   2.0G     0%     /dev/shm

Example output (SUSE):

Filesystem                        Size   Used   Avail   Use%   Mounted on
/dev/mapper/system-root            58G    8.2G    47G    16%      /
udev                              2.0G    100K    2.0G    1%      /dev
/dev/sda1                          61M     30M     29M   51%      /boot

ℹ️ NOTE: Systems with disk space problems typically show 95% or higher in the Use% column. The examples above show healthy systems.

Step 3. Identify any file system at or above 95% usage. Note the Mounted on path — you will drill into it in the next step.

Step 4. Use the du command to drill down into the directories consuming space. Navigate to the mount point identified in Step 3 and run:

du -h --max-depth=1 | sort -rh | head -20

To get a summary of a single directory:

du -hs /path/to/directory

To redirect output to a file for easier review:

du -h /path/to/directory > /tmp/disk_usage_report.txt
more /tmp/disk_usage_report.txt

Step 5. Use the find command to locate individual large files. The following command searches for all files larger than 20 MB under the current directory:

find . -type f -size +20000k -exec du -h {} \;

To search the entire system, change . to / and run as root:

find / -type f -size +20000k -exec du -h {} \;

ℹ️ NOTE: Permission denied errors may appear depending on the current user account. Switch to the root account to search all directories.

Step 6. Review the output from Steps 2–5 and identify which file systems, directories, and files are consuming the most space. Use this information to proceed to Task 2.

✅ TIP: Refer to the man pages for df, du, and find for complete details on available options.


Task 2: Identify and Remove Files to Free Up Space

⚠️ CAUTION: Do not delete any files unless appropriate backups have been created first. The removal of the files listed below will not prevent the RSA Governance & Lifecycle application from working, but they may contain diagnostic or historical data you may need later.

The following are common locations for files eligible for removal. This is not an exhaustive list.

2.1 — WildFly/JBoss Application Server Logs

The aveksaServer.log is rolled based on file size (not date). Rolled logs are named aveksaServer.log.1 through aveksaServer.log.5. These may be deleted once reviewed and confirmed not to contain relevant diagnostic information.

2.2 — Database Log and Trace Files

Both the Oracle AVDB and +ASM instances create .trc files by default, even when there are no problems. To find them:

cd /u01
find . -name "*.trc" -exec ls -l {} \;

ℹ️ NOTE: Old Oracle trace files can be deleted while the Oracle instance is running. However, do not remove trace files that are actively being updated by an Oracle process.

The AVDB and +ASM alert logs are not rolled automatically — they grow until manually deleted or renamed. The Oracle instance must be stopped before renaming or purging these files. Review them for errors or diagnostic information before removal. Typical locations:

/u01/app/oracle/diag/rdbms/avdb/AVDB/trace/alert_AVDB.log
/u01/app/oracle/diag/asm/+asm/+ASM/trace/alert_+ASM.log

2.3 — Database Backup Files

Oracle backup .dmp files (created during database export) are located in the /home/aveksa/AveksaExportImportDir directory. These files may not be compressed (gzip), which causes them to consume significantly more space. The number of .dmp files may accumulate if they are not periodically moved off the system.

2.4 — Application Installation Files

The directory /tmp/aveksa/packages can be removed, provided these installation files have been backed up. If the application needs to be reinstalled, these files would need to be restored from backup or downloaded again from RSA Community.

⚠️ CAUTION: It is not recommended to delete /tmp/aveksa/staging unless absolutely necessary. The same backup caveat applies.

2.5 — Operating System Core Dump Files

Core dump files are memory dumps that can be very large. They are typically named core or core.<pid> (where <pid> is the process ID). Search for them from the root partition as root:

find / -name "core*" -type f -exec du -h {} \;

These files should be moved off the system for future analysis before deletion.

2.6 — Application Java Profiling Files

When Java profiling is enabled for diagnostic purposes, profile snapshots can be created in /home/oracle/Snapshots/. These files can be very large. To find them:

ls -l /home/oracle/Snapshots/JBoss*.snapshot

Move these files off the system and disable profiling when no longer required, then delete them.

2.7 — Archived Redo Logs

Although RSA Governance & Lifecycle does not support the use of RMAN, archiving of redo log files may be enabled. If no remote archive location is configured, files may accumulate in the default location:

/u01/app/oracle/product/12.1.0/db_1/dbs/arch1_499_918293958.dbf

To check whether archiving is enabled and where the files are stored:

sqlplus / as sysdba
SQL> ARCHIVE LOG LIST

Example output:

Database log mode              Archive Mode
Automatic archival             Enabled
Archive destination            /u01/app/oracle/product/12.1.0/db_1/dbs
Oldest online log sequence     11160
Next log sequence to archive   11163
Current log sequence           11163

If archiving is enabled and the destination is the local file system, archived redo logs may be consuming significant space.


Verification: After removing or compressing files, re-run df -kh to confirm that disk space has been recovered and usage is below the critical threshold.

Notes

 

Disk Space vs. Memory: Do not confuse operating system or Oracle memory with disk space. They use the same units of measure (MB, GB, etc.), but they are different. When investigating low disk space problems, neither the amount of physical memory on the system nor the Oracle memory parameters (e.g., SGA_TARGET, PGA_AGGREGATE_TARGET) are relevant.

Related Article: For checking the Oracle ASM partition on a hardware appliance (not covered by this article), see Determining How Much Space Is Used in the Oracle Automatic Storage Management (ASM) Partition on an RSA Governance & Lifecycle Hardware Appliance.