creating file /aquota.user and /aquota.group??
Hi
I m using disk quota on my computer on filesystem '/'. I have enabled both usrquota and grpquota in /etc/fstab for mount point /. But when I reboot the system or remount / using 'mount -o remount' I don't see any /aquota.user or /aquota.group created while according to 'man quotacheck' it says. . "quotacheck expects each filesystem to be checked to have quota files named [a]quota.user and [a]quota.group located at the root of the associated filesystem. If a file is not present, quotacheck will create it." I wanted to know if above works or I HAVE TO create these files on my own before I run quotacheck command. Please advice. Thanks & regards, Deepika |
Yeah create aquota.user and aquota.group
# touch /quota.user /quota.group # chmod 600 /quota.user /quota.group now reboot in single user mode with no services running then #quotacheck -c -d -u /dev/hdax If all goes well you'll find the sizes of /quota.user and /quota.group are no longer zero now reboot to runlevel 5 Jessel |
All times are GMT -5. The time now is 02:09 AM. |