mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-09 08:15:41 +02:00
quotacheck: add page (#1002)
This commit is contained in:
parent
d049860773
commit
c5bd622d7b
1 changed files with 28 additions and 0 deletions
28
pages/linux/quotacheck.md
Normal file
28
pages/linux/quotacheck.md
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# quotacheck
|
||||||
|
|
||||||
|
> Scan a filesystem for disk usage; create, check and repair quota files.
|
||||||
|
> It is best to run quota check with quotas turned off to prevent damage or loss to quota files.
|
||||||
|
|
||||||
|
- Check all mounted non-NFS filesystems:
|
||||||
|
|
||||||
|
`sudo quotacheck --all`
|
||||||
|
|
||||||
|
- Force check even if quotas are enabled:
|
||||||
|
|
||||||
|
`sudo quotacheck --force {{mountpoint}}`
|
||||||
|
|
||||||
|
- Check quotas on a given filesystem in debug mode:
|
||||||
|
|
||||||
|
`sudo quotacheck --debug {{mountpoint}}`
|
||||||
|
|
||||||
|
- Report progress as quotacheck progresses:
|
||||||
|
|
||||||
|
`sudo quotacheck --verbose {{mountpoint}}`
|
||||||
|
|
||||||
|
- Check user quotas:
|
||||||
|
|
||||||
|
`sudo quotacheck --user {{user}} {{mountpoint}}`
|
||||||
|
|
||||||
|
- Check group quotas:
|
||||||
|
|
||||||
|
`sudo quotacheck --group {{group}} {{mountpoint}}`
|
Loading…
Add table
Reference in a new issue