server:extend_lvm
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| server:extend_lvm [2024/10/01 09:18] – created ashley | server:extend_lvm [2026/02/24 12:26] (current) – ashley | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | =====Extending LVM===== | + | =====Simple Extend in place===== |
| + | |||
| + | Extend the main 1st Logical Volume by 500G and resize in one step | ||
| + | lvextend -r -L +500G / | ||
| + | |||
| + | =====Complex | ||
| Create new parition on the physical drive: | Create new parition on the physical drive: | ||
| Line 14: | Line 19: | ||
| Extend the logical volume | Extend the logical volume | ||
| - | sudo lvextend -l +100%FREE / | + | sudo lvextend -L +100%FREE / |
| - | Grow the file system | + | Check Filesystem |
| + | df -Th | grep " | ||
| + | |||
| + | Grow the ZFS file system | ||
| sudo xfs_growfx / | sudo xfs_growfx / | ||
| + | | ||
| + | Grow the ext4 file system | ||
| + | resize2fs / | ||
| | | ||
server/extend_lvm.1727774280.txt.gz · Last modified: (external edit)
