Welcome to Centmin Mod Community
Become a Member

Upgrade Disk Requirements: At least xxMB more space needed on the / filesystem.

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Kuro, Dec 30, 2024.

  1. Kuro

    Kuro Member

    109
    13
    18
    Feb 8, 2018
    Ratings:
    +25
    Local Time:
    12:34 PM
    1.15.10
    10.3
    • CentOS Version: AlmaLinux and Rocky Linux 9.2
      Centmin Mod Version Installed: 140.00beta01.
    Hi, It's been a while since I last updated my VPS. When I tried running a yum update today, I got an error saying there wasn't enough disk space.
    yum update


    upload_2024-12-29_16-31-32.png

    df-h
    upload_2024-12-29_16-32-21.png

    I've tried a few things, but I'm still stuck. :(
    Please help!
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    3:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Why partition with so little on / as /var and /usr is there and needs space for databases and system files, seems you partitioned all space to /home only. Easier to just give all space to / and not use /home in future.

    Might want to check out these threads which will shed some light :)
    Basically you're or maybe now using more disk space than you have available and need to upgrade your disk space on your VPS or move to VPS with more disk space

    You can use these commands to find where the disk space usage is going but do not go blindly deleting data as some of it would be for system operation so you can break your server deleting incorrect data.

    Code (Text):
    df -h
    du -h --max-depth=1 /
    du -h --max-depth=1 /home
    du -h --max-depth=1 /usr
    du -h --max-depth=1 /var
    

    For Centmin Mod Nginx vhost specific i.e. where you upload your site's files for your site files etc.
    Code (Text):
    du -h --max-depth=1 /home/nginx/domains
    

    any sensitive directory names for your site files etc can be masked by you manually as you don't want to publicly list them if possible
     
  3. Kuro

    Kuro Member

    109
    13
    18
    Feb 8, 2018
    Ratings:
    +25
    Local Time:
    12:34 PM
    1.15.10
    10.3
    I don't really have any experience with this, and I don't know which files or folders to delete...
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,647
    12,230
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,799
    Local Time:
    3:34 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah not much of that can be deleted, you only have 1.3GB free out of 9.8GB / root partition. Ideally for VPS you should let all free space be at / root instead of dividing it out to /home. Probably need to upgrade server or at least temporarily move your data to a temp server and repartition