Knowledge base


Back to the knowledge base
Common problems
  • Increase VPS disk size after package change
  • In case of a package change, the operating system running on the VPS will automatically will use all the available extra memory or processor, but it does not know what to do with the extra disk space. You will have to increase the partition and file system size so you can use the extra space. This can be done differently on different operatings systems.

    Debian, Ubuntu, Centos, and other linux

    Login via SSH to the VPS, and run the following commands as root user. As you can see, there is a difference in the two command, in one there is a space between vda and 1, for the other there isn't:
    growpart /dev/vda 1
    resize2fs /dev/vda1

    Windows Server

    Login via remote desktop to the VPS, right click to the Start menu, and choose Disk management option.
    Right click on C: drive, then choose Extend Volume menu.
    In the next windows click on Next, then on Finish.

    FreeBSD

    Login via SSH as root user, then run the following command:
    /etc/rc.d/growfs onestart


    Üzemeltető: VPS4You KFT VAT number: 32064526-2-08 Company registration number: 08-09-034904 Support: info@vps4you.hu +36-30/874-1982 Our prices contains 27% VAT