Did you configure LVM or standard partition on your / partition while creating the template. ? You also should not have any other partition after the / partition. I,e swap or any other.
Vivek Kumar Sr. Manager - Cloud & DevOps IndiQus Technologies M +91 7503460090 www.indiqus.com > On 10-Oct-2021, at 2:05 PM, Ranjit Jadhav <ranjeet.jad...@gmail.com> wrote: > > Hello folks, > > I have implemented cloudstack with Xenserver Host. The template has been > made out of VM with basic centos 7 and following package installed on it > ------------------------ > sudo yum -y cloud-init > sudo yum -y install cloud-utils-growpart > sudo yum -y install gdisk > ------------------------ > > After creating new VM with this template, root disk is created as per size > mention in template or we are able to increase it at them time of creation. > > But later when we try to increase root disk again, it increases disk space > but "/" partiton do not get autoresize. > > > Following parameters were passed in userdata > ------------------------ > #cloud-config > growpart: > mode: auto > devices: ["/"] > ignore_growroot_disabled: true > ------------------------ > > Thanks & Regards, > Ranjit