Resizing Root disk of a linux Virtual Machine
In CloudStack, the default root disk size comes from the template. For the default CentOs 6.5 template, this was around 1.3GB. I wanted a VM in my CloudStack deployment with root disk size as 20GB. I created a vm with custom root disk size as 20GB. Even after specifying root disk size, df -h was showing only 1.3GB as usable disk. [root@VM-8b19c14c-9feb-4b77-a488-502b38e32ed1 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup-lv_root 1.3G 604M 649M 49% / tmpfs 1.9G 0 1.9G 0% /dev/shm /dev/xvda1 485M 32M 428M 7% /boot fdisk -l showed that there is additional space but volumes were not created. [root@VM-...