Resize VM Disk: Difference between revisions

Jump to navigation Jump to search
Line 31: Line 31:
   * `resizepart 2 100%`, choose partition you want to resize, here partition 2 is resized to use all available space
   * `resizepart 2 100%`, choose partition you want to resize, here partition 2 is resized to use all available space
   * `quit`, exit parted
   * `quit`, exit parted
You can verify the updated partition table running `lsblk`, this lists all storage devices, showing partitions and their sizes.
[[File:Screenshot 2025-03-19 at 15.49.02.png|thumb|center|`lsblk`]]


== Step 3 ==
== Step 3 ==
To increase file system's size:
To increase file system's size:
* 'resize2fs /dev/sda2' (Assuming you need to increase /dev/sda2)
* 'resize2fs /dev/sda2' (Assuming you need to increase /dev/sda2)
92

edits

Navigation menu