Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

repquota(8) [suse man page]

REPQUOTA(8)						      System Manager's Manual						       REPQUOTA(8)

NAME
repquota - summarize quotas for a filesystem SYNOPSIS
/usr/sbin/repquota [ -vspiug ] [ -c | -C ] [ -t | -n ] [ -F format-name ] filesystem... /usr/sbin/repquota [ -avtpsiug ] [ -c | -C ] [ -t | -n ] [ -F format-name ] DESCRIPTION
repquota prints a summary of the disc usage and quotas for the specified file systems. For each user the current number of files and amount of space (in kilobytes) is printed, along with any quotas created with edquota(8). As repquota has to translate ids of all users/groups to names (unless option -n was specified) it may take a while to print all the information. To make translating as fast as possible repquota tries to detect (by reading /etc/nsswitch.conf) whether entries are stored in standard plain text file or in database and either translates chunks of 1024 names or each name individually. You can override this autodetection by -c or -C options. OPTIONS
-a, --all Report on all filesystems indicated in /etc/mtab to be read-write with quotas. -v, --verbose Report all quotas, even if there is no usage. Be also more verbose about quotafile information. -c, --batch-translation Cache entries to report and translate uids/gids to names in big chunks by scanning all users (default). This is good (fast) behav- iour when using /etc/passwd file. -C, --no-batch-translation Translate individual entries. This is faster when you have users stored in database. -t, --truncate-names Truncate user/group names longer than 9 characters. This results in nicer output when there are such names. -n, --no-names Don't resolve UIDs/GIDs to names. This can speedup printing a lot. -s, --human-readable Try to report used space, number of used inodes and limits in more appropriate units than the default ones. -p, --raw-grace When user is in grace period, report time in seconds since epoch when his grace time runs out (or has run out). Field is '0' when no grace time is in effect. This is especially useful when parsing output by a script. -i, --no-autofs Ignore mountpoints mounted by automounter. -F, --format=format-name Report quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), xfs (quota on XFS filesystem) -g, --group Report quotas for groups. -u, --user Report quotas for users. This is the default. Only the super-user may view quotas which are not their own. FILES
aquota.user or aquota.group quota file at the filesystem root (version 2 quota, non-XFS filesystems) quota.user or quota.group quota file at the filesystem root (version 1 quota, non-XFS filesystems) /etc/mtab default filesystems /etc/passwd default set of users /etc/group default set of groups SEE ALSO
quota(1), quotactl(2), edquota(8), quotacheck(8), quotaon(8), quota_nld(8), setquota(8), warnquota(8) 4th Berkeley Distribution REPQUOTA(8)

Check Out this Related Man Page

QUOTAON(8)						      System Manager's Manual							QUOTAON(8)

NAME
quotaon, quotaoff - turn filesystem quotas on and off SYNOPSIS
/sbin/quotaon [ -vugfp ] [ -F format-name ] filesystem... /sbin/quotaon [ -avugfp ] [ -F format-name ] /sbin/quotaoff [ -vugp ] [ -x state ] filesystem... /sbin/quotaoff [ -avugp ] DESCRIPTION
quotaon quotaon announces to the system that disk quotas should be enabled on one or more filesystems. The filesystem quota files must be present in the root directory of the specified filesystem and be named either aquota.user (for version 2 user quota), quota.user (for version 1 user quota), aquota.group (for version 2 group quota), or quota.group (for version 1 group quota). XFS filesystems are a special case - XFS considers quota information as filesystem metadata and uses journaling to provide a higher level guarantee of consistency. There are two components to the XFS disk quota system: accounting and limit enforcement. XFS filesystems require that quota accounting be turned on at mount time. It is possible to enable and disable limit enforcement on an XFS filesystem after quota accounting is already turned on. The default is to turn on both accounting and enforcement. The XFS quota implementation does not maintain quota information in user-visible files, but rather stores this information internally. quotaoff quotaoff announces to the system that the specified filesystems should have any disk quotas turned off. OPTIONS
quotaon -F, --format=format-name Report quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), xfs (quota on XFS filesystem) -a, --all All automatically mounted (no noauto option) non-NFS filesystems in /etc/fstab with quotas will have their quotas turned on. This is normally used at boot time to enable quotas. -v, --verbose Display a message for each filesystem where quotas are turned on. -u, --user Manipulate user quotas. This is the default. -g, --group Manipulate group quotas. -p, --print-state Instead of turning quotas on just print state of quotas (ie. whether. quota is on or off) -f, --off Make quotaon behave like being called as quotaoff. quotaoff -F, --format=format-name Report quota for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota), vfsv0 (version 2 quota), xfs (quota on XFS filesystem) -a, --all Force all filesystems in /etc/fstab to have their quotas disabled. -v, --verbose Display a message for each filesystem affected. -u, --user Manipulate user quotas. This is the default. -g, --group Manipulate group quotas. -p, --print-state Instead of turning quotas off just print state of quotas (ie. whether. quota is on or off) -x, --xfs-command delete Free up the space used to hold quota information (maintained internally) within XFS. This option is only applicable to XFS, and is silently ignored for other filesystem types. It can only be used on a filesystem with quota previously turned off. -x, --xfs-command enforce Switch on/off limit enforcement for XFS filesystems (perform quota accounting only). This option is only applicable to XFS, and is silently ignored for other filesystem types. NOTES ON XFS FILESYSTEMS
To enable quotas on an XFS filesystem, use mount(8) or /etc/fstab quota option to enable both accounting and limit enforcement. quotaon utility cannot be used for this purpose. Turning on quotas on an XFS root filesystem requires the quota mount options be passed into the kernel at boot time through the Linux root- flags boot option. To turn off quota limit enforcement on any XFS filesystem, first make sure that quota accounting and enforcement are both turned on using repquota -v filesystem. Then, use quotaoff -v filesystem to disable limit enforcement. This may be done while the filesystem is mounted. Turning on quota limit enforcement on an XFS filesystem is achieved using quotaon -v filesystem. This may be done while the filesystem is mounted. FILES
aquota.user or aquota.group quota file at the filesystem root (version 2 quota, non-XFS filesystems) quota.user or quota.group quota file at the filesystem root (version 1 quota, non-XFS filesystems) /etc/fstab default filesystems SEE ALSO
quotactl(2), fstab(5), quota_nld(8), repquota(8), warnquota(8) 4th Berkeley Distribution QUOTAON(8)
Man Page