Operating System - HP-UX
1751720 Members
4659 Online
108781 Solutions
New Discussion юеВ

Re: make_net_recovery/pax: bogus file?

 
SOLVED
Go to solution
Peter Heinemann
Frequent Advisor

make_net_recovery/pax: bogus file?

make_net_recovery is failing with an error apparently out of pax. If I understand the log correctly, it's finding a bogus/corrupt file (looking for a file with windoze syntax?)
If this is the case, any suggestions on how to clean it out (find can't find it)?
If it's not the case, any ideas why make_net/pax is gacking?

* /opt/ignite/data/scripts/make_sys_image -d
/var/opt/ignite/recovery/arch_mnt -t n -s local -n 2003-12-11,12:39 -m
t -w /var/opt/ignite/recovery/client_mnt/0x00306E1BAC94/recovery/2003-
12-11,12:39/recovery.log -u -R -g /var/opt/ignite/recovery/client_mnt/
0x00306E1BAC94/recovery/2003-12-11,12:39/flist -a 6434000

* Preparing to create a system archive
* The archive is estimated to reach 3217000 kbytes.
* Free space on /var/opt/ignite/recovery/arch_mnt
after archive should be about 426072 kbytes.

* Archiving contents of torvalds via tar to
/var/opt/ignite/recovery/arch_mnt/2003-12-11,12:39.
pax: tmp/
ar\opt\OV\log\OpC\opcerror : No such file or directory

Press Q/q to quit, Enter to continue:

WARNING: The pax command returned a non-zero exit status (exit status 1)
* Creation of system archive complete
NOTE: The following files are in the list of files that were on the
system, but they are no longer present. These files are not
included in the back-up:
/var/tmp/ign_configure/make_sys_image.log

ERROR: The make_sys_image command failed. The system recovery archive will
not be created.

Thanks...

...Peter
2 REPLIES 2
Peter Heinemann
Frequent Advisor

Re: make_net_recovery/pax: bogus file?

Never Mind!

Found the reference to flist in a previous post, used it to trace down the offender.

Dietmar Konermann
Honored Contributor
Solution

Re: make_net_recovery/pax: bogus file?

Peter,

it's known problem that Ignite fails to backup files containing backslashes in their filenames. JAGaf01832.

Workaround:

Change the filter_dead_files() function, coded in the
script /opt/ignite/data/scripts/make_sys_image to use the -r option
with print:

filter_dead_files() {
# NREad from standard-in and then check for any files
# that are no longer on the system and remove them
# from the list. Also note that the files in the list
# have been stripped of their first "/". Therefore,
# it has been added for the test.
while read -r FILE_IN
do
# Check if file exists and is readable. If not, do not archive.
if [[ -r "/${FILE_IN}" || -L "/${FILE_IN}" || -S "/${FILE_IN}" \
|| -p "/${FILE_IN}" || -b "/${FILE_IN}" || -c "/${FILE_IN}" \
|| -d "/${FILE_IN}" || -f "/${FILE_IN}" ]]; then
# The calling program accepts all output, so just do so.
print -r -- "${FILE_IN}"
else
print -r " /${FILE_IN}" >> ${TMP_GONE_FILE_LIST}
fi
done
} # End filter_dead_files()


Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)