1quotacheck(1M) System Administration Commands quotacheck(1M)
2
3
4
6 quotacheck - ufs file system quota consistency checker
7
9 quotacheck [-fp] [-v] filesystem...
10
11
12 quotacheck -a [-fpv]
13
14
16 quotacheck examines each mounted ufs file system, builds a table of
17 current disk usage, and compares this table against the information
18 stored in the file system's disk quota file. If any inconsistencies are
19 detected, both the quota file and the current system copy of the incor‐
20 rect quotas are updated.
21
22
23 filesystem is either a file system mount point or the block device on
24 which the file system resides.
25
26
27 quotacheck expects each file system to be checked to have a quota file
28 named quotas in the root directory. If none is present, quotacheck will
29 not check the file system.
30
31
32 quotacheck accesses the character special device in calculating the
33 actual disk usage for each user. Thus, the file systems that are
34 checked should be quiescent while quotacheck is running.
35
37 The following options are supported:
38
39 -a Check the file systems which /etc/mnttab indicates are ufs file
40 systems. These file systems must be read-write mounted with
41 disk quotas enabled, and have an rq entry in the mntopts field in
42 /etc/vfstab.
43
44
45 -f Force check on file systems with logging enabled. Use in combina‐
46 tion with the -p option.
47
48
49 -p Check quotas of file systems in parallel. For file systems with
50 logging enabled, no check is performed unless the -f option is
51 also specified.
52
53
54 -v Indicate the calculated disk quotas for each user on a particular
55 file system. quotacheck normally reports only those quotas modi‐
56 fied.
57
58
60 See largefile(5) for the description of the behavior of quotacheck when
61 encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
62
64 /etc/mnttab Mounted file systems
65
66
67 /etc/vfstab List of default parameters for each file system
68
69
71 See attributes(5) for descriptions of the following attributes:
72
73
74
75
76 ┌─────────────────────────────┬─────────────────────────────┐
77 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
78 ├─────────────────────────────┼─────────────────────────────┤
79 │Availability │SUNWcsu │
80 └─────────────────────────────┴─────────────────────────────┘
81
83 edquota(1M), quota(1M), quotaon(1M), repquota(1M), attributes(5),
84 largefile(5), quotactl(7I), mount_ufs(1M)
85
86
87
88SunOS 5.11 31 Jul 1998 quotacheck(1M)