Need help with quota on fedora core 11

Discussion in 'Installation/Configuration' started by saco721, Jun 1, 2010.

  1. saco721

    saco721 Member

    I am a Linux newbie running Fedora core 11 and having difficulties getting quota to work. Here's what I have done so far:

    I do :

    Code:
    yum install quota
    
    Installs quota fine.

    Then I edit fstab :

    Then run :

    Code:
    touch /aquota.user /aquota.group
    chmod 600 /aquota.*
    mount -o remount /
    quotacheck -avugm
    quotaon -avug
    
    The aquota.user and aquota.group files get created.

    File system mounts ok.

    However when I run quotacheck -avugm I get the following messages :
    When I run quotaon -avug I get the following messages :

    Then I reboot the system.

    Nothing is written to aquota.user or aquota.group. And I still get the error messages as above.

    To me it seems that there may be a problem with permissions on / file system but i'm not sure what they should be.

    Where am I going wrong?

    Any ideas / advice would be greatly appreciated. Thanks!
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. saco721

    saco721 Member

    Hi Falko, I have edited my fstab to use journaled quota as you advised.

    I changed fstab to :

    Then I rebooted system and did :

    Code:
    touch /aquota.user /aquota.group
    chmod 600 /aquota.*
    mount -o remount /
    quotacheck -avugm
    quotaon -avug
    
    quotacheck -avugm returns :

    quotaon -avug returns :

    Tried rebooting and still get errors.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Is it
    Code:
    /dev/mapper/vg_gizmo-lv_root / ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.gr oup,jqfmt=vsfv0 1 1
    ?
    Should be
    Code:
    /dev/mapper/vg_gizmo-lv_root / ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vsfv0 1 1
    (without space in aquota.group).
     
  5. saco721

    saco721 Member

    Hi Falko,

    Its definately

    Code:
    /dev/mapper/vg_gizmo-lv_root / ext4 defaults,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vsfv0 1 1
    
    dont know why space appeared in group.
     
    Last edited: Jun 7, 2010

Share This Page