having problems expanding the space of one partition on a disk
I currently have a VM which has 50 GB of space. I increased it to 100 GB and booted the Ubuntu Live CD.
I did the following
- Deleted the partition
/dev/vda1
- Readded it with all blocks
-
resize2fs /dev/vda1
and it did it's job - rebooted
Now, df -h shows me it's still 50 GB. Is there anything I missed? The /dev/vda
disk is 107 GB.
Solution 1:
Is there another partition that is adjecent to partition #1. I ask because you can only expand (in place) if the area is contiguous to what was there before. You might want to show the fdisk for the disk /dev/vda.