Quota on Debian GNU/Linux 7 (wheezy)

Discussion in 'Installation/Configuration' started by lnxgs, Jun 25, 2018.

  1. lnxgs

    lnxgs Member

    Hi,
    I've experienced an odd situation on an OVH server. I enabled quota. As I created this partition layout, I decided to put add quota to /var/www and /var/log partitions only.
    /dev/md2 / ext4 errors=remount-ro,relatime 0 1
    /dev/md4 /var/www ext4 defaults,relatime,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 1 2
    /dev/md5 /backup ext4 defaults,relatime 1 2
    /dev/md6 /var/log ext4 defaults,relatime,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 1 2
    /dev/sda3 swap swap defaults 0 0
    /dev/sdb3 swap swap defaults 0 0

    On /etc/fstab, after previous entries, I find this:

    /var/log/ispconfig/httpd/xxxxxx.com /var/www/clients/client2/web3/log none bind,nobootwait,_netdev 0 0
    /var/log/ispconfig/httpd/yyyyy.it /var/www/clients/client1/web8/log none bind,nobootwait,_netdev 0 0
    /var/log/ispconfig/httpd/vvvvv.vvvvv.it /var/www/clients/client1/web10/log none bind,nobootwait,_netdev 0 0
    /var/log/ispconfig/httpd/ppppppp.com /var/www/clients/client1/web11/log none bind,nobootwait,_netdev 0 0

    Is this right?
    Why do I get only log and not websites here?
    Regards,
    L.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    yes.

    Because only the log folder shall be made available inside the web directory tree.
     

Share This Page