This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| docu:csheet:sysadm:disks:physical_disk_resize [2021/02/24 14:55] – created admin | docu:csheet:sysadm:disks:physical_disk_resize [2022/05/26 11:49] (current) – admin | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| resize2fs /dev/vda1 | resize2fs /dev/vda1 | ||
| </ | </ | ||
| + | |||
| + | \\ | ||
| + | The code on LVM changes a bit | ||
| + | <code bash> | ||
| + | growpart /dev/vda 1 | ||
| + | pvresize /dev/vda1 | ||
| + | lvextend -l +100%FREE / | ||
| + | resize2fs / | ||
| + | </ | ||
| + | |||
| + | Sources: | ||
| + | https:// | ||