Resize VM Disk: Difference between revisions

Jump to navigation Jump to search
Line 38: Line 38:
To increase file system's size:
To increase file system's size:
* 'resize2fs /dev/sda2' (Assuming you need to increase /dev/sda2), this expands the filesystem on /dev/sda2 to use the full partition
* 'resize2fs /dev/sda2' (Assuming you need to increase /dev/sda2), this expands the filesystem on /dev/sda2 to use the full partition
output should look like this:
[[File:Screenshot 2025-03-19 at 15.53.12.png|thumb|center|`resize2fs /dev/sda2`]]
[[File:Screenshot 2025-03-19 at 15.53.12.png|thumb|center|`resize2fs /dev/sda2`]]
Verify available space running `df -h`, displays disk usage in a human-readable format
[[File:Screenshot 2025-03-19 at 15.55.56.png|thumb|`df -h`]]
As a final check you can also check Zabbix for Latest Data > Total Space for your vm
92

edits

Navigation menu