Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

quotacheck

Synopsis

quotacheck [options] [filesystems]

System administration command. Audit and correct quota information by building a table of current disk usage and comparing it to the recorded usage in both the kernel and the quota files. quotacheck will update quota information when possible and prompt the user if it requires input. Most systems that support 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, --all

Check all non-NFS filestystems in /etc/mtab.

-b, --backup

Back up quota files before writing new data to them.

-c, --create-files

Skip reading existing quota information; just write new files.

-f, --force

Force checking on filesystems with quotas currently enabled.

-Fformat , --format=format

Check quota files for the specified format. (See quota for valid formats.)

-g, --group

Only check group quotas.

-i, --interactive

Prompt user for input upon finding errors.

-m, --no-remount

Don’t try to remount mounted filesystems.

-M, --try-remount

Force check to run in read-write mode if it cannot successfully remount the filesystem in read-only mode.

-n, --use-first-dquot

If multiple entries for a user or group are found in a corrupt quota file, use the first entry found.

-R, --exclude-root

Don’t check the root filesystem when using the -a option.

-u, --user

Only check user quotas. This is the default. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page