[root@suthakar ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
LogVol12 vg_suthakar -wi-ao---- 58.59g
lv_apps vg_suthakar -wi-ao---- 195.31g
lv_apps2 vg_suthakar -wi-ao---- 390.62g
lv_home vg_suthakar -wi-ao---- 19.53g
lv_local vg_suthakar -wi-ao---- 19.53g
lv_opt vg_suthakar -wi-ao---- 19.53g
lv_orafra vg_suthakar -wi-ao---- 341.80g
lv_ordata vg_suthakar -wi-ao---- 341.80g
lv_scratch vg_suthakar -wi-ao---- 427.80g
lv_swap vg_suthakar -wi-ao---- 15.74g
lv_swap1 vg_suthakar -wi-ao---- 9.77g
lv_tmp vg_suthakar -wi-ao---- 1.95g
lv_var vg_suthakar -wi-ao---- 19.53g
umount /dev/mapper/vg_suthakar-lv_orafra
fsck -f /dev/mapper/vg_suthakar-lv_orafra
resize2fs /dev/mapper/vg_suthakar-lv_orafra 300G
lvreduce -L -37G /dev/mapper/vg_suthakar-lv_orafra
mount /dev/mapper/vg_suthakar-lv_orafra
--
lvextend -L +37G /dev/mapper/vg_suthakar-lv_tmp
resize2fs /dev/mapper/vg_suthakar-lv_tmp
[root@suthakar ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
LogVol12 vg_suthakar -wi-ao---- 58.59g
lv_apps vg_suthakar -wi-ao---- 195.31g
lv_apps2 vg_suthakar -wi-ao---- 390.62g
lv_home vg_suthakar -wi-ao---- 19.53g
lv_local vg_suthakar -wi-ao---- 19.53g
lv_opt vg_suthakar -wi-ao---- 19.53g
lv_orafra vg_suthakar -wi-ao---- 304.80g
lv_ordata vg_suthakar -wi-ao---- 341.80g
lv_scratch vg_suthakar -wi-ao---- 427.80g
lv_swap vg_suthakar -wi-ao---- 15.74g
lv_swap1 vg_suthakar -wi-ao---- 9.77g
lv_tmp vg_suthakar -wi-ao---- 38.95g
lv_var vg_suthakar -wi-ao---- 19.53g
No comments:
Post a Comment