ITEM: FG2459L
/usr/sbin/mkdirback[324]: TOTALSIZE * 55 / 100: 0403-009 The specified
Question:
Env:
AIX 4.1.5
RISC J30
sysback 4.1.4.2
Problem:
Customer does a backup to file using this syntax:
mkdirback -xf /images -I 123456 -p /usr
It fails with this error message:
Generating file list ..
Calculating file sizes ..
/usr/sbin/mkdirback[324]: TOTALSIZE * 55 / 100: 0403-009 The specified number is
not valid for this command.
Looking at the script:
if [ ! -z "$PACK" ]
then \# Set estimated size at 55% of the original
TOTALSIZE=$((TOTALSIZE * 55 / 100))
[ $TOTALSIZE = 0 ] && TOTALSIZE=1
msg 999 '\\nNOTE: Estimated megabytes is approximate since data i
s compressed.' >&2
fi
It appears the line: TOTALSIZE=$((TOTALSIZE * 55 / 100))
Should be this: TOTALSIZE=$((size * 55 / 100))
I don't see where you are using TOTALSIZE again in this script.
I see where you use the size variable through out this script.
Should the be this instead:
if [ ! -z "$PACK" ]
then \# Set estimated size at 55% of the original
size=$((size * 55 / 100))
[ $size = 0 ] && TOTALSIZE=1
msg 999 '\\nNOTE: Estimated megabytes is approximate since data i
s compressed.' >&2
fi
I opened up a defect with the developer
Fixed with sysback.rte 4.1.4.3
Support Line: /usr/sbin/mkdirback[324]: TOTALSIZE * 55 / 100: 0403-009 The specified ITEM: FG2459L
Dated: February 1998 Category: N/A
This HTML file was generated 99/06/24~13:30:14
Comments or suggestions?
Contact us