'\" te .\" Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. .\" Copyright 1989 AT&T .TH quotaon 1M "16 Sep 1996" "SunOS 5.11" "System Administration Commands" .SH NAME quotaon, quotaoff \- turn ufs file system quotas on and off .SH SYNOPSIS .LP .nf \fBquotaon\fR [\fB-v\fR] \fIfilesystem\fR... .fi .LP .nf \fBquotaon\fR \fB-a\fR [\fB-v\fR] .fi .LP .nf \fBquotaoff\fR [\fB-v\fR] \fIfilesystem\fR... .fi .LP .nf \fBquotaoff\fR \fB-a\fR [\fB-v\fR] .fi .SH DESCRIPTION .sp .LP \fBquotaon\fR turns on disk quotas for one or more ufs file systems. .sp .LP Before a file system may have quotas enabled, a file named \fBquotas\fR, owned by root, must exist in the root directory of the file system. See \fBedquota\fR(1M) for details on how to modify the contents of this file. .sp .LP \fBquotaoff\fR turns off disk quotas for one or more ufs file systems. .sp .LP The file systems specified must already be mounted. .sp .LP These commands update the \fBmntopts\fR field of the appropriate entries in \fB/etc/mnttab\fR to indicate when quotas are on or off for each file system. If quotas are on, the string \fBquota\fR will be added to \fBmntopts\fR; if quotas are off, the \fBquota\fR string is not present. .sp .LP \fIfilesystem\fR must be either the mount point of a file system, or the block device on which the file system resides. .SH OPTIONS .SS "quotaon" .sp .ne 2 .mk .na \fB\fB-a\fR\fR .ad .RS 6n .rt This option is normally used at boot time to enable quotas. It applies only to those file systems in \fB/etc/vfstab\fR which have ``rq'' in the \fBmntopts\fR field, are currently mounted ``rw'', and have a \fBquotas\fR file in the root directory. .RE .sp .ne 2 .mk .na \fB\fB-v\fR\fR .ad .RS 6n .rt Display a message for each file system after quotas are turned on. .RE .SS "quotaoff" .sp .ne 2 .mk .na \fB\fB-a\fR\fR .ad .RS 6n .rt Force all file systems in \fB/etc/mnttab\fR to have their quotas disabled. .RE .sp .ne 2 .mk .na \fB\fB-v\fR\fR .ad .RS 6n .rt Display a message for each file system affected. .RE .SH USAGE .sp .LP See \fBlargefile\fR(5) for the description of the behavior of \fBquotaon\fR and \fBquotaoff\fR when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes). .SH FILES .sp .ne 2 .mk .na \fB\fB/etc/mnttab\fR\fR .ad .RS 15n .rt mounted file systems .RE .sp .ne 2 .mk .na \fB\fB/etc/vfstab\fR\fR .ad .RS 15n .rt list of default parameters for each file system .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Availabilitysystem/core-os .TE .SH SEE ALSO .sp .LP \fBedquota\fR(1M), \fBquota\fR(1M), \fBquotacheck\fR(1M), \fBrepquota\fR(1M), \fBmnttab\fR(4), \fBvfstab\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5), \fBquotactl\fR(7I)