This shows how to increase the size of the logical volume, where that mounted on “/rdbms/oradata/data2”, size was grab from unnecessary logical volume was mounted on “/rdbms/oradata/data1” on another Volume group vg71.
/dev/vg56/lvol1 209715200 200494696 9148512 96% /rdbms/oradata/data2
/dev/vg71/lvol2 314507264 9630632 302495344 3% /data1
/dev/vg71/lvol3 314441728 218277456 95544216 70% /data2
The problem is VG71 was has two logical volume, lvol2 (was mounted at /data1) and lvol3 (was mounted at /data2).
So first we must remove the unnecessary logical volume, then out the disk member of unnecessary logical volume /dev/dsk/c64t15d5, after that you can extend the disk to another Volume Group (vg56), extend the logical volume (vg56|lvol1|/rdbms/oradata/data2), and verify the space.
Backup the data before use this step.
Verify the online JFS has installed
B3929CA B.11.11.03.03 HP OnLineJFS
Step out the disk /dev/dsk/c64t15d5 from vg71
vgreduce /dev/vg71 /dev/dsk/c64t15d5
Added /dev/dsk/c64t15d5 to VG56
vgextend /dev/vg56 /dev/dsk/c64t15d5
Extend lvol1 from vg56
I’want to extend above 50GB, (source size is 209GB, so totally is 259GB)
lvextend -L 259000 /dev/vg56/lvol1
Now Increase with online JFS tools
fsadm -b 265216000 /rdbms/oradata/data2
Note: 265216000= 259000 * 1024
Filesystem kbytes used avail %used Mounted on
/dev/vg56/lvol1 262078464 200496296 61101096 77% /rdbms/oradata/data2