confusion about implementing quota
Hello good gents
I am asking for your help, searching the web didn't solved my problem or i am being a bit dense. To the problem at hand. On a Ubuntu server 22.04 i have to implement the quotas for the users. One detail of importance: the server has a mount point called /data and users have their /home on /data/home. So in the fstab a certain disk partition is mounted at /data. There is no /home mount point, nor can i add one. What I did was: Code:
apt install quota Then Code:
sudo quotacheck -ugm /data I can't enable quotaon -v /data/home, nor /home. - Mountpoint(or device) not found or has no quota enabled. Now, When i succesfully activated quotas on /data, two files were created.aquota.group and aquota.user. Q: If i simply move those two files, will allow /data/home to be seen as valid point? If the quota is enabled on /data, i can simply edquota for a user and will automagically understand that the quota is applied to /data/home/myuser? So i am stuck here, for the moment and i am asking fot your help. Kindly point me to the right dirrection. Thank you in advance, |
Ok, the quotacheck command created the files aquota.user and aquota.group in /data
Quotas only exist once, at the mount point, not at subdirectories. Does the command df -T /data show a /dev/... path? Does the filesystem type support quotas? Once quotas are enabled, you can run the command repquota -a to report them. edquota is to set limits. |
All times are GMT -5. The time now is 02:57 AM. |