web disk usage stays at 0

Discussion in 'General' started by Turgut Kalfaoglu, Jan 29, 2025.

  1. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    When I first login, it shows me a nice report of each site, mailbox, etc and how much disk space they use.
    However the first list, the web disk usage stays empty - it shows every site as using 0 bytes.
    This is a centos 9 system, but I never enabled the system quota at linux level - could that be the reason?
    Many thanks, -t
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    That's, in fact, the case. Disk usage is a quota report, and not activating a quota means no disk usage reporting or quota functions.
     
    Turgut Kalfaoglu likes this.
  3. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Many thanks. I just added
    UUID=xxxx / xfs defaults,noatime,nodiratime,uquota,gquota 0 1
    into fstab,
    added : GRUB_CMDLINE_LINUX=".... rootflags=usrquota,grpquota"
    to /etc/default/grub, re-created the /boot/grub2/grub.cfg and rebooted.
    now we wait I guess :)
    Regards, -turgut
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    This might not be enough for existing sites as they have all been added without quota. You can try to run Tools > Resync to see if this fixes the issue.
     
  5. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    Yep, I did the resync, still at zero. It occurred to me that xfs has different commands, like xfs_quota etc, maybe ispconfig is looking for the traditional ext2/3/4 commands?
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    XFS is not supported.
     
    Turgut Kalfaoglu likes this.
  7. Turgut Kalfaoglu

    Turgut Kalfaoglu Member HowtoForge Supporter

    I'm working on adding XFS support. Can I assume that the "/" will be where the /var/www is always located on ispconfig systems? I need to query its block size. Thanks!
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The 'root' of all websites is typically /var/www and we recommend not to change it, but it is configurable under System > Server config > Web, so there might be systems where it is not /var/www
     

Share This Page