This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
docu:csheet:sysadm:disks:physical_disk_resize [2021/02/24 14:55] admin created |
docu:csheet:sysadm:disks:physical_disk_resize [2021/12/22 16:03] admin |
||
---|---|---|---|
Line 6: | Line 6: | ||
growpart /dev/vda 1 | growpart /dev/vda 1 | ||
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 / | ||
</ | </ |