| 1 |
.TH QUOTASYNC 1 |
| 2 |
.SH NAME |
| 3 |
quotasync \- synchronize in-kernel file system usage and limits to disk format |
| 4 |
.SH SYNOPSIS |
| 5 |
.B quotasync |
| 6 |
[ |
| 7 |
.B -ugP |
| 8 |
] |
| 9 |
.IR mount-point ... |
| 10 |
.br |
| 11 |
.B quotasync |
| 12 |
[ |
| 13 |
.B -ugP |
| 14 |
] |
| 15 |
.B -a |
| 16 |
.br |
| 17 |
.B quotasync |
| 18 |
.B -h |
| 19 |
| |
| 20 |
.B -V |
| 21 |
.SH DESCRIPTION |
| 22 |
.B quotasync |
| 23 |
flushes file system usage and limits from kernel memory to quota files stored |
| 24 |
in the file system. By default only the user quotas are synchronized. |
| 25 |
.P |
| 26 |
This tool can be useful if you want to display accurate quotas by tools that |
| 27 |
parse quota files, like |
| 28 |
.BR repquota (8). |
| 29 |
.SH OPTIONS |
| 30 |
.TP |
| 31 |
.B -u, --user |
| 32 |
Synchronize user usage and limits. |
| 33 |
.TP |
| 34 |
.B -g, --group |
| 35 |
Synchronize group usage and limits. |
| 36 |
.TP |
| 37 |
.B -P, --project |
| 38 |
Synchronize project usage and limits. |
| 39 |
.TP |
| 40 |
.B -a, --all |
| 41 |
Synchronize usage and limits on all file systems. You have to specify this |
| 42 |
option or to specify desired file systems. |
| 43 |
.TP |
| 44 |
.B -V, --version |
| 45 |
Show program version information and exit. |
| 46 |
.TP |
| 47 |
.B -h, --help |
| 48 |
Show program usage and exit. |
| 49 |
.SH DIAGNOSTICS |
| 50 |
If requested synchronization fails, or invalid option is given, |
| 51 |
.B quotasync |
| 52 |
will terminate with non-zero exit code. Otherwise it will return zero. |
| 53 |
.SH FILES |
| 54 |
.PD 0 |
| 55 |
.TP 16 |
| 56 |
.B aquota.user " or " aquota.group |
| 57 |
Quota file at the file system root (version 2 quota, non-XFS/GFS2 file systems). |
| 58 |
.TP 16 |
| 59 |
.B quota.user " or " quota.group |
| 60 |
Quota file at the file system root (version 1 quota, non-XFS/GFS2 file systems). |
| 61 |
.TP 16 |
| 62 |
.B /etc/mtab |
| 63 |
List of mounted file systems maintained by user space. |
| 64 |
.TP 16 |
| 65 |
.B /proc/mounts |
| 66 |
List of mounted file systems maintained by kernel. |
| 67 |
.PD |
| 68 |
.SH SEE ALSO |
| 69 |
.BR quota (1), |
| 70 |
.BR quotactl (2), |
| 71 |
.BR mount (8), |
| 72 |
.BR quotacheck (8), |
| 73 |
.BR quotaon (8), |
| 74 |
.BR repquota (8), |
| 75 |
.BR warnquota (8). |