In this post will share the steps to add space on local mount point of Exadata DB server nodes using logical volumes. I will use DCLI utility to update the size in all nodes.
Requirement: Need to add 2GB space in /fd26 mount point on EXAD04 (Half Rack) Box.
- Check current status of mount point.
dcli -g dbs_group -l root "df -h /fd26"
- Check if space available in Volume Groups(VG).
dcli -g dbs_group -l root vgs
- Check Logical Volumes (LV) details in VG.
dcli -g dbs_group -l root lvdisplay > lvdetail.txt
(output will be saved at lvdetail.txt file on current directory). Now open lvdetail.txt file in vi editor and search pattern ‘/fd26’.
- Check VG detail for all node. Detail in file will look like below snippet.
- Add the required space on LV as per there absolute name.
dcli -g dbs_group -l root "lvextend -L+2G /dev/VGExaDb/fd26lv"
- Online update/sync the file system using absolute path of LV.
dcli -g dbs_group -l root "resize2fs /dev/mapper/VGExaDb-fd26lv"
- Cross check the updated size.
dcli -g dbs_group -l root "df -h /fd26"
and that’s all, Thankyou for reading