QUOTASYNC(1) General Commands Manual QUOTASYNC(1)NAME
quotasync - synchronize in-kernel file system usage and limits to disk format
SYNOPSIS
quotasync [ -ug ] mount-point...
quotasync [ -ug ] -a
quotasync -h | -V
DESCRIPTION
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 -u, --user
Synchronize user usage and limits.
-g, --group
Synchronize group 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
If requested synchronization fails, or invalid option is given, quotasync will terminate with non-zero exit code. Otherwise it will return
zero.
FILES
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 quota(1), quotactl(2), mount(8), quotacheck(8), quotaon(8), repquota(8), warnquota(8).
QUOTASYNC(1)
Check Out this Related Man Page
REPQUOTA(8) System Manager's Manual REPQUOTA(8)NAME
repquota - summarize quotas for a filesystem
SYNOPSIS
/usr/sbin/repquota [ -vsug ] [ -t | -n ] [ -F format-name ] filesystem...
/usr/sbin/repquota [ -avtsug ] [ -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).
OPTIONS -a Report on all filesystems indicated in /etc/mtab to be read-write with quotas.
-v Report all quotas, even if there is no usage. Be also more verbose about quotafile information.
-t Truncate user/group names longer than 9 characters. This results in nicer output when there are such names.
-n Don't resolve UIDs/GIDs to names. This can speedup printing a lot.
-s Try to report used space, number of used inodes and limits in more appropriate units than default ones.
-F 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), rpc (quota over NFS), xfs (quota on XFS filesystem)
-g Report quotas for groups.
-u 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)4th Berkeley DistributionREPQUOTA(8)
Dear Group,
I am not much used to UNIX. The company I am hosting wiht refuses to help me with this trouble, but as near as I can see, it is NOT my trouble.
I have had this service for over a year. I just renewed for another year and all of a sudden the disk quota has been disappearing. I... (3 Replies)
I'm new to Unix and I'm trying to determin how much space I have on this system. the box is dedicated to Oracle and I log in as the oracle user and type quota. It retrunes nothing. Then I log on as root and type quota -v oracle.. It returns nothing! Gosh this is actually a solaris 5.7 box. ... (1 Reply)
Hi ,..
I am working on a script like....
it has to monitor the disk usage (df -H) and if usage is above 95% then it has to return the particular mount point details...
i am in confusion to use awk or sed.....
regards
rrs (1 Reply)
Hi all!
I'm a user of Debian Etch. I've problem with my accoun't quota. After I removed all of my files from my home directory, and typed:
du -hs
It showed me:
76K .
But when I used quota command, it showed me:
Disk quotas for user X (uid *********):
Filesystem blocks quota ... (2 Replies)
Hi all,
I am new to Unix admin. Can anyone tell me how to set disk quota for the users in /export/home directory? Pls specify the exact command. Thanks (1 Reply)
Hi everyone
I'm really new to all this but i need help creating a script that will produce the following for each user when they log on using bash
You are currently using 91% of your quota
Consider reducing your usage
The 10 biggest directories in your home directory are:
Size Directory... (2 Replies)
How can i put quota on a directory in Linux ( /data ) my file systems are not mounted with quota option and i cannot reboot the system also. I read somewhere to do this via linux virtual file system .. just wanted to have
opinion on it. (1 Reply)
hello..
My task now is to set memory limits to users in a linux system. I found out two ways, one is using disk quotas and the other is using PAM. But my question here is what is the difference between these two. We have 'memlock' in PAM and we can set limits using quota also. Are they both... (2 Replies)
I have setup a group quota for better disk usage.
What i am doing is to setup a quota with Samba share. I created user1,user2 and group project1 which belongs to /home/project1 dir. Quota is implemented on project1 group to write 100 MB on this share and This is working fine if a user1 and user2... (3 Replies)
I have written a C++ program to perform raytracing and would want to write some functions to help the user: examples, usage, help
I am wondering how this is done. Would I just put some functions in the main program? (4 Replies)