1. First you go to the virtual machine menu then select details
2. Next select the Hard Disk menu and edit
3. You need to resize disk into 100 GB from vCloud Director.
4. Go to VM and check the current condition. You see the existing size is 78 GB.
We will create unallocated 20 GB to existing partition
5. Create partition using cfdisk and we will see Free space 20 GB. Enter on it. Choose New
6. Free Space now become /dev/sda6. Enter and Choose Write.
This will writing partition table.
7. Type yes
8. Choose Quit
9. Now check the new partition you have created.
"$
fdisk
-l
/dev/sda"
10. Now pull it into your LVM configuration. First your will create the physical volume.
$ pvcreate
/dev/sda6
11. Take a look at your physical volumes
$ pvdisplay
12. Now, extend your volume group (ubuntu-vg) into your new physical volume (/dev/sda6)
$ vgextend ubuntu-vg
/dev/sda3
$ lvdisplay
13. Now, extend the logical volume to all free space available.
$ lvextend -l+100%FREE
/dev/ubuntu-vg/ubuntu-lv
14. Extend filesystem.
$ resize2fs
/dev/mapper/ubuntu--vg-ubuntu--lv
15. Now, after all successfull step, check after condition of your disk.
$ df -h