Author Topic: enable quota on new disk  (Read 2565 times)

victorhugops

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
enable quota on new disk
« on: January 26, 2018, 05:07:44 pm »
Hi,

I create a partition to /home (/dev/sdc1) and it dont have quotas enabled on samba.

I changed the file /etc/zentyal/samba.conf and add this :

# Add here any mount point but /home which should have quotas applied.
# Example: quota_mountpoints = /var/vmail /shares/myfiles
quota_mountpoints = /home

restart the server, but I still dont have quotes enable.

=======================
$ quota -v
quota: Cannot open quotafile /home/aquota.user: No such file or directory
Disk quotas for user itabsa (uid 1000):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
     /dev/xvda1       4       0       0               8       0       0       
itabsa@samba:~$
=======================

any idea how enable quota in a new disk/partition ??

thanks