radim_h
6th March 2008, 12:43
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
and
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)
/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
and
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)