No disk space, but disks are fine?

Discussion in 'Installation/Configuration' started by SparkyRih, Nov 27, 2021.

  1. SparkyRih

    SparkyRih Member

    Ok, so I was getting some random weird error from one of my websites while uploading images... Looking into it, it turns out that I cannot write to any of my websites directories anymore (even via SSH (root user), I get the error that the "device is full").

    My df command output:
    Code:
    Filesystem     1K-blocks     Used Available Use% Mounted on
    udev             4051420        0   4051420   0% /dev
    tmpfs             816840     1404    815436   1% /run
    /dev/sda2       41019616 27536164  11370072  71% /
    tmpfs            4084188        0   4084188   0% /dev/shm
    tmpfs               5120        4      5116   1% /run/lock
    tmpfs            4084188        0   4084188   0% /sys/fs/cgroup
    /dev/loop0         88704    88704         0 100% /snap/core/4486
    /dev/loop1         89088    89088         0 100% /snap/core/4830
    /dev/sdb1      205374440 94766388 100105960  49% /var/www
    tmpfs             816836        0    816836   0% /run/user/1000
    
    So as you can see, my main disk has 71% disk space in use, and the secondary disk (where all the website files are actually located) only 49%

    Does somebody have any idea why I'm suddenly having this weird issue?

    Edit: Forgot to mention, all websites have unlimited (-1) quotas...
     
    Last edited: Nov 27, 2021
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Examine all the log files that get written when that device is full happens. Try to find what device is full or otherwise more informative error message.
    Check what the OS says about quota values, maybe something has gone out of sync with ISPConfig.
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe /dev/sdb1 got mounted read-only by the Linux Kernel, e.g. due to disk errors?
     
  4. SparkyRih

    SparkyRih Member

    Well, I removed one of the websites (since it has been moved to a different server anyway), that (temporarily) solved the issue, my websites respond as expected while uploading files, and I can write to the disk again.

    I also couldn't write to the rood of sdb1 (/var/www), not sure if I still have to look into ISPConfig quotas being out of sync? This looks more like an OS issue now I guess...
     
  5. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    maybe it's full inodes, not space? try 'df -i' see if any of those results are using 100%.
    alternatively, and i don't think it would stop you writing to /var/www, but maybe the /dev/sda2 drive is full but you can't see it because the issue is files in /var/www.
    maybe unmount /var/www and then see if there's anything major in the /var/www folder on the /dev/sda1 drive/partition.
    i don't think anything in there would be included up any disk space / quota reports whilst /dev/sdb1 is mounted there.
     

Share This Page