setquota: Not all specified mountpoints are using quota.
if above mentioned error comes
then first check if you have mount point and usrquota defined in /etc/fstab file or not just like the line given below
UUID=25c20065-sdsdsdsd-4367-b552-76b3815f2d22 /mnt/disk ext4 defaults,usrquota,grpquota 0
if everything is ok then do this
# cd /usr/sbin
# mv setquota setquota.old
# touch setquota
# chmod 755 setquota
then do this /mnt/disk is the partition name here then use below mentioned command
repquota "/mnt/disk"
cat /proc/mounts | grep " /mnt/disk "
quotaoff -a; quotacheck -avugm; quotaon -a
d