# Expand storage

This process extends the logical volume and resizes the filesystem to utilize all remaining unallocated space on your primary hard drive.

---

1.  ## Extend the logical volume

    ```sh
    sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv
    ```

2.  ## Resize the filesystem

    ```sh
    sudo resize2fs /dev/ubuntu-vg/ubuntu-lv
    ```

3.  ## Verify

    ```sh
    df -h /
    ```
