NAME | SYNOPSIS | DESCRIPTION | OPTIONS | DIAGNOSTICS | FILES | SEE ALSO | COLOPHON

QUOTASYNC(1)               General Commands Manual              QUOTASYNC(1)

NAME         top

       quotasync  -  synchronize  in-kernel  file system usage and limits to
       disk format

SYNOPSIS         top

       quotasync [ -ugP ] mount-point...
       quotasync [ -ugP ] -a
       quotasync -h | -V

DESCRIPTION         top

       quotasync flushes file system usage and limits from kernel memory to
       quota files stored in the file system. By default only the user
       quotas are synchronized.
       This tool can be useful if you want to display accurate quotas by
       tools that parse quota files, like repquota(8).

OPTIONS         top

       -u, --user
              Synchronize user usage and limits.
       -g, --group
              Synchronize group usage and limits.
       -P, --project
              Synchronize project usage and limits.
       -a, --all
              Synchronize usage and limits on all file systems. You have to
              specify this option or to specify desired file systems.
       -V, --version
              Show program version information and exit.
       -h, --help
              Show program usage and exit.

DIAGNOSTICS         top

       If requested synchronization fails, or invalid option is given,
       quotasync will terminate with non-zero exit code. Otherwise it will
       return zero.

FILES         top

       aquota.user  or  aquota.group
                       Quota file at the file system root (version 2 quota,
                       non-XFS/GFS2 file systems).
       quota.user  or  quota.group
                       Quota file at the file system root (version 1 quota,
                       non-XFS/GFS2 file systems).
       /etc/mtab       List of mounted file systems maintained by user
                       space.
       /proc/mounts    List of mounted file systems maintained by kernel.

SEE ALSO         top

       quota(1), quotactl(2), mount(8), quotacheck(8), quotaon(8),
       repquota(8), warnquota(8).

COLOPHON         top

       This page is part of the quota (Linux Diskquota Tools) project.
       Information about the project can be found at [unknown -- if you
       know, please contact man-pages@man7.org] It is not known how to
       report bugs for this man page; if you know, please send a mail to
       man-pages@man7.org.  This page was obtained from the project's
       upstream Git repository 
       ⟨git://git.kernel.org/pub/scm/utils/quota/quota-tools.git⟩ on
       2017-07-05.  If you discover any rendering problems in this HTML ver‐
       sion of the page, or you believe there is a better or more up-to-date
       source for the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original man‐
       ual page), send a mail to man-pages@man7.org
                                                                QUOTASYNC(1)