#3467 Issue closed
: COPY_AS_IS_EXELIST 47975 occurrences in the log file¶
Labels: support / question
, won't fix / can't fix / obsolete
,
old version
exfarmer opened issue at 2025-04-30 16:30:¶
Requesting support or just a question¶
mkbackup generates 47975 lines of COPY_AS_IS_EXELIST
Platform¶
Linux x64
Output¶
The rear command works, but the backup never finishes.
It takes hours just to get past the COPY_AS_IS_EXELIST part, then
starts the copy and hangs
Other servers, including the other RAC server, that write to the same
NFS don't have this issue.
Here's a few of the lines from the log file:
++ echo /dev/oracleasm/iid/0000000000009CF8
++ read -r
++ [[ ! -d /dev/oracleasm/iid/0000000000009CF7 ]]
++ [[ -x /dev/oracleasm/iid/0000000000009CF7 ]]
++ COPY_AS_IS_EXELIST=("${COPY_AS_IS_EXELIST[@]}" "$REPLY")
++ echo /dev/oracleasm/iid/0000000000009CF7
++ read -r
++ [[ ! -d /dev/oracleasm/iid/0000000000009CF6 ]]
++ [[ -x /dev/oracleasm/iid/0000000000009CF6 ]]
++ COPY_AS_IS_EXELIST=("${COPY_AS_IS_EXELIST[@]}" "$REPLY")
Additional information¶
After the above steps, this was from the last backup:
++ echo /dev/oracleasm/iid/000000000000AA20
++ read -r
++ [[ ! -d /dev/oracleasm/iid/000000000000AA1F ]]
++ [[ -x /dev/oracleasm/iid/000000000000AA1F ]]
++ COPY_AS_IS_EXELIST=("${COPY_AS_IS_EXELIST[@]}" "$REPLY")
+++ DoExitTasks
+++ Log 'Running exit tasks.'
+++ test 1 -gt 0
++++ Stamp
++++ date '+%Y-%m-%d %H:%M:%S '
+++ echo '2025-04-30 14:04:48 Running exit tasks.'
2025-04-30 14:04:48 Running exit tasks.
+++ JOBS=($(jobs -p))
++++ jobs -p
+++ test ''
+++ for task in '"${EXIT_TASKS[@]}"'
+++ Debug 'Exit task '\''cleanup_build_area_and_end_program'\'''
+++ test ''
+++ eval cleanup_build_area_and_end_program
++++ cleanup_build_area_and_end_program
++++ Log 'Finished in 6814 seconds'
++++ test 1 -gt 0
+++++ Stamp
+++++ date '+%Y-%m-%d %H:%M:%S '
++++ echo '2025-04-30 14:04:48 Finished in 6814 seconds'
2025-04-30 14:04:48 Finished in 6814 seconds
++++ test ''
++++ Log 'Removing build area /tmp/rear.PZyygFzL7TAKuJS'
++++ test 1 -gt 0
+++++ Stamp
+++++ date '+%Y-%m-%d %H:%M:%S '
++++ echo '2025-04-30 14:04:48 Removing build area /tmp/rear.PZyygFzL7TAKuJS'
2025-04-30 14:04:48 Removing build area /tmp/rear.PZyygFzL7TAKuJS
++++ rm -Rf /tmp/rear.PZyygFzL7TAKuJS/tmp
++++ rm -Rf /tmp/rear.PZyygFzL7TAKuJS/rootfs
++++ mount
++++ grep -q /tmp/rear.PZyygFzL7TAKuJS/outputfs
++++ [[ 1 -eq 0 ]]
++++ rm -Rf /tmp/rear.PZyygFzL7TAKuJS/outputfs
++++ rmdir -v /tmp/rear.PZyygFzL7TAKuJS
rmdir: removing directory, `/tmp/rear.PZyygFzL7TAKuJS'
rmdir: failed to remove `/tmp/rear.PZyygFzL7TAKuJS': Directory not empty
++++ Log 'End of program reached'
++++ test 1 -gt 0
+++++ Stamp
+++++ date '+%Y-%m-%d %H:%M:%S '
++++ echo '2025-04-30 14:04:49 End of program reached'
2025-04-30 14:04:49 End of program reached
+++ for task in '"${EXIT_TASKS[@]}"'
+++ Debug 'Exit task '\''exec 8>&-'\'''
+++ test ''
+++ eval 'exec 8>&-'
++++ exec
+++ for task in '"${EXIT_TASKS[@]}"'
+++ Debug 'Exit task '\''exec 7>&-'\'''
+++ test ''
+++ eval 'exec 7>&-'
++++ exec
The local.conf file:
[root@ rear]# cat /etc/rear/local.conf
# Default is to create Relax-and-Recover rescue media as ISO image
# set OUTPUT to change that
# set BACKUP to activate an automated (backup and) restore of your data
# Possible configuration values can be found in /usr/share/rear/conf/default.conf
#
# This file (local.conf) is intended for manual configuration. For configuration
# through packages and other automated means we recommend creating a new
# file named site.conf next to this file and to leave the local.conf as it is.
# Our packages will never ship with a site.conf.
OUTPUT=ISO
BACKUP=NETFS
ONLY_INCLUDE_VG=( 'VolGroup00' 'vgos' 'vg01' 'system' 'rhel' )
BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/media' '/var/tmp' '/usr/openv' '/var/log' '/var/log/audit' '/srv' '/var/crash' )
OUTPUT_PREFIX="$HOSTNAME.ReaRbkup.$( date +%Y%m%d%H%M%S 2>/dev/null )"
NETFS_PREFIX="$HOSTNAME.ReaRbkup.$( date +%Y%m%d%H%M%S 2>/dev/null )"
SYSLINUX_MODULES_DIR="/usr/share/syslinux"
BACKUP_URL=nfs://edlussp001/data/col1/ussp01_rear_Prod
[root@ussp-oraracprod01 rear]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.10 (Santiago)
[root@ussp-oraracprod01 rear]# rpm -q rear
rear-1.17.2-8.el6_10.x86_64
gdha commented at 2025-05-02 07:45:¶
@exfarmer rear-1.17.2 is too old to give support on and the
COPY_AS_IS_EXELIST
is now not part of the code anymore.
However, ReaR v2.4 should still work on RHEL 6. May I propose to switch
to that version?
exfarmer commented at 2025-05-04 16:36:¶
Thank you
[Export of Github issue for rear/rear.]