XFS quota's - quota set on / but not on /home

Dijkstra

Verified User
Joined
May 26, 2008
Messages
12
Hello,

I encounter difficulties with setting quota's on my /home partition and got the error "Error with quotas: xfs_quota: cannot set limits: Function not implemented"

I followed the guide on https://docs.directadmin.com/operation-system-level/os-general/filesystems-and-quotas.html and double checked if I done it right.
The problem is dat only the / partition have quota's and /home not:

Code:
mount | grep ' / '
/dev/mapper/cloudlinux-root on / type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=512,swidth=1536,usrquota,prjquota)



Code:
mount | grep ' /home '
/dev/mapper/cloudlinux-home on /home type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=512,swidth=1536,noquota)

Code:
/dev/mapper/cloudlinux-home /home xfs rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,sunit=512,swidth=1536,noquota 0 0


But, in FStab I see:

Code:
/dev/mapper/cloudlinux-root                     /                       xfs     defaults,uquota,gquota  0 0
/dev/mapper/cloudlinux-home             /home                   xfs     defaults,uquota,gquota  0 0

The grub config is also right:
Code:
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/cloudlinux-swap rd.lvm.lv=cloudlinux/root rd.lvm.lv=cloudlinux/swap rhgb quiet rootflags=uquota,pquota"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

I've tried to remount /home, but still the same issue.
Code:
mount -o remount /home


Any ideas?
 
Last edited:
Last edited:
Just a last attempt. I don't use XFS but I checked the docs you followed and there only quota for root is given as example in Grub.

Now since /home is a seperate partition in your case. I think you might need to follow the same steps for the /home partition.

For the /root is only needed if there is no seperate /home partition as far as the docs are concerned.
 
Back
Top