Topic
  • 2 replies
  • Latest Post - ‏2013-03-26T22:26:25Z by dukessd
SystemAdmin
SystemAdmin
6902 Posts

Pinned topic Error while cloning

‏2013-03-23T02:11:17Z |
Hello all,
When performing alt_disk_copy i am getting the following error.
$ alt_disk_copy -d hdisk3
/usr/sbin/alt_disk_copy1366: 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_copy1366: 0403-057 Syntax error at line 339 : `"' is not matched.
root:@kwsej06:/
$
Updated on 2013-03-26T22:26:25Z at 2013-03-26T22:26:25Z by dukessd
  • nagger
    nagger
    342 Posts

    Re: Error while cloning

    ‏2013-03-25T23:05:00Z  
    Raise a PMR - this looks like a bug or something wrong with your configuration.
    You have checked for AIX errors? - errpt
    Also it is better to quote oslevel -s as this includes the service packs.
    You have all the service packs install .... of course.
    cheers, Nigel Griffiths
  • dukessd
    dukessd
    345 Posts

    Re: Error while cloning

    ‏2013-03-26T22:26:25Z  
    • nagger
    • ‏2013-03-25T23:05:00Z
    Raise a PMR - this looks like a bug or something wrong with your configuration.
    You have checked for AIX errors? - errpt
    Also it is better to quote oslevel -s as this includes the service packs.
    You have all the service packs install .... of course.
    cheers, Nigel Griffiths
    As Nigel says it's probably a bug but what is line (Syntax error at line) 339?

    HTH