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

quotacheck(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

quotacheck — file system quota consistency checker

SYNOPSIS

/usr/sbin/quotacheck [-F FStype] [-V] [-o specific-options] filesystem ...

/usr/sbin/quotacheck [-F FStype] [-V] [-o specific-options] -a

DESCRIPTION

The quotacheck command examines each file system, builds a table of current disk usage, and compares this table against that stored in the disk quota file for the file system. If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are updated.

quotacheck expects each file system to be checked to have a file named quotas in the root directory. If none is present, quotacheck reports an error and ignores the file system. quotacheck is normally run at mount time from start-up scripts.

filesystem represents a mount point or block special device such as /dev/dsk/c1t0d2.

Options

quotacheck recognizes the following options:

-F Fstype

Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option is not included on the command line, then the file system type is determined from the file /etc/fstab by matching filesystem with an entry in that file. If there is no entry in /etc/fstab, then the file system type is determined from the file /etc/default/fs.

-V

Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from /etc/fstab. This option allows the user to verify the command line.

-o specific-options

Specify options specific to each file system type. specific-options is a list of suboptions and/or keyword/attribute pairs intended for a FStype-specific module of the command. See the file system specific man pages for a description of the specific-options supported, if any.

-a

Obtain list of file systems to check from /etc/fstab. Only mounted rw (or default) type file systems with the quota option are checked.

EXTERNAL INFLUENCES

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, quotacheck 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.

AUTHOR

quotacheck was developed by HP and the University of California, Berkeley.

FILES

/etc/default/fs

Specifies the default file system type

/etc/fstab

Default list of file systems to check

/etc/mnttab

Mounted file system table

directory/quotas

Quota statistics static storage for file system where directory is the file system root as specified to the mount command (see mount(1M)).

SEE ALSO

fs_wrapper(5), mount(1M), quota(5), quotacheck_hfs(1M), quotacheck_vxfs(1M).

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