Resizing disk size for a Ganeti instance
This process entails two stages:
a) Adding Disk space to a Ganeti instance
Stop the machine using the command below:
root@master-node:~# gnt-instance stop cloud.renu.ac.ug
NB: cloud.renu.ac.ug is the name of the Ganeti instance to be re-sized
There after, run the command below.
Warning: Since this command usually takes long to complete, it’s strongly advised that you run it when working directly on the console of the machine, or in screen mode in case you’re working remotely.
root@master-node:~# gnt-instance grow-disk cloud.renu.ac.ug 0 50g
This command will grow the disk 0 (first disk) of the ganeti instance called cloud.renu.ac.ug by 50GB, meaning the disk size will be increased by 50GB from its initial, that is to say, from 200GB to 250GB.