quota WARNING during configuration

Discussion in 'Installation/Configuration' started by badgerbox76, Mar 17, 2006.

  1. badgerbox76

    badgerbox76 Member

    I have just installed quota and ran these commands. what should i do about the Cant save settings thing?


    Code:
    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#
    
     
  2. edge

    edge Active Member Moderator

  3. badgerbox76

    badgerbox76 Member

    good to know. Thanks much edge
     

Share This Page