Originally posted by: SystemAdmin
Hello all,
When performing alt_disk_copy i am getting the following error.
$ alt_disk_copy -d hdisk3
/usr/sbin/alt_disk_copy
1366: 0403-057 Syntax error at line 339 : `"' is not matched.
Assuming that there is some error in the script it self i copied the alt_disk_copy script from some other server(where alt_disk_copy worked properly)....
$ oslevel -r
6100-06
Both the disk are of equal size.
$ bootinfo -s hdisk0
139047
root:@kwsej06:/
$ bootinfo -s hdisk3
139047
After debugging I found the below o/p
Sriharsha Vallabhaneni root:@kwsej06:/
$ /usr/bin/ksh -x /usr/sbin/alt_disk_copy
+ [
-n ] + export PATH=/usr/bin:/usr/sbin:/etc:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/sbin/perf/pmr:/opt/LicenseUseManagement/bin:/usr/opt/ifor/ls/os/aix/bin
+ unalias -a
+ export ODMDIR=/etc/objrepos
+ typeset MAIN_RC=0
+ export SPATH=/ALT_MIG_SPOT
+ [
/usr/sbin/alt_disk_copy = /ALT_MIG_SPOT ] + . /usr/lpp/bos.alt_disk_install/bin/altlib
/usr/sbin/alt_disk_copy
1366: 0403-057 Syntax error at line 339 : `"' is not matched.
root:@kwsej06:/
$
#AIX-Forum