# 1. Verify new disk size ``` lsblk ``` You should see that `/dev/sda` is now the full allocated size, however the main partition (`sda3`) may not be using the full disk size yet. # 2. Resize the partition > [!Note] > These instructions are for LVM which is common in Ubuntu Server. ## 2.1 Identify the correct disk and partition ``` sudo fdisk -l ``` Look for the main partition (e.g., `/dev/sda3`) — this is usually the one that needs to be resized. ## 2.2. Use `growpart` to expand the partition ```bash sudo growpart /dev/sda 3 ``` # 3. Resize the LVM Physical Volume ```bash sudo pvresize /dev/sda3 ``` # 4. Extend the Logical Volume ## 4.1 Identify the logical volume ```bash sudo lvdisplay ``` > [!Warning] > Need instructions on how to identify ## 4.2 Extend the Logical Volume ```bash sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv ``` # 5. Resize the filesystem ```bash sudo resize2fs /dev/ubuntu-vg/ubuntu-lv ``` # 6. Verify expanded space ```bash df -h ```