Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > Q


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


quotaon, quotaoff — turn HFS file system quotas on and off


/usr/sbin/quotaon [-guv] filesystem ...

/usr/sbin/quotaon [-guv] -a

/usr/sbin/quotaoff [-guv] filesystem ...

/usr/sbin/quotaoff [-guv] -a


These commands are provided for compatibility only. Their use is neither required nor recommended because mount and umount enable and disable quotas cleanly (see mount(1M)). See WARNINGS below for more information.


The quotaon command enables quotas on one or more file systems. Group quotas cannot be enabled on HFS file systems.

The quotaoff command disables quotas on one or more HFS file systems.

filesystem is either the name of the mount point of the file system, or the name of the block device containing the file system. The file systems specified must be currently mounted in order to turn quotas on or off. Also, the file system quota files, quotas (for user quotas) and quota.group (for group quotas) must be present in the root directory of each specified file system.

These commands will update the appropriate entries in /etc/mnttab to indicate that quotas are on or off for each file system.

When enabling quotas interactively after boot time, the quotacheck command should be run immediately afterward (see WARNINGS below).

Use mount (see mount(1M)) to determine whether quotas are enabled on mounted file systems.


The following options affect the behavior described above.


Obtain the filesystem list from /etc/fstab, using entries of type hfs and rw (or default) with the quota option, for user quotas and grpquota option, for group quotas (see fstab(4)).


Turn on or off group quotas only.


Turn on or off user quotas (the default) only.


Generate a message for each file system affected.


Environment Variables

LC_MESSAGES determines the language in which messages are displayed.

If LC_MESSAGES is not specified in the environment or is set to the empty string, the value of LANG is used as a default for each unspecified or empty variable. If LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of LANG.

If any internationalization variable contains an invalid setting, quotaon behaves as if all internationalization variables are set to "C". See environ(5).

International Code Set Support

Single and multi-byte character code sets are supported.


Using quotaoff to disable quotas on a file system causes the system to discontinue tracking quotas for that file system, and marks the quota clean flag in the superblock NOT_OK (see fsclean(1M)). This in turn, forces a quotacheck the next time the system is booted. Since quotas are enabled and disabled cleanly by mount and umount anyway, the use of quotaon and quotaoff is generally discouraged.


Disk quotas were developed by the University of California, Berkeley, Sun Microsystems, Inc., and HP.



Static information about the file systems


Mount file system table



Group and user quota statistics static storage for a file system respectively, where directory is the root of the file system as specified to the mount command (see mount(1M)).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.