Extend LV and resize FS
Extend LVM logical volume by 10G and grow ext4 filesystem online
lvextend -L +10G /dev/vg0/lv_data && resize2fs /dev/vg0/lv_data
- tool
- linux133 commands
More linux commands
-
fallocate -l 2G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfileAllocate 2G swap file, set permissions, format and enable
-
swapon --show && free -hList active swap spaces and overall memory/swap stats
-
ip -br aBrief list of all interfaces with IPs
-
ip route show table allAll routing rules including policy routes
-
ip route add 10.0.0.0/8 via 192.168.1.1 dev eth0Add a persistent-until-reboot static route