My Oracle Support Banner

How To Determine disk space needed to perform Ops Center database backup (ecadm backup) (Doc ID 2598347.1)

Last updated on OCTOBER 21, 2019

Applies to:

Enterprise Manager Ops Center - Version 12.3.0 to 12.4.0 [Release 12.0]
Information in this document applies to any platform.

Goal

Customer asked how to estimate the disk space needed so as to to run run a successful Ops Center database backup (ecadm backup)

Customer was seeing the following filesystem full error:

# /opt/SUNWxvmoc/bin/ecadm backup -vvv
ecadm: Using default log file = /var/opt/sun/xvm/logs/sat-backup-2019-10-10-10:15:41.log
ecadm: using logFile = /var/opt/sun/xvm/logs/sat-backup-2019-10-10-10:15:41.log
ecadm: *** PreBackup Phase
ecadm:    --- 000_startstop.d: Executing prebackup
Instance name not found: [scn-agent]. 
ecadm:    --- 000_startstop.d: Successful prebackup
ecadm:    --- 120_update-uce.d: Executing prebackup
ecadm:    --- 120_update-uce.d: Successful prebackup
ecadm:    --- 130_proxy-database.d: Executing prebackup
ecadm:    --- 130_proxy-database.d: Successful prebackup
ecadm:    --- 140_satconf.d: Executing prebackup
ecadm:    --- 140_satconf.d: Successful prebackup
ecadm:    --- 150_osp.d: Executing prebackup
ecadm:    --- 150_osp.d: Successful prebackup
ecadm:    --- 160_cacao.d: Executing prebackup
ecadm:    --- 160_cacao.d: Successful prebackup
ecadm:    --- 190_ocdatabase.d: Executing prebackup
satadm:    --- Verified database
ecadm:    --- 190_ocdatabase.d: Successful prebackup
ecadm:    --- 197_database-files.d: Executing prebackup
ecadm:    --- 197_database-files.d: Successful prebackup
ecadm:    --- 198_reports.d: Executing prebackup
ecadm:    --- 198_reports.d: Successful prebackup
ecadm:    --- 199_osimage.d: Executing prebackup
ecadm:    --- 199_osimage.d: Successful prebackup
ecadm:    --- 200_osdistro.d: Executing prebackup
ecadm:    --- 200_osdistro.d: Successful prebackup
ecadm: *** Backup Phase
ecadm:    --- 100_preferences.d: Executing backup
ecadm:    --- 100_preferences.d: Successful backup
ecadm:    --- 120_update-uce.d: Executing backup
Creating tar file from existing data for all installed distributions.
tar: /var/opt/sun/xvm/uce/opt/server/private/SERVICE_CHANNEL: No such file or directory
Done.
ecadm:    --- 120_update-uce.d: Successful backup
ecadm:    --- 130_proxy-database.d: Executing backup
ecadm:    --- 130_proxy-database.d: Successful backup
ecadm:    --- 140_satconf.d: Executing backup
ecadm:    --- 140_satconf.d: Successful backup
ecadm:    --- 150_osp.d: Executing backup
ecadm:    --- 150_osp.d: Successful backup
ecadm:    --- 160_cacao.d: Executing backup
ecadm:    --- 160_cacao.d: Successful backup
ecadm:    --- 190_ocdatabase.d: Executing backup
Oracle Corporation      SunOS 5.11      11.3    July 2018
satadm: setting command arg
satadm: No Logfile provided, defaulted to /var/opt/sun/xvm/logs/satadmsqlplus.log
satadm: running sqlplus as OC
satadm: Exiting sqlplus with exitcode= 0
ecadm:    --- 190_ocdatabase.d: Successful backup
ecadm:    --- 197_database-files.d: Executing backup
Oracle Corporation      SunOS 5.11      11.3    July 2018
Oracle Corporation      SunOS 5.11      11.3    July 2018

ADRCI: Release 12.1.0.2.0 - Production on Thu Oct 10 11:03:22 2019

Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.

ADR base = "/var/opt/sun/xvm/oracle"
adrci> adrci> adrci> adrci> adrci> ecadm:    --- 197_database-files.d: Successful backup
ecadm:    --- 198_reports.d: Executing backup
ecadm:    --- 198_reports.d: Successful backup
ecadm:    --- 199_osimage.d: Executing backup
ecadm:    --- 199_osimage.d: Successful backup
ecadm:    --- 200_osdistro.d: Executing backup
ecadm:    --- 200_osdistro.d: Successful backup
ecadm: *** PostBackup Phase
ecadm:    --- 198_reports.d: Executing postbackup
ecadm:    --- 198_reports.d: Successful postbackup
ecadm:    --- 197_database-files.d: Executing postbackup
ecadm:    --- 197_database-files.d: Successful postbackup
ecadm:    --- 190_ocdatabase.d: Executing postbackup
ecadm:    --- 190_ocdatabase.d: Successful postbackup
ecadm:    --- 160_cacao.d: Executing postbackup
ecadm:    --- 160_cacao.d: Successful postbackup
ecadm:    --- 120_update-uce.d: Executing postbackup
ecadm:    --- 120_update-uce.d: Successful postbackup
ecadm:    --- 010_packagechk.d: Executing postbackup
ecadm:    --- 010_packagechk.d: Successful postbackup
ecadm:    --- 000_startstop.d: Executing postbackup
ecadm:    --- 000_startstop.d: Successful postbackup
tar: write error: No space left on device
ecadm: ERROR: Errors during archive of /var/tmp/satadm-temp-9580 to /var/tmp/sat-backup-2019-10-10-10:15:41.tar
ecadm: ERROR: **** Aborting -- output deleted
ecadm: ERROR: **** Log in /var/opt/sun/xvm/logs/sat-backup-2019-10-10-10:15:41.log
rm: Unable to remove directory /var/tmp/satadm-temp-9580/197_database-files.d: No space left on device
rm: Unable to remove directory /var/tmp/satadm-temp-9580/190_ocdatabase.d: Directory not empty
rm: Unable to remove directory /var/tmp/satadm-temp-9580: Directory not empty

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.