Search another article?
Extend Full Disk (SGBox V5)
Extend the entire disk size
This article explains how to expand the capacity of SGBox’s disk. With version 5 is possible extend the full disk, not only the data partition. In order to extend the disk:
- SGBox version 5 is required.
- You need to extend SGBox disk from your hypervisor.
- ⚠️ It may be necessary to reboot the machine after expansion on the hypervisor
Connect in ssh (using for example Putty program) to SGBox specifying the user cli.
If you haven’t changed them through the wizard, the default credentials are:
Select Hard disk management
Select Show current configuration in order to see your disk.
In our case, we see that:
- The hard disk is called: vda.
- The partition with root mounted is the number: 2.
- The SGBox partition is: 20G.
If the disk size is not increased maybe you need to restart you virtual machine! (also done after expansion by CLI interface, Appliance Management -> Reboot)
Select Resize HDD to maximum partition size.
Enter your hard disk name, in our case: vda.
Enter the partition number, in our case: 2.
Details has been shown during the partitioning…
The hard disk is now succesfully extended.
- New partition size is: 22G.