| Description |
The article describes the steps to extend the existing free space in /dev/mapper/cl-root on the XFS from the FortiSIEM node. |
| Scope |
FortiSIEM |
| Solution |
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
Confirmed that /dev/vda is 100 G while /dev/vda2 remains at 24 G.
Parted /dev/vda (parted) unit GiB (parted) unit GiB <----- Note the 'Start' of partition 2. (parted) resizepart 2 100% <----- Extend to end of disk. (parted) quit partprobe /dev/vda <----- Re‑read partition table. lsblk <----- Verify vda2 ≃100G.
pvresize /dev/vda2 vgdisplay cl <----- Look for 'Free PE / Size' > 0 vgdisplay
This grows the LVM PV on /dev/vda2 to ≃ 100 GiB
lvextend -l +100%FREE /dev/cl/root lvdisplay /dev/cl/root <----- Verify LV size ≃ new VG size.
xfs_growfs / <----- Sr xfs_growfs /dev/mapper/cl-root. df -h <----- Should now show ≃100 G on '/'.
lsblk df -h vgdisplay cl lvdisplay /dev/cl/root
All should now reflect the expanded size.
Related articles: Technical Tip: Extend the /opt partition Technical Tip: How to expand local disk for eventdb mounted on /data |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.