Sorry if this seems stupid, but I'm still kinda new to Linux. So for a class we need to make a VM, I wanted to try and save space on my hard drive, so I only gave it 25 gigs. That's always been more than enough.

This time, I'm running out of space. I figured this would be a great chance to see LVM commands in action. So I add another 40GB hard drive in through VirtualBox and start the machine back up.

Next I format my new sdb with ext4. I then create a PV out of it. I add that PV to my existing VG. Finally, I extend my existing LV with `sudo lvextend -l +100%FREE /dev/mapper/parrot--vg-root`. It goes through without a problem. If I do a `lvscan` I can see that the LV has over 60.28 GiB.

I'm still getting warnings about my root partition running out of space though. If I run `df -h` I can see that `/dev/mapper/parrot--vg-root` only has 505MB free. If I run `fdisk -l` it shows that `/dev/mapper/parrot--vg-root` should also have over 60GiB. I just don't understand why my root partition isn't growing to reflect this new space.

I've also tried to run `resize2fs /dev/mapper/parrot--vg-root` but I get an error that the "device or resource busy while trying to open...".

There is nothing important on the machine so I could just wipe it and reinstall it with a bigger hard drive this time, but if possible I'd like to learn what I'm doing wrong so in the future I can handle LVM systems better.

Images for reference:

![](https://i.imgur.com/O5ptAt0.png) (df -h)

![](https://i.imgur.com/JdTsgYK.png) (fdisk -l)

![](https://i.imgur.com/iLJCDi4.png) (lvscan)

![](https://i.imgur.com/OoBVfyR.png) (resize2fs)