PDA

View Full Version : quota WARNING during configuration


badgerbox76
18th March 2006, 00:53
I have just installed quota and ran these commands. what should i do about the Cant save settings thing?



root@monitorwaves:/home/admin# touch /quota.user /quota.group
root@monitorwaves:/home/admin# chmod 600 /quota.*
root@monitorwaves:/home/admin# chmod 600 /quota.*
root@monitorwaves:/home/admin# chmod 600 /quota.*
root@monitorwaves:/home/admin# mount -o remount /
root@monitorwaves:/home/admin# touch /var/quota.user /var/quota.group
root@monitorwaves:/home/admin# chmod 600 /var/quota.*
root@monitorwaves:/home/admin# mount -o remount /var
root@monitorwaves:/home/admin# quotacheck -avugm
quotacheck: WARNING - Quotafile //quota.user was probably truncated. Can't save quota settings...
quotacheck: WARNING - Quotafile //quota.group was probably truncated. Can't save quota settings...
quotacheck: Scanning /dev/hda3 [/] done
quotacheck: Checked 6879 directories and 67183 files
quotacheck: WARNING - Quotafile /var/quota.user was probably truncated. Can't save quota settings...
quotacheck: WARNING - Quotafile /var/quota.group was probably truncated. Can't save quota settings...
quotacheck: Scanning /dev/hda4 [/var] done
quotacheck: Checked 185 directories and 5739 files
root@monitorwaves:/home/admin# quotaon -avug
/dev/hda3 [/]: group quotas turned on
/dev/hda3 [/]: user quotas turned on
/dev/hda4 [/var]: group quotas turned on
/dev/hda4 [/var]: user quotas turned on
root@monitorwaves:/home/admin#

edge
18th March 2006, 01:35
Nothing to worry about. This happens when the quota files are generated for the first time. As long as quotaon does not give an error everything is fine

More info: http://www.howtoforge.com/forums/showthread.php?t=465

badgerbox76
18th March 2006, 12:12
good to know. Thanks much edge