Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
International Rescue Committe

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 53 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

quotaon



SYNOPSIS

       /usr/sbin/quotaon  [  -vugfp ] [ -F format-name ] filesys­
       tem...
       /usr/sbin/quotaon [ -avugfp ] [ -F format-name ]

       /usr/sbin/quotaoff [ -vugp ] [ -x state ] filesystem...
       /usr/sbin/quotaoff [ -avugp ]


DESCRIPTION

   quotaon
       quotaon announces to the system that disk quotas should be
       enabled  on  one or more filesystems. The filesystem quota
       files must be present in the root directory of the  speci­
       fied  filesystem and be named either aquota.user (for ver­
       sion 2 user quota), quota.user (for version 1 user quota),
       aquota.group  (for  version 2 group quota), or quota.group
       (for version 1 group quota).

       XFS filesystems are a special case - XFS  considers  quota
       information  as filesystem metadata and uses journaling to
       provide a higher level guarantee  of  consistency.   There
       are  two components to the XFS disk quota system: account­
       ing and limit enforcement.  XFS filesystems  require  that
       quota accounting be turned on at mount time.  It is possi­
       ble to enable and disable  limit  enforcement  on  an  XFS
       filesystem  after  quota  accounting is already turned on.
       The default is to turn on both accounting and enforcement.

       The  XFS  quota  implementation  does  not  maintain quota
       information in user-visible files, but rather stores  this
       information internally.

   quotaoff
       quotaoff  announces  to  the  system  that  the  specified
       filesystems should have any disk quotas turned off.


OPTIONS

   quotaon
       -a     All automatically mounted (no noauto  option)  non-
              NFS filesystems in /etc/fstab with quotas will have
              their quotas turned on.  This is normally  used  at
              boot time to enable quotas.

       -v     Display  a message for each filesystem where quotas
              are turned on.

       -u     Manipulate user quotas. This is the default.

       -g     Manipulate group quotas.

       -p     Instead of turning quotas on just  print  state  of
              quotas (ie. whether. quota is on or off)

       -u     Manipulate user quotas. This is the default.

       -g     Manipulate group quotas.

       -p     Instead of turning quotas off just print  state  of
              quotas (ie. whether. quota is on or off)

       -x delete
              Free  up  the  space used to hold quota information
              (maintained internally) within XFS.  This option is
              only applicable to XFS, and is silently ignored for
              other filesystem types.  It can only be used  on  a
              filesystem with quota previously turned off.

       -x enforce
              Switch  off  limit  enforcement for XFS filesystems
              (perform quota accounting only).   This  option  is
              only applicable to XFS, and is silently ignored for
              other filesystem types.


NOTES ON XFS FILESYSTEMS

       To enable quotas on an XFS  filesystem,  use  mount(8)  or
       /etc/fstab  quota  option  to  enable  both accounting and
       limit enforcement.  quotaon utility  cannot  be  used  for
       this purpose.

       Turning  on  quotas on an XFS root filesystem requires the
       quota mount options be passed into the kernel at boot time
       through the Linux rootflags boot option.

       To turn off quota limit enforcement on any XFS filesystem,
       first make sure that quota accounting and enforcement  are
       both  turned on using repquota -s.  Then, use quotaoff -vo
       to disable limit enforcement.  This may be done while  the
       filesystem is mounted.

       Turning on quota limit enforcement on an XFS filesystem is
       achieved using quotaon -v.  This may  be  done  while  the
       filesystem is mounted.


FILES

       aquota.user or aquota.group
                           quota  file  at  the  filesystem  root
                           (version 2 quota, non-XFS filesystems)
       quota.user or quota.group
                           quota  file  at  the  filesystem  root
                           (version 1 quota, non-XFS filesystems)
       /etc/fstab          default filesystems


SEE ALSO

       quotactl(2), fstab(5), repquota(8).
  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds