I am using tutorial https://www.howtoforge.com/tutorial...pureftpd-bind-postfix-doveot-and-ispconfig/2/ and there (exactly this page which link opens) is eleven point about pure-ftp and qouta: Question is that without adding above line I won't be able to setup disk qoutas for each/specific users under ISPC?
My fstab looks like below: Code: LABEL=cloudimg-rootfs / ext4 defaults 0 0 so after adding line from tutorial it should looks like this: Code: LABEL=cloudimg-rootfs / ext4 defaults,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 0 Am I right? PS There is usrjquota=quota.user,grpjquota=quota.group. What means attribute before equal mark and value after it and from which place they are taken? I found out what means jqfmt=vfsv0. It means that I can't setup qouta larger than 4TB. PS PS I found out that quota.user and quota.group should be the files which belongs to root but nowhere in tutorial they are created. PS PS PS After edit fstab I did Code: mount -o remount / and then Code: [email protected]:~# quotacheck -avugm quotacheck: Scanning /dev/sda1 [/] done quotacheck: Cannot stat old user quota file //quota.user: No such file or directory. Usage will not be subtracted. quotacheck: Cannot stat old group quota file //quota.group: No such file or directory. Usage will not be subtracted. quotacheck: Cannot stat old user quota file //quota.user: No such file or directory. Usage will not be subtracted. quotacheck: Cannot stat old group quota file //quota.group: No such file or directory. Usage will not be subtracted. quotacheck: Checked 16634 directories and 95954 files quotacheck: Old file not found. quotacheck: Old file not found. but after setup command quotaon -avug I have below which is difference output from tutorial: Code: [email protected]:~# quotaon -avug quotaon: using //quota.group on /dev/sda1 [/]: No such process quotaon: Quota format not supported in kernel. quotaon: using //quota.user on /dev/sda1 [/]: No such process quotaon: Quota format not supported in kernel. PS PS PS PS I found the solution: 1. Check for missing packages: Code: dpkg -s linux-generic dpkg-query: package 'linux-generic' is not installed and no information is available Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. 2. Install the missing linux-generic package: Code: apt-get -y install linux-generic 3. Also the extras packages: Code: apt-get -y install linux-image-generic apt-get -y install linux-headers-generic apt-get -y install linux-image-extra-`uname -r` 4. We need add the quota modules to start with boot: Code: echo quota_v1 >> /etc/modules echo quota_v2 >> /etc/modules reboot 5. Check if it's working: Code: cat /proc/modules | grep -i quota quota_v1 16384 0 - Live 0xffffffffc037c000 quota_v2 16384 2 - Live 0xffffffffc0377000 quota_tree 20480 1 quota_v2, Live 0xffffffffc0250000 quotaon -pa group quota on / (/dev/sda1) is on user quota on / (/dev/sda1) is on Source: https://serverfault.com/questions/843994/ubuntu-quota-format-not-supported-in-kernel One more thing. Doing things like above not resolve my problem. I should also: - reboot server - quotaoff -avug - quotacheck -avugm - quotaon -avug After above quota is on.