Re: setup quota for each users

From: Ceri Davies (ceri_at_FreeBSD.org)
Date: 01/30/04

  • Next message: David Malone: "Re: IPF, IPv6 and a bridge"
    Date: Fri, 30 Jan 2004 11:18:42 +0000
    To: pirat <pirat@access.inet.co.th>
    
    
    

    On Fri, Jan 30, 2004 at 04:40:49PM +0700, pirat wrote:
    > hi sirs,
    >
    > i want to setup disk quota for each users at /home file system.
    > do i need to have options QUOTA for kernel and put in the 4th field of
    > /etc/fstab userquota ? oh yes, enable quota on also from /stand/sysinstall.

    Essentially, you've got it. Instead of using sysinstall you could
    simply add the lines:

    enable_quotas="YES"
    check_quotas="YES"

    to your /etc/rc.conf file.

    > my problem is that i do not know where to put quota.user file and its content
    > too.

    You don't need to create these manually. If you reboot after setting up
    the above then the startup scripts will create them for you. Then to
    edit them you would use the edquota command.

    There's a chapter in the handbook about quotas at
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/quotas.html.
    If you find it lacking in any way then we'd appreciate some feedback
    over at doc@FreeBSD.org.

    Finally, questions of this sort should be directed to the
    questions@FreeBSD.org list in future.

    Ceri

    -- 
    
    



  • Next message: David Malone: "Re: IPF, IPv6 and a bridge"

    Relevant Pages

    • SUMMARY Pt II: 100% full filesystem
      ... Subject: SUMMARY: 100% full filesystem ... One is file system boot time checks, ... equivalent to "fsck" in the AdvFS stuff, consistency is sort of assumed as a ... AdvFS, unlike UFS, does indeed have mandatory quota files, even if you are ...
      (Tru64-UNIX-Managers)
    • Elastic Quota File System (EQFS)
      ... file system works on a simple concept ... ... each user is given a fixed amount of quota. ... EQFS tries to solve this problem by exploiting the users' ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Elastic Quota File System (EQFS)
      ... file system works on a simple concept ... ... each user is given a fixed amount of quota. ... EQFS tries to solve this problem by exploiting the users' ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Quota message
      ... How much disk does user 'aj.bunyola' have filled up ... to locate all the disk a user is occupying in a file system. ... What is user aj.bunyola quota set at. ... unreasonably low amount on the /var filesystem. ...
      (freebsd-questions)
    • Re: Enabling quotas on an already existing file system
      ... On Tue, 27 Jun 2006, John O'Loughlin wrote: ... On Tue, 27 Jun 2006, Padiyath Sreekumaran wrote: ... Which is mounted without quota option and users are using it. ... I want to implement userquota on this file system. ...
      (RedHat)