
366
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
quotas run this command at system startup. To prevent damage to
filesystems or loss of quota data, turn off quotas with quotaoff and
umount the system. quotacheck will attempt to remount any
mounted filesystem as read-only before scanning.
Options
-a Check all non-NFS filestystems in /etc/mtab.
-b Back up quota files before writing new data to them.
-c Skip reading existing quota information; just write new files.
-f Force checking on filesystems with quotas currently enabled.
-F format
Check quota files for the specified format. (See quota for valid
formats.)
-g Only check group quotas.
-i Prompt user for input upon finding errors.
-m Don’t try to remount mounted filesystems.
-M Force check to run in read-write mode if it cannot successfully
remount the filesystem in read-only mode.
-n If multiple entries for a user or group are found in a corrupt
quota file, use the first entry found.
-R Don’t check the root filesystem when using the -a option.
-u Only check user quotas. This is the default.
-v Print information on the progress of the command.
quotaon
quotaon [options] [filesystems]
System administration command. Turn on enforcement of file-
system quotas. To work, the filesystems must have a gpquota,
quota,orusrquota option listed in the /etc/fstab file. On most ...