Posts

Showing posts with the label AIX cplv

Simple script to move AIX LVs from one VG to another

OS -- AIX 5.3 This is a very simple script that can be used to transfer set of AIX logical volumes (LV) from one volume group (VG) to another. This was used to move all oracle db LVs from one VG to another. 1. List all LVs to be moved in a txt file in the format of "lsvg -l" output. [root@BLOGHOST:/vg_move]$lsvg -l datavg | grep -i ora > oracle_lv.txt [root@BLOGHOST:/vg_move]$ cat oracle_lv.txt oracle_home2_lv jfs2 40 40 1 open/syncd /oracle oracle_home3_lv jfs2 32 32 1 open/syncd /cust fslv02 jfs2 120 120 3 open/syncd /orahome11g fslv05 jfs2 80 80 1 open/syncd /orahome nms_temp jfs2 8 8 1 open/syncd /ora_temp orahome10gg_2 jfs2 280 280 2 open/syncd /orahome10_2 oradataictpslt_ jfs2 444 444 5 open/syncd /oradata2 oradata1_lv jfs2 400 400 9 open/syncd /oradata1 oradataicp1_lv jfs2 400 400 5 open/syncd /ora fx_orahome...