*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> quotaon (1)              
Title
Content
Arch
Section
 

a(1M)

Contents


quotaon(1M)							   quotaon(1M)


NAME    [Toc]    [Back]

     quotaon, quotaoff - turn filesystem quotas	on and off

SYNOPSIS    [Toc]    [Back]

     /usr/etc/quotaon [	-v ] filesystem	...
     /usr/etc/quotaon [	-v ] [ -a ]

     /usr/etc/quotaoff [ -vd ] filesystem ...
     /usr/etc/quotaoff [ -vd ] [ -a ]
     /usr/etc/quotaoff [ -o enforce ] filesystem ...

DESCRIPTION    [Toc]    [Back]

     quotaon announces to the system that disk quotas should be	enabled	on one
     or	more local filesystems.	The filesystem(s) specified must be mounted at
     the time. quotaoff	announces to the system	that filesystems specified
     should have any disk quotas turned	off. Both these	commands behave
     slightly differently between EFS and XFS filesystems.

     On	EFS filesystems, a quota file must be present in the root directory of
     the specified filesystem and be named quotas.

     XFS filesystems have two components to their disk quota system:
     accounting	and limit enforcement (see quotas(4) ).	Except in the case of
     the root filesystem, XFS filesystems require that quota accounting	be
     turned on at mount	time. It is possible to	enable and disable limit
     enforcement on any	XFS filesystem after quota accounting is already
     turned on.	The default is to turn on/off both accounting and enforcement.

     These commands update the status field of devices located in /etc/mtab to
     indicate when quotas are on or off	for each filesystem.

   Options to quotaon    [Toc]    [Back]
     -a	  All EFS filesystems in /etc/fstab marked read-write with quotas will
	  have their quotas turned on.	This is	normally used at boot time to
	  enable quotas. This option does not apply to XFS filesystems.

     -v	  Display a message for	each filesystem	where quotas are turned	on.
	  This is typically useful to find out if the command succeeded	or
	  not.	See also the -s	option to repquota(1M) for monitoring the
	  quotaon/off status of	a given	filesystem.

     Quotas on a root XFS filesystem will not take effect until	the system is
     rebooted (with the	same filesystem	as the root filesystem).

   Options to quotaoff    [Toc]    [Back]
     -d	  Remove all the disk space taken up by	quota information. This	option
	  must be used cautiously since	it also	deletes	the limits of all
	  users.  One possibility is to	use it in conjunction with
	  repquot
 as outlined in quotas(4).  This command
	  applies only to XFS file systems. It is not possible to delete quota
	  information while leaving quotas turned on.




									Page 1






quotaon(1M)							   quotaon(1M)



     -a	  Force	all local EFS and XFS filesystems in /etc/fstab	to have	their
	  quotas disabled.

     -v	  Display a message for	each filesystem	affected.

     -o	enforce
	  enforce turns	off just the limit enforcement.	 The default is	to
	  turn off everything. This applies to XFS filesystems only.

   Turning on quotas on	XFS filesystems	(examples)
     o	  Turning On Quotas On an XFS Filesystem Other Than the	Root:  Use
	  mount(1M) or /etc/fstab(4) option quota to enable both accounting
	  and limit enforcement.  quotaon utility cannot be used for this
	  purpose.

     o	  Turning On Quotas On an XFS Root Filesystem:	Use quotaon -v / ,
	  sync , and reboot. This procedure will enable	both accounting	and
	  limit	enforcement.

     o	  Turning Off Quota Limit Enforcement On Any XFS Filesystem:  Make
	  sure that quota accounting and enforcement are both turned on	using
	  repquota -s. Use quotaoff -vo	enforce	to disable limit enforcement.
	  This may be done while the filesystem	is mounted.

     o	  Turning On Quota Limit Enforcement On	Any XFS	Filesystem:  Make sure
	  that quota accounting	is turned on using repquota -s.	Use quotaon
	  -v. This may be done while the filesystem is mounted.

BUGS    [Toc]    [Back]

     It	is not possible	to enable quotas on XFS	realtime filesystems.

FILES    [Toc]    [Back]

     quotas		 quota file at the EFS filesystem root
     /etc/mtab		 mounted filesystems
     /etc/fstab		 default filesystems

SEE ALSO    [Toc]    [Back]

      
      
     quotactl(2), fstab(4), mtab(4), repquota(1M), edquota(1M),	quotas(4).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
quotaon FreeBSD turn file system quotas on and off
quotaoff FreeBSD turn file system quotas on and off
quotaoff HP-UX turn HFS file system quotas on and off
quotaon HP-UX turn HFS file system quotas on and off
quotactl NetBSD manipulate filesystem quotas
quotactl OpenBSD manipulate filesystem quotas
repquota IRIX summarize quotas for a local filesystem
configipforwardstate IRIX turn IP forwarding on or off
VFS_FHTOVP FreeBSD turn an NFS filehandle into a vnode
VFS_VPTOFH FreeBSD turn a vnode into an NFS filehandle
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service