/etc/fstab Code: # / was on /dev/md1 during installation UUID=be4fc8a4-33f9-4ffa-a204-33e0051d32d7 / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 # /tecdata was on /dev/md2 during installation UUID=a413be56-17c3-4262-aa2f-83a06a76d6bf /tecdata ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2 # /tecdatabackup was on /dev/sde1 during installation UUID=86998da5-58ae-4f09-bfaa-74658af88203 /tecdatabackup ext4 defaults 0 2 # swap was on /dev/md0 during installation UUID=ab8fc625-9326-469e-95c1-bee359289b57 none swap sw 0 0 I used: Remount both units: mount -o remount / mount -o remount /tecdata Quotacheck on all fs: quotacheck -avugm Quotaon on all fs: quotaon -avug The problem is that, when I use a limit for a user/website (hard disk space limit), it is displayed as the doubled! e.g: If I set 450 as limit, 900 is show as soft limit in ISPConfig3. I think that it is being computed for both fs (as if the user has a 450 limit in each device...)... so... what I have to disable? do I have to quotaoff -vug /dev/md1 for this to work? all user data, db too will be on /tecdata thanks in advance
Thats normal on a setup which uses quota on more then one partition. The reason for this is that the Linux quota is calculated for every partition seprately. So if you have 100MB quta set for a user, then this user has 100MB on each partition.
Thank you Till. I just want to save user data on tecdata partition. So, I need to disable quota for OS partition... it is just a quotaoff? do I have to do another thing?
I would remove the ",usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0" from the backup partition and then remount it. The quota as displayed in ispconfig should change then after a few minutes (at least 5 minutes).
Till, I don't have quota enabled on backup partition. Right now, this are my settings / UUID=be4fc8a4-33f9-4ffa-a204-33e0051d32d7 / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 /tecdata UUID=a413be56-17c3-4262-aa2f-83a06a76d6bf /tecdata ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 2 All user data will be saved on /tecdata. I did the follow: removed ",usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0" in fstab for md1 (where / is mounter) quotaoff -vug /dev/md1 mount -o remount /dev/md1 deleted /aquota.user and /aquota.group updated values in ispconfig Right now, I have the correct numbers displayed in ISPConfig for the user. I have to test it later to see if quota limit is working correctly as I want... I think it should... Please, do I will have a problem having deleting aquota.user and aquota.group, after disabling quota in md1 and turning it off? If this is incorrect, please explain me. Really, thank you very much for all your help.