Quota on mounted directory /var/www not working

Discussion in 'Installation/Configuration' started by radim_h, Mar 6, 2008.

  1. radim_h

    radim_h Member

    I have mounted directory /var/www from other physcial disk
    /etc/fstab looks like:
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/sda3 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1
    /dev/sda1 /boot ext3 defaults 0 2
    /dev/sdb1 /var/www ext3 defaults,usrquota,grpquota 0 2
    /dev/sda2 none swap sw 0 0

    i did also
    touch /quota.user /quota.group
    chmod 600 /quota.*
    mount -o remount /
    quotacheck -avugm
    quotaon -avug


    touch /var/www/quota.user /var/www/quota.group
    chmod 600 /var/www/quota.*
    mount -o remount /var/www/
    quotacheck -avugm
    quotaon -avug

    But in this configuration Quotas in ISPconfig doesnt work, user can upload any data over limit set in ispconfig...

    Does anyone know, how to get working Quota over limit in FTP
    as when whole / is only on one drive
    (message 522 Transfer aborted. Disk quota exceeded)
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please check with:

    repquota -avug

    if the quota is set correctly for the user. Which linux distribution do you use? On some distributions, the files are named aquota.user and aquota.group.
  3. radim_h

    radim_h Member

    working now

    I'm using Debian Etch 4.0 64bit

    thanks for advice
    i didn't realized that quota for web was set before quota installed on /var/www
    Last edited: Mar 17, 2008

Share This Page