Find the answer to your Linux question:
Results 1 to 8 of 8
I am trying to set quotas and when I use edquota and enter the limits, when I use repquota they don't show up. When I use edquota again they are ...
  1. #1
    Just Joined! mpg198's Avatar
    Join Date
    Apr 2009
    Posts
    86

    Quota not working

    I am trying to set quotas and when I use edquota and enter the limits, when I use repquota they don't show up. When I use edquota again they are still there. Is there something I have to do to apply them?

  2. #2
    Just Joined! mpg198's Avatar
    Join Date
    Apr 2009
    Posts
    86
    Bump I need help before I go insane

  3. #3
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100

  4. #4
    Just Joined! mpg198's Avatar
    Join Date
    Apr 2009
    Posts
    86
    You mean in /etc/fstab? Yes I did.

    Code:
    #
    # /etc/fstab
    # Created by anaconda on Thu Nov 26 22:11:06 2009
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
    #
    UUID=f0b2b447-f2fe-46dc-9d86-95c0cf60c49e /                       ext3    defaults        1 1
    UUID=a59761f3-c616-41f4-9fd2-6a6f5890abbb /boot                   ext3    defaults        1 2
    tmpfs                   /dev/shm                tmpfs   defaults        0 0
    devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
    sysfs                   /sys                    sysfs   defaults        0 0
    proc                    /proc                   proc    defaults        0 0
    UUID=f76bbf98-db6a-4f07-999a-073d8942f734 swap                    swap    defaults        0 0
    /dev/sda4		/data			ext3	defaults,usrquota,grpquota 1 1

  5. #5
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    Could you try and follow the howto, I posted above?
    Note, that it says usrjquota instead of usrquota. Same for group.

    Also, a remount of the partitions with the new options might be needed. (after checking for errors and creating those quota files.

  6. #6
    Just Joined! mpg198's Avatar
    Join Date
    Apr 2009
    Posts
    86
    Code:
    #
    # /etc/fstab
    # Created by anaconda on Thu Nov 26 22:11:06 2009
    #
    # Accessible filesystems, by reference, are maintained under '/dev/disk'
    # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info
    #
    UUID=f0b2b447-f2fe-46dc-9d86-95c0cf60c49e /                       ext3    defaults        1 1
    UUID=a59761f3-c616-41f4-9fd2-6a6f5890abbb /boot                   ext3    defaults        1 2
    tmpfs                   /dev/shm                tmpfs   defaults        0 0
    devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
    sysfs                   /sys                    sysfs   defaults        0 0
    proc                    /proc                   proc    defaults        0 0
    UUID=f76bbf98-db6a-4f07-999a-073d8942f734 swap                    swap    defaults        0 0
    /dev/sda4		/data			ext3	errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1
    Still not working

  7. #7
    Linux Newbie rituraj.goswami's Avatar
    Join Date
    Aug 2008
    Location
    Guwahati
    Posts
    133
    you have to switch on the quota using the quotaon command.
    There is nothing impossible, for everything is possible; the impossible only takes a bit longer than the possible.

  8. #8
    Just Joined! mpg198's Avatar
    Join Date
    Apr 2009
    Posts
    86
    I'm pretty sure I did, I have a guide here I am following and it's still not workinh.

    I just started up and there is an exclaimation point in a triangle for boot messages and it says
    Code:
    Enalbing local filesystem quotas:                      [FAILED]
    /var/logs/messages says something about "AVC Denied" now that I inspect further.

    I disabled SE Linux and that icon doesn't appear but it's still not working.

    I think I got it working. Do I have to make files using a the user account(s) that have quotas set on the filesystem where the quotas are set? Because I wasn't doing that before, I didn't plan on making files until the quotas were working.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...