09-04-2003
Thank for you reply
Why the message came out ..>?
Bad number of arguments.
Utility for checking and repairing quota files.
quotacheck [-gucfinvdmMR] [-F <quota-format>] filesystem|-a
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
how can I check mail quota, and then how can I send mail to user whose quota get full??? :confused:
For this which script must I use? (8 Replies)
Discussion started by: emreatlier
8 Replies
2. UNIX for Advanced & Expert Users
Hi Guru,
Need some advice on the PROs and CONs between setting up user quota with NAS and Nis.
Thanks
Regards. YLL (1 Reply)
Discussion started by: yll
1 Replies
3. Solaris
Hi all,
Is it possible to set a quota on subfolders? I understand it can be set on file system level, how bout on individual folders?
Thanks. (1 Reply)
Discussion started by: *Jess*
1 Replies
4. UNIX for Dummies Questions & Answers
hi!
i would like to enable user quota on my system (FreeBSD 6.2)
i've check on enabling user quota here but i still confuse with fstab
it shows there:
/dev/da1s2g /home ufs rw,userquota 1 2
but my current /etc/fstab :
# Device Mountpoint FStype Options ... (1 Reply)
Discussion started by: rdns
1 Replies
5. Red Hat
Hi,
I want to apply the user quota, but i am unable to apply the quota to user.
Kindly provide the guide line, so that i can sortout the problem.
Step 1: Create partion on device
#fdisk /dev/sda (because hard disk is scsi)
#n (new partition table) i.e /dev/sda8.
#p ( to print the partition... (2 Replies)
Discussion started by: sahu.tapan
2 Replies
6. Red Hat
Hi guys,
I know that we can set quota limit for an OS user on a filesystem.
But I have a different objective to achieve -
can we set a limit on a folder on a filesystem.
Let use I have a 'apps' folder in some filesystem. Disc space occupied by 'apps' should not be more that 5GB.
... (3 Replies)
Discussion started by: jredx
3 Replies
7. UNIX for Advanced & Expert Users
Whats the best method of setting lvm user quota? I saw both of these and I am not sure which to use.
Linux File System Quotas
Howtos Linux-Vserver With LVM And Quotas - 5dollarwhitebox.org Media Wiki (1 Reply)
Discussion started by: cokedude
1 Replies
8. Red Hat
Hi,
I would like to know wheather we can increase the quota for particular user automatically?
I am having requirement to increase the quota only for 2 days in a week. but that shoule be automatically instead of manualy modification.
is it possible? (3 Replies)
Discussion started by: manoj.solaris
3 Replies
9. Shell Programming and Scripting
How the User Quota query from an SSH access to Linux Shell. (5 Replies)
Discussion started by: Linuxmann
5 Replies
10. UNIX for Beginners Questions & Answers
hi all,
i have installed quota on my centos 7 machine and its what im after (setting size limit on users, so they cant fill the hard drive)
i want to now make this part of my create user script for my sftp server so i want to do a echo and a read command so i capture the limit they enter... (0 Replies)
Discussion started by: robertkwild
0 Replies
LEARN ABOUT X11R4
quotacheck
quotacheck(1M) System Administration Commands quotacheck(1M)
NAME
quotacheck - ufs file system quota consistency checker
SYNOPSIS
quotacheck [-fp] [-v] filesystem...
quotacheck -a [-fpv]
DESCRIPTION
quotacheck examines each mounted ufs file system, builds a table of current disk usage, and compares this table against the information
stored in the file system's disk quota file. If any inconsistencies are detected, both the quota file and the current system copy of the
incorrect quotas are updated.
filesystem is either a file system mount point or the block device on which the file system resides.
quotacheck expects each file system to be checked to have a quota file named quotas in the root directory. If none is present, quotacheck
will not check the file system.
quotacheck accesses the character special device in calculating the actual disk usage for each user. Thus, the file systems that are
checked should be quiescent while quotacheck is running.
OPTIONS
The following options are supported:
-a Check the file systems which /etc/mnttab indicates are ufs file systems. These file systems must be read-write mounted with disk
quotas enabled, and have an rq entry in the mntopts field in /etc/vfstab.
-f Force check on file systems with logging enabled. Use in combination with the -p option.
-p Check quotas of file systems in parallel. For file systems with logging enabled, no check is performed unless the -f option is
also specified.
-v Indicate the calculated disk quotas for each user on a particular file system. quotacheck normally reports only those quotas modi-
fied.
USAGE
See largefile(5) for the description of the behavior of quotacheck when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
FILES
/etc/mnttab Mounted file systems
/etc/vfstab List of default parameters for each file system
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
edquota(1M), quota(1M), quotaon(1M), repquota(1M), attributes(5), largefile(5), quotactl(7I), mount_ufs(1M)
SunOS 5.10 31 Jul 1998 quotacheck(1M)