About Us

RSInfoMinds, a web based IT Training and Consultancy firm. It is established with high dreams in training people in IT Infrastructure Field. We provide Online and Class Room training in various fields of IT Infrastructure Management.

Join Us: http://www.facebook.com/RSInfoMinds
Mail Us: rsinfominds@gmail.com
Twitter: @RSInfoMinds

We are specialized in the below courses:

Redhat Linux Admin Redhat Linux Cluster
Redhat Virutualization IBM AIX Admin
IBM AIX Virtualization IBM AIX Cluster
HP Unix Admin HP Unix Cluster
HP Unix Virtualization Shell Scripting
Veritas Volume Manager Veritas Cluster
Oracle Core DBA VMWare


We provide training in such a way, So that you get in depth knowledge on the Courses you look for.

And we ensure you are very confident from each and every Techincal aspect that the IT Industry needs and expects from you.

We also conduct Workshops on the latest technology and the real time faculties sharing their work experiences to make you the best.

Thursday 6 March 2014

/usr/sbin/alt_rootvg_op[1246]: v1 > v2 : 0403-009 The specified number is not valid for this command = PART 2

With the debug mode, I could see the issue with the blv set on the disk:

# /usr/lpp/bosinst/blvset -d /dev/hdisk1 -g level
5.3

# /usr/lpp/bosinst/blvset -d /dev/hdisk0 -g level
 
BLV for hdisk1 is 5.3 but for hdisk0 is empty.

Thats the reason for the failure.

 ((  v1 > v2  ))

/usr/sbin/alt_rootvg_op[1246]:  v1 > v2 : 0403-009 The specified number is not valid for this command.

Hence I change the BLV using the same command to fix the issue.

 # /usr/lpp/bosinst/blvset -d /dev/hdisk0 -p levlel
5.3

# /usr/lpp/bosinst/blvset -d /dev/hdisk0 -g level
5.3

# alt- _rootg vg_op -W-    -d hdisk0
Waking up altinst_rootvg volume group ...
#

# df
Filesystem    512-blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4         2162688   1998512    8%     1682     1% /
/dev/hd2        19070976   8906760   54%    25659     2% /usr
/dev/hd9var      2162688   2071424    5%      406     1% /var
/dev/hd3         2097152   2026448    4%      104     1% /tmp
/dev/hd1         1114112   1078472    4%       57     1% /home
/proc                  -         -    -         -     -  /proc
/dev/hd10opt     1179648   1067728   10%      713     1% /opt
/dev/alt_hd4     2162688   1998520    8%     1664     1% /alt_inst
/dev/alt_hd1     1114112   1078472    4%       57     1% /alt_inst/home
/dev/alt_hd10opt    1179648   1067728   10%      713     1% /alt_inst/opt
/dev/alt_hd3     2097152   2026360    4%       98     1% /alt_inst/tmp
/dev/alt_hd2    19070976   8906760   54%    25659     2% /alt_inst/usr
/dev/alt_hd9var    2162688   2071568    5%      406     1% /alt_inst/var

/usr/sbin/alt_rootvg_op[1246]: v1 > v2 : 0403-009 The specified number is not valid for this command = PART 1

# at lt_rootg vg_op -W -d hdisk0
Waking up altinst_rootvg volume group ...
/usr/sbin/alt_rootvg_op[1246]:  v1 > v2 : 0403-009 The specified number is not valid for this command.
#

# lspv 
hdisk0          00046474e2326aa4                    altinst_rootvg  
hdisk1          000b026db61a3de7                    rootvg          active

The cloning has completed fine:

Changing logical volume names in volume group descriptor area.
Fixing LV control blocks...
Fixing file system superblocks...
Bootlist is set to the boot disk: hdisk0

But still not able to wake up the altinst_rootvg.

Wake the alt inst in debug mode:

#  alt_rootvg_op -W -d hdisk0 -D
+ typeset +f
+ typeset -ft FAIL
+ typeset -ft abspath
+ typeset -ft adjust_idata_fs_size


BOOT_DISK=hdisk1
+ + /usr/lpp/bosinst/blvset -d /dev/hdisk1 -g level
BOOT_OS=5.3
+ + /usr/lpp/bosinst/blvset -d /dev/hdisk0 -g level
ALT_BOOT_OS=   
+ is_level_greater 5.3
+ [[ 5.3 =  ]]
+ echo 5.3
+ read v1 r1 leftover1
+ /usr/bin/tr .  
+ echo
+ read v2 r2 leftover2
+ /usr/bin/tr .  
+ ((  v1 > v2  ))
/usr/sbin/alt_rootvg_op[1246]:  v1 > v2 : 0403-009 The specified number is not valid for this command.

CONTINUED.............


How To Do OS Cloning on AIX In Debug Mode

The hardware cloning in AIX is done using  # alt_disk_copy or # alt_disk_install command.

You can use the flag : -D to enable the debug mode.